16,555
社区成员
发帖
与我相关
我的任务
分享
select
sys.tables.name as TableName,--表名
sys.columns.name as ColumnName --字段名
from
sys.columns, sys.tables
where
sys.columns.object_id = sys.tables.object_id
and
sys.tables.name in (select name from sysobjects where xtype='u' )