http://www.cnblogs.com/laoyumi/p/4028254.html
常用表:
select * from sysdatabases ;select * from sysobjects;