S> И, если не лечится, то почему?
By design. Цитата из BOL:
"A table cannot be altered and then the new columns referenced in the same batch."
А вообще, можно попробовать вот так:
CREATE TABLE #t (f1 int)
EXEC('ALTER TABLE #t ADD id_t int identity')
select id_t from #t