原文:Oracle中已知字段名查询所在的表名

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 推荐指数:

查看详情

Oracle已知字段名查询所在

select table_name from user_tab_columns where column_name = '字段名'; 查询不出来注意: 1.大小写 2.对象类型 使用user_objects或者user_segments查看类型 3.用户权限 需要创建的用户 ...

Tue Sep 18 23:36:00 CST 2018 0 993
oracle怎么通过字段名查询所在

ora = //连接描述符:ora (description = //描述 (address = //网络地址之一 (protocol = tcp) //网络协议(tcp表示TCP/IP协议) (host = 129.9.114.22) //服务器IP地址:129.9.114.22 (port ...

Fri Sep 21 03:58:00 CST 2018 0 3993
mysql 查询字段名所在

select * from (select * from information_schema.COLUMNS where table_schema = '数据库') temp where column_name = '字段名' ...

Sat Nov 10 02:23:00 CST 2018 0 962
mysql获取&字段名查询语句

1:查询数据库中所有  select table_name   from information_schema.tables   where table_schema='csdb' and table_type='base table';   table_schema:用于限定 ...

Sun Dec 02 01:15:00 CST 2018 0 3453
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM