oracle和sqlServer执行update select区别

sqlServer执行的格式

update a set a.first = b.pid from tableA a,tableB b where b.catid = a.second

oracle执行的格式

update tableA a set level3 = (select pid from tableB b f where b.catid =a.catid)

猜你喜欢

转载自minghe-zy.iteye.com/blog/1654529