I have an SP in which I create a temporary table in the following way:
SELECT *
INTO #TABLA_AR
FROM TRABAJADOR
WHERE AREA IN (3,5,9,15)
The SP has several processes and if it fails in some process after creating the temporary table, when correcting the error and executing it fails because the temporary table already exists