trasaction表描述字段有一些值,它工作正常.
说明feild默认值为NULL,它不起作用..

update transaction set domain='hiox.com',description=CONACT(description,',domain swapped from hioxindia.com to hiox.com') where id=23602

帮我..
最佳答案
使用ifnull():

update `transaction` 
   set domain='hiox.com',description=CONCAT(ifnull(description,''),domain swapped from hioxindia.com to hiox.com') 
where id=23602

Documentation

dawei