T-SQL实用查询之查询字段所属的数据库表
时间:2021-07-01 10:21:17
帮助过:7人阅读
b.name
as TableName,a.name
as columnname
From syscolumns a
INNER JOIN sysobjects b
ON a.id
=b.id
where b.type
=‘U‘
AND a.name
=‘destid‘
T-SQL实用查询之查询字段所属的数据库表
标签:sel col tab sql bsp pre and join 数据