SELECT USER_TAB_COLS.TABLE_NAME
as 表名,
USER_TAB_COLS.COLUMN_NAME as 列名 ,
USER_TAB_COLS.DATA_TYPE as 數(shù)據(jù)類型,
USER_TAB_COLS.DATA_LENGTH as 長(zhǎng)度,
USER_TAB_COLS.NULLABLE as 是否為空,
USER_TAB_COLS.COLUMN_ID as 列序號(hào),
user_col_comments.comments as 備注
FROM USER_TAB_COLS
inner join user_col_comments on
user_col_comments.TABLE_NAME=USER_TAB_COLS.TABLE_NAME
and user_col_comments.COLUMN_NAME=USER_TAB_COLS.COLUMN_NAME
where USER_TAB_COLS.Table_Name='表名'
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)
點(diǎn)擊舉報(bào)。