-- 1.产生临时表
select * into #tb1 from tb
-- 2.查找该临时表是否存在
select * from tempdb..sysobjects where id=object_id('tempdb..#tb1')

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-03-05
  • 2022-12-23
  • 2022-12-23
  • 2023-02-16
  • 2022-02-01
  • 2021-11-07
猜你喜欢
  • 2021-12-28
  • 2022-12-23
  • 2022-12-23
  • 2022-02-12
  • 2021-11-05
相关资源
相似解决方案