Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
下面的代码试图做什么?
select * from tempdb.dbo.sysobjects where id = object_id(N'tempdb..#val_load_data')
谢谢布鲁斯
看起来像存在检查;如果该表存在,则将返回一行。
似乎正在检查tempdb名为#val_load_data.
tempdb
#val_load_data
如果返回一行,则该表存在。