Reputation: 13
I'm wondering if there's a way to use
update your_table
set B = A
But I'd like to add some numbers at the front
So it's more like
update your_table
set B = ('00',A)
Upvotes: 1
Views: 137
Reputation: 3446
This represents bad relational data storage practice. Rather than duplicating data which may result in headaches later (you now need to update two columns to change one set of data) you should concatenate the results upon retrieval.
Upvotes: 0