这是Oracle官方的解释: ALL_TAB_COLUMNS describes the columns of the tables, views, and clusters accessible to the current user. 从解释中可以看出ALL_TAB_COLUMNS中只列出了当前用户可以访问的表、视图和簇中的列。
SELECT * FROM USER_TABLES; SELECT * FROM ALL_TABLES;grant select on [table_name] to [user_name];SELECT * FROM USER_TABLES; SELECT * FROM ALL_TABLES;你试试就知道了!
一般只能看到User_tab_columns
ALL_TAB_COLUMNS describes the columns of the tables, views, and clusters accessible to the current user. 从解释中可以看出ALL_TAB_COLUMNS中只列出了当前用户可以访问的表、视图和簇中的列。
SELECT * FROM ALL_TABLES;grant select on [table_name] to [user_name];SELECT * FROM USER_TABLES;
SELECT * FROM ALL_TABLES;你试试就知道了!