Home Forums SQL Server 7,2000 T-SQL Importing Zip Codes RE: Importing Zip Codes
jxflagg
Hall of Fame
Points: 3817
More actions
December 16, 2003 at 1:59 pm
#486521
Insert into Zip
Select ZIP, City, County, State
From ZIP_CODE_IMPORT
Where ID Not in (
Select ID
From ZIP_CODE_IMPORT a,
Zip b
Where a.Zip = b.Zip
And a.City = b.City
And a.Country = b.Country
And a.State = b.State
)