MySQL Forums
Forum List  »  Quality Assurance

Re: How to insert a word in front of all row fields in a specific table column
Posted by: Scott Nemes
Date: June 13, 2012 11:25AM

update table set column5 = concat("something ",column5);

If you are adding the same string in front of every value I'd question the need to have it there, but the above statement will get you what you are asking for anyway. =)

--
Scott Nemes
MySQL DBA

http://www.linkedin.com/in/scottnemes
http://www.twitter.com/ScottNemes

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: How to insert a word in front of all row fields in a specific table column
1713
June 13, 2012 11:25AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.