oracle下
select table_name from dba_tables where tablespace_name='NEWDB' and num_rows=0
sql server下
select A.name,rows from sysobjects A,sysindexes B where A.id=B.id and A.xtype='U'
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/183473/viewspace-660855/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/183473/viewspace-660855/