oracle中在pl/sql developer修改表的2種方法,需要的朋友可以參考一下
一、方式一
select * from student for update
student表需要操作人修改完commit之后才可以做其他的操作,否則該表會(huì)被鎖住。
二、方式二
select t.*,t.rowid from student t
在pl/sql developer中右擊某表,顯示的就是該語(yǔ)句,這樣做不會(huì)將該表鎖住。
想修改某幾個(gè)字段也沒(méi)有問(wèn)題select num,name,t.rowid from student t。
? 版權(quán)聲明
文章版權(quán)歸作者所有,未經(jīng)允許請(qǐng)勿轉(zhuǎn)載。
THE END