insert into oac_file values('',GETDATE(),'')
sql 有没有一个函数来判断 是不是执行了?
update oea_file set oea21='' where oea51 in (select oea51 from oea_file where oea51='a124820007968')
and oea10='昆山仓库' and (oea02='在库' or oea02='待收货') and (insert into oac_file values('',GETDATE(),''))
如果 insert 成功 猜 update
临摹微笑
相关分类