December 16, 2005 at 8:11 am
It was fine. But now it's not!
I have a 2 line stored procedure that creates a temp table. If executed from Query Analyser (exec sp_temptable) it creates the table.
But when called from an Execute SQL Task task, it does not create anything, despite saying it was completed successfuly! AHHHH!
December 16, 2005 at 8:30 am
Is the procedure creating a global or temporary table? In addition, take into account the following:
December 16, 2005 at 8:34 am
##temp_table.
I thought global tables remained until they were dropped. And if that's the case, why is it the table remains if created using Query Analyser?
December 16, 2005 at 10:03 am
The reason your global table would remain is that if you created the table using query analyzer it would not be dropped until that analyzer session is closed.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply