Answers for "if exists drop temp table"

SQL
6

sql server drop temp table if exists

IF OBJECT_ID('tempdb..#Results') IS NOT NULL DROP TABLE #Results
GO
Posted by: Guest on April-22-2020
0

if temp table exists drop

if object_id(N'tempdb..#MaxTransaction') is not null drop table #MaxTransaction
Posted by: Guest on June-22-2021
0

if temp table exists drop

IF OBJECT_ID(N'tempdb..#RequestingBrokers') IS NOT NULL
BEGIN
DROP TABLE #RequestingBrokers
END
GO
Posted by: Guest on June-17-2021

Code answers related to "if exists drop temp table"

Code answers related to "SQL"

Browse Popular Code Answers by Language