在命令窗口中可以这样运行看到结果集.SQL> describe test;
Name Type Nullable Default Comments
----- ------------ -------- ------- --------
FID NUMBER 测试表1
FNAME VARCHAR2(20) Y 姓名
FTIME DATE Y 时间
在程序中怎么取得结果集
...全文
788打赏收藏
程序中怎么取得"describe test"的结果集
在命令窗口中可以这样运行看到结果集.SQL> describe test; Name Type Nullable Default Comments ----- ------------ -------- ------- -------- FID NUMBER 测试表1 FNAME VARCHAR2(20) Y 姓名 FTIME DATE Y 时间 在程序中怎么取得结果集
from user_tab_cols col
LEFT JOIN user_col_comments comm
on col.table_name = comm.table_name
and col.column_name = comm.column_name
where col.table_name = 'TEST'