数据库update容易错

上一篇 / 下一篇  2020-11-17 17:55:47 / 个人分类:数据库


同时update多个值
正确的:
UPDATE tr_order_delivery set delivery_status ='3' ,barcode = NULL where delivery_no = 20201014103501680690;
错误的:
UPDATE tr_order_delivery set delivery_status ='3' and barcode = NULL where delivery_no = 20201014103501680690;


TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

Open Toolbar