这两个好像不行,我要的是Oracle所有的字段类型——DataType,不包括其它的信息

解决方案 »

  1.   

    select * from all_types t where t.type_name = t.typecode and t.owner is null
      

  2.   

    这样查出来好像有很多重复的,有没有类似PL/SQL Develop中设计表时选择的字段类型那种?
    高手帮忙!
      

  3.   

    重复的可以用DISTINCT过滤,只是不知道这样是否得到你想要的答案
      

  4.   

    select DISTINCT * from all_types t where t.type_name = t.typecode and t.owner is null