Answers for "sql temporary table exist"

SQL
0

check if sql temp table exists

IF OBJECT_ID('tempdb..#Results') IS NOT NULL
    Truncate TABLE #Results
else
    CREATE TABLE #Results
    (
        Company             CHAR(3),
        StepId              TINYINT,
        FieldId             TINYINT,
    )
Posted by: Guest on May-19-2021

Code answers related to "sql temporary table exist"

Code answers related to "SQL"

Browse Popular Code Answers by Language