[Sql server]—列出資料庫內所有Table
SELECT

a.name
FROM
  SYSOBJECTS a
WHERE
  a.xtype = 'U'

就可以了