db2 delete 和with as一起用的错误,万分感谢
db2吧
全部回复
仅看楼主
level 1
lilyac 楼主
我用with temp(id) as(select id from a) select id from temp是没问题的,但是这样with temp(id) as(select id from a) delete from b where id in( select id from temp)就报104非法符号错误码,求解……
2014年10月30日 09点10分 1
level 11
没试过,改天试试
2014年11月06日 11点11分 2
level 1
with as 后面只能跟select ,要写在delete的逻辑关系里面。
2019年02月11日 10点02分 3
1