--查詢該表字段的注釋select * from user_col_comments where Table_Name like '%SMS%'--查詢類似表select * from user_tables where table_name like '%SMS%' ...
八百年不用的東西老是忘。 添加注釋 plsq直接整 comment on table 表名 is 注釋 comment on column 表名.字段名 is 注釋 查看注釋 表右鍵 view,在General看表注釋 在Column看字段注釋 導出ddl Tools Export User Objects 選一個用戶,選中要輸出的表,改一下輸出位置 輸出名,輸出。 ...
2020-05-06 15:44 0 573 推薦指數:
--查詢該表字段的注釋select * from user_col_comments where Table_Name like '%SMS%'--查詢類似表select * from user_tables where table_name like '%SMS%' ...
SELECT T1.TABLE_NAME, T1.COLUMN_NAME, T1.DATA_TYPE || '(' || T1.DATA_LENGTH || ')', T2.COMMENTS FROM ...
右鍵表,對象信息,DDL ...
show full columns from 表名; ...
DECLARE @tableName NVARCHAR(MAX);SET @tableName = N'UserIntegralExchange'; --表名!!! SELECT CASE WH ...
#hehe 表中添加ISXP 字段 alter table hehe add( ISXP varchar2(1) ); COMMENT ON COLUMN "hehe"."ISXP" IS '是否信披過0已信披1未信披'; ...
SQL:select column_name,data_type from all_tab_columns where table_name=upper('table_name'); 執行: ...
...