ok use the code below i copy for you to detect temp tables and drop themIF OBJECT_ID('tempdb..#Results') IS NOT NULL DROP TABLE #Results`GOCREATE TABLE #Results ( Company CHAR(3), StepId TINYINT, FieldId TINYINT, )GOselect company, stepid, fieldid from #ResultsGOALTER TABLE #Results ADD foo VARCHAR(50) NULLGOselect company, stepid, fieldid, foo from #ResultsGOIF OBJECT_ID('tempdb..#Results') IS NOT NULL DROP TABLE #ResultsGOhttp://stackoverflow.com/questions/659051/check-if-temp-table-exist-and-delete-if-it-exists-before-creating-a-temp-tablehttp://www.sqlteam.com/forums/topic.asp?TOPIC_ID=67818http://weblogs.sqlteam.com/mladenp/archive/2008/08/21/SQL-Server-2005-temporary-tables-bug-feature-or-expected-behavior.aspx