select * from user_tab_columns where column_name=UPPER('u_id')

解决方案 »

  1.   

    select TABLE_NAME from user_tab_columns 
        where column_name = UPPER('u_id')
      

  2.   

    如何区分哪些是系统表哪些是用户自己建立的表呢?
    因为搜索出大量表而且有很多好象是系统表这就不能准确的提取有u_id字段的用户表是哪些。
      

  3.   

    select table_name from all_tab_columns where column_name = UPPER('u_id')
    这个可能包含所有的表,包含系统表
    select table_name from user_table_columns where column_name = UPPER('u_id')
    这个是从用户表里取
      

  4.   

    大哥数据字典里哪有user_table_columns 表,是你想象的吧?
      

  5.   

    user_table_columns 以及 all_tab_columns 均为视图,在系统用户下,Oracle已设为了公共访问。
      

  6.   

    同意楼上的 创建数据库的时候已经 授予SELECT权限于PUBLIC
    这几个视图的所有者是 SYS