读书人

数据库某字段更新累加新值

发布时间: 2012-08-08 14:32:45 作者: rapoo

数据库某字段更新追加新值
oracle

 update user_log  u       -- u为表别名 set  u.describe=u.describe || + '123' --修改对应字段值




mysql

update 表 set 字段=concat(字段,'aaaa') where 字段=条件  

读书人网 >其他数据库

热点推荐