Oracle中已知字段名查询所在的表名
select table_name from user_tab_columns where column_name = '字段名';
这是网上查到的,地址如下:http://blog.163.com/pei_hua100/blog/static/80569759201272114619283/,但当时一直未能实现,原因是字段名是区分大小写的,比如BM不能写成bm,以后注意。
God, Grant me the SERENITY, to accept the things I cannot change,
COURAGE to change the things I can, and the WISDOM to know the difference.