select tname,cname,coltype,width,scale,nulls from system.col order by tname,cname;

解决方案 »

  1.   

    楼上的楼上的那位兄弟的方法只是读出了所有表的有关信息,我的要求有两个.
    (1)用一个语句读出某owner的所有表,包括表名,字段数等的相关
    (2)用另外一个语句读出某table的所有column名称,类型,长度、默认值等的相关信息
      

  2.   

    (1)
    select b.*
      from all_tables a,cols b
     where a.table_name = b.table_name
       and a.owner =表名