--- 获取数据库表
sELECT TABLE_CATALOG as "DataBaseName", TABLE_SCHEMA as "Table" , TABLE_NAME as "TableName" ,TABLE_TYPE as "表类型" FROM INFORMATION_SCHEMA.TABLES
where TABLE_CATALOG=N'acdddC' order by TABLE_NAME
---- 获取指定表的字段
SELECT * FROM acdddC.INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME =N'K_SCTEtd'