这样的脚本咋写?select * from (update t set a=1)
这样的脚本咋写?select * from (update t set a=1)我不记得在什么地方看到过类似于这样的脚本。
具体是怎么个写法来着?谁知道? 我又看到了。告诉大家一下。
select aaa,bbbfrom new table ( update test.jjj set aaa='1' ) update test.jjj set aaa='1';
select aaa,bbbfrom test.jjj?
这个意思? 说说看希望得到什么结果然后才能联想到应该怎么写吧 楼主希望一个子查询? select aaa,bbbfrom new table ( update test.jjj set aaa='1' )
查询所有更新的行。
回复 #2 kelaisile 的帖子
有趣还没这么用过 这条语句执行后还是会更新表test.jjj,有没有什么办法只是看看更新后的结果,而不实际更新表test.jjj
页:
[1]