Agregar columna de ID a la tabla temperatura insertar
SELECT *, IDENTITY( int ) AS idcol
INTO #newtable
FROM oldtable
Shy Seal
SELECT *, IDENTITY( int ) AS idcol
INTO #newtable
FROM oldtable