统计表数量 SELECT count(*) FROM sys.objects WHERE type='U'

列出表名称  SELECT NAME  FROM sys.objects WHERE type='U'

或者

列出表名称 SELECT Name FROM SysObjects Where XType='U'

05-01 23:51