我正在尝试执行此操作:
IF OBJECT_ID('##Table','U') IS NOT NULL DROP TABLE ##Table
……但它不起作用.
IF OBJECT_ID('tempdb..##Table','U') IS NOT NULL drop TABLE ##Table