I need to group our customers by a territory via their zip code.
I have a customer table with their zip code in a seperate column. Its a text data type because of Canada and Europe.
I have the territory table with territory number, states and zip code range.
The zip code range came to me as 039-049 (Maine) and I put 03900 in one column (lower zip code) and 04999 in another column (upper zip code).
The range does vary by state and area. Eastern Penn is 16900 thru 19699.
I am a little (alot?) stumped about how to match the company name and territory.
I appreciate any suggestions.
Thanks,
Mark