1.查询表的所有列

select name from syscolumns

where syscolumns.id =(select id from sysobjects where sysobjects.name='Exhibition')

2.查询数据库中所有表

select name from [sysobjects] where xtype='U'

(注:针对SQL SERVER 2000)

相关文章:

  • 2021-12-23
  • 2021-05-12
  • 2022-12-23
  • 2021-12-30
  • 2021-11-18
猜你喜欢
  • 2021-07-20
  • 2022-01-03
  • 2021-12-31
  • 2021-12-05
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案