SQL Server 2005中的查询语句如下:

select name from sysobjects where id in 
(
     
select id from syscolumns where name like '%BMI%' 
)
注:
1.可以模糊匹配字段名字。
2.可以列举出字段所在表名,存储过程名等。

相关文章:

  • 2022-01-26
  • 2022-12-23
  • 2022-12-23
  • 2021-07-29
  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
猜你喜欢
  • 2022-12-23
  • 2022-03-09
  • 2022-12-23
  • 2022-01-04
  • 2021-11-29
  • 2021-05-15
  • 2022-12-23
相关资源
相似解决方案