Forum Discussion

smpa01's avatar
smpa01
Icon for Community Champion rankCommunity Champion
2 years ago
Solved

CTAS and temp db

I am having issues when I am trying to use CTAS in a tempdb. This works   // no ctas IF OBJECT_ID('tempdb..#test', 'U') IS NOT NULL DROP TABLE #test; -- Create table CREATE TABLE #test ( ...