Quantcast
Channel: Rss Feed - SSMSBoost Add-in discussion board - Forum
Viewing all articles
Browse latest Browse all 823

If Exists for temp tables Auto Replace

$
0
0
I have mine set to replace when ife is typed
Code:

IF OBJECT_ID(N'tempdb..<tbnm, sysname, table>' 
) IS NOT NULL
BEGIN
    DROP TABLE <tbnm, sysname, table> 
END
#
Go to last post

Viewing all articles
Browse latest Browse all 823

Trending Articles