SQL Server Drop Temp -Tabelle, falls vorhanden
IF OBJECT_ID('tempdb..#Results') IS NOT NULL DROP TABLE #Results
GO
MzanziLegend
IF OBJECT_ID('tempdb..#Results') IS NOT NULL DROP TABLE #Results
GO
IF OBJECT_ID('tempdb..#Results') IS NOT NULL DROP TABLE #Results
IF OBJECT_ID('tempdb..#Results') IS NOT NULL
Truncate TABLE #Results
else
CREATE TABLE #Results
(
Company CHAR(3),
StepId TINYINT,
FieldId TINYINT,
)