select * from sysobjects where xtype ='u' --用户表
select * from sysobjects where xtype ='s' --系统表
select * from sysobjects --所有表