下面的sql语句在sqlserver中根据字段名查询,看哪些表包含了这个字段

在sqlserver中如何根据字段名查找字段所在的表select   a.name   表名,b.name   列名   from   sysobjects   a,syscolumns   b   where   a.id=b.id   and   b.name='列名'   and   a.type='U'

相关文章:

  • 2022-02-22
  • 2022-12-23
  • 2022-12-23
  • 2022-01-20
  • 2021-11-09
  • 2021-12-24
  • 2021-11-03
猜你喜欢
  • 2022-12-23
  • 2022-02-09
  • 2022-12-23
  • 2021-08-08
  • 2022-12-23
相关资源
相似解决方案