在网上搜索了几个,但是命令错误。
不知道oracle中用什么命令

解决方案 »

  1.   

    我搜到的是:
    select   name   from   syscolumns   where   id=object_id('你的表名'')
    我不知道syscolumns是什么?在oracle中就叫syscolums吗?
    最好能给个实例,谢谢了~~~
      

  2.   

    select column_name from all_tab_columns where table_name = '表名';要获得列数加 count(*) 就可以了
      

  3.   

    select * from user_tab_cols t where t.table_name='xxx'
    select count(*) from user_tab_cols t where t.table_name='xxx'