FYI: I'm using MS SQL 2000 & I'm a noob... (well at least it feels like it) 
Step 1:
How do I select only zip code records that fall within 0-9 character set (there are international zipcodes in the data) and trim the them to 5 characters in length? e.g. turn 12345-1234 into 12345
Step 2:
What's the best way to use the results from step 1 in a where clause on data from another table? (note: the second table has no key values)
Thanks for the thoughts :0)
Step 1:
How do I select only zip code records that fall within 0-9 character set (there are international zipcodes in the data) and trim the them to 5 characters in length? e.g. turn 12345-1234 into 12345
Step 2:
What's the best way to use the results from step 1 in a where clause on data from another table? (note: the second table has no key values)
Code:
psudo code...
select col_1, col_2 from table1
where zipcode = 'results from step 1'
Thanks for the thoughts :0)