DB2 SQL 多字段更新 语句

来源:互联网 发布:算法导论第四章思考题 编辑:程序博客网 时间:2024/05/29 19:49

没有废话,直接上代码:

语法如下:
update T_Table set(字段A,字段B)=('value_a','value_b')  where id='123456789';


举例:
update T_ANA_VISIT_PATH_INFO  set (deal_status,status)=('1','2')  where trandate='20170901141425'
原创粉丝点击