当前位置: 代码迷 >> Sql Server >> 插叙临时表的字段信息,该怎么解决
  详细解决方案

插叙临时表的字段信息,该怎么解决

热度:2938   发布时间:2013-02-26 00:00:00.0
插叙临时表的字段信息
如题:
SQL2000里面,我用过下面的语句,但是完全查不到任何结果。
select * from tempdb.dbo.syscolumns where name='#aa'

------解决方案--------------------------------------------------------
更正一下
select * from tempdb.dbo.syscolumns where id=object_id('tempdb..#aa') 
  相关解决方案