VincentMartin
Programmer
Hi Folks,
I'm not a SQL guru: my problem is as follows:
I'll be drawing down a table of (let's say customers) from a legacy system. The table contains five free-text address fields, any of which may contain the state name. I have a separate State table, and would like to compare each StateName in the State table with each of the 5 address fields in the Customers table, and then enter the state, if found, into an appended column in the Customers table.
I'm stumped on this, and would appreciate any help,
Thanks in advance,
Vincent
I'm not a SQL guru: my problem is as follows:
I'll be drawing down a table of (let's say customers) from a legacy system. The table contains five free-text address fields, any of which may contain the state name. I have a separate State table, and would like to compare each StateName in the State table with each of the 5 address fields in the Customers table, and then enter the state, if found, into an appended column in the Customers table.
I'm stumped on this, and would appreciate any help,
Thanks in advance,
Vincent