I have a table with the following columns, City, State, Zip, and Zone.
I want to update Zone with City – State – Zip with hyphens.
Is there a way to do this in SQL without grabbing all the records and iterating through the results and doing an update statement for each one?
Note if the datatypes are different you might need to do something like