oracle工具类

查询表中有多少列

select count(1) from user_tab_columns where table_name=upper(‘M_ReturnPicture‘)

//查询数据中某个用户所创建的表数量

SELECT table_name FROM all_tables WHERE owner = upper(‘rpt‘);

select * from all_tables where owner = upper(‘userecc‘) and (table_name like ‘T_%‘ or table_name like ‘M_%‘ or table_name like ‘W_%‘)

oracle工具类,布布扣,bubuko.com

oracle工具类

上一篇:Unix Shell_Shell调用SQLPlus简介(案例)


下一篇:cocos2d-x中使用sqlite