mysql - Update a record in SQL but not overwrite....add text at the start -



mysql - Update a record in SQL but not overwrite....add text at the start -

please how can update table text?

example: have text "said hello" , want create "peter said hello" - want add together word peter...

understand?

thanks much.

try :

update table_name set field = concat('peter ',field) condition;

mysql sql sql-update

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -