I have a column that contains city, state zip data. I need to place city and state in one column and zip in another. The field is 25 characters in length and obviously, the city varies in length within the field. I am using Transact SQL in SQL Server 2000 Query Analyzer. Any suggestions?
Examples:
current setup:
CityStateZip
ANYTOWN, NY 11123
desired result:
CityState Zip
ANYTOWN, NY 11123
Examples:
current setup:
CityStateZip
ANYTOWN, NY 11123
desired result:
CityState Zip
ANYTOWN, NY 11123