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 ...