update MGR.DRAFT set qty = '330' where (select * from MGR.DRAFT where unit = '6' and group = 'TT' and loc = 'ciu' and qty = '230.8315625')
此查询将引发错误:SQL错误:ORA-00936:缺失表达式
5fjcxozz1#
update MGR.DRAFT set qty= '330' where unit='6' and group='TT' and loc='ciu' and qty='230.8315625'
9nvpjoqh2#
SQL错误:ORA-00936:missing expression当您缺少某些表达式时会出现此错误。添加此代码:
UPDATE MGR.DRAFT SET qty = '330' WHERE EXISTS ( SELECT * FROM MGR.DRAFT WHERE unit = '6' AND group = 'TT' AND loc = 'ciu' AND qty = '230.8315625' );
我希望这将为您工作!!
2条答案
按热度按时间5fjcxozz1#
9nvpjoqh2#
SQL错误:ORA-00936:missing expression当您缺少某些表达式时会出现此错误。
添加此代码:
我希望这将为您工作!!