1
以防萬一問題不夠清楚。Oracle在哪裏存儲表註釋?
我有東西評論這樣的大多數表:
COMMENT ON TABLE owner.employee IS 'Stores the blabla';
而且將是很好看的表的意見(有就像2K表,而不是我的錯)
在我的數據庫搜索以防萬一問題不夠清楚。Oracle在哪裏存儲表註釋?
我有東西評論這樣的大多數表:
COMMENT ON TABLE owner.employee IS 'Stores the blabla';
而且將是很好看的表的意見(有就像2K表,而不是我的錯)
在我的數據庫搜索系統視圖ALL_TAB_COMMENTS
和USER_TAB_COMMENTS
包含表格註釋和ALL_COL_COMMENTS
和USER_COL_COMMENTS
有列註釋。
你可以試試下面的語句:
-- All tables inside my user
select table_name, comments from user_tab_comments
-- All tables for all users:
select table_name, comments from all_tab_comments