摘要:
--查询表和视图select * from information_schema.tables--查询视图select * from information_schema.views--查询数据库所有表select * from sysobjects where xtype= 'U' and status> 0sp_tables 或: select * from INFORMATION_SCHEMA.TABLES 或: select * from sysobjects where xtype= 'U ' and status> 0sysobjects 阅读全文