📜  更改表添加注释 oracle - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:28.240000             🧑  作者: Mango

代码示例1
COMMENT ON TABLE table_name IS 'A table comment';
COMMENT ON COLUMN table_name.MY_COLUMN IS 'A column comment';

SELECT * FROM ALL_TAB_COMMENTS WHERE TABLE_NAME = 'TABLE_NAME';
SELECT * FROM ALL_COL_COMMENTS WHERE TABLE_NAME = 'TABLE_NAME';