Oracle中在pl/sql developer修改表的2種方法
更新時間:2013年03月04日 14:31:54 作者:
Oracle中在pl/sql developer修改表的2種方法,需要的朋友可以參考一下
一、方式一
select * from student for update
student表需要操作人修改完commit之后才可以做其他的操作,否則該表會被鎖住。
二、方式二
select t.*,t.rowid from student t
在pl/sql developer中右擊某表,顯示的就是該語句,這樣做不會將該表鎖住。
想修改某幾個字段也沒有問題select num,name,t.rowid from student t。
相關(guān)文章
ORA-02298: 無法驗證 (約束)提示未找到父項關(guān)鍵字的解決辦法
這篇文章主要介紹了ORA-02298: 無法驗證 (約束)提示未找到父項關(guān)鍵字的解決辦法,本文介紹的非常詳細,具有參考借鑒價值,需要的朋友可以參考下2016-09-09

