Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Check if a temporary table exists and delete if it exists

IF OBJECT_ID('tempdb..#lu_sensor_name_19') IS NOT NULL 
BEGIN 
    DROP TABLE #lu_sensor_name_19 
END

CREATE TABLE #lu_sensor_name_19...
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Check #temporary #table #exists #delete #exists
ADD COMMENT
Topic
Name
1+4 =