ahua_huang 发表于 2010-3-4 23:21:15

求救,怎么在SQL数据库"字段"中追加数据,但不覆盖原有数据!

如: 数据库名:sdu表名:qclass字段:his
原有his字段内容是 "good class"现在想把内容" every body"写入此字段 ,
写入后,内容显示"good class every body"怎样实现呢?

kider 发表于 2010-3-5 10:22:48

供参考:
update qclass set his=concat(his,' every body') where ...

piao.xiong 发表于 2010-9-13 16:50:41

使用contact函数解决!
页: [1]
查看完整版本: 求救,怎么在SQL数据库"字段"中追加数据,但不覆盖原有数据!