2 技术要点 ORACLE系统表中,有一张视图,记录所有可以更新和不可以更新的视图(和数据表):User_Updateable_Columns 该视图字段如下: Name Type Nullable Default Comments ----------- ------------ -------- ------- --------------- OWNER VARCHAR2(30) Table owner TABLE_NAME VARCHAR2(30) Table name COLUMN_NAME VARCHAR2(30) Column name UPDATABLE VARCHAR2(3) Y Is the column updatable? INSERTABLE VARCHAR2(3) Y Is the column insertable? DELETABLE VARCHAR2(3) Y Is the column deletable?
使用Select * From user_Updateable_Columns Where Table_name=Upper('YourViewname') 即可查询视图中哪些字段是答应更新的