SQL Server Check si existe la tabla TEMP
IF OBJECT_ID('tempdb..#Results') IS NOT NULL DROP TABLE #Results
Kind Kangaroo
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,
)