select table_name from user_tab_columns where column_name = '字段名'; 查询不出来注意: 1.大小写 2.对象类型 使用user_objects或者user_segments查看类型 3.用户权限 需要创建的用户 ...
select table name from user tab columns where column name 字段名 这是网上查到的,地址如下:http: blog. .com pei hua blog static ,但当时一直未能实现,原因是字段名是区分大小写的,比如BM不能写成bm,以后注意。 ...
2016-08-17 09:30 0 4501 推荐指数:
select table_name from user_tab_columns where column_name = '字段名'; 查询不出来注意: 1.大小写 2.对象类型 使用user_objects或者user_segments查看类型 3.用户权限 需要创建的用户 ...
ora = //连接描述符名:ora (description = //描述 (address = //网络地址之一 (protocol = tcp) //网络协议(tcp表示TCP/IP协议) (host = 129.9.114.22) //服务器IP地址:129.9.114.22 (port ...
查询表的所有列及其属性:select t.*,c.COMMENTS from user_tab_columns t,user_col_comments c where t.table_name = c.table_name and t.column_name = c.column_name ...
select * from (select * from information_schema.COLUMNS where table_schema = '数据库名') temp where column_name = '字段名' ...
1:查询数据库中所有表名 select table_name from information_schema.tables where table_schema='csdb' and table_type='base table'; table_schema:用于限定 ...
--创建用户create user "用户名" identitied by "密码";--给自己修改密码 查询所有表名:select t.table_name from user_tables t;查询所有字段名:select t.column_name from ...