select NAME from [库名].[dbo].sysobjects where id in (select id from [库名].[dbo].syscolumns Where name=‘字段名’)
Sqlserver查询库中包含了某字段的表
最新推荐文章于 2024-09-12 14:41:30 发布
select NAME from [库名].[dbo].sysobjects where id in (select id from [库名].[dbo].syscolumns Where name=‘字段名’)