Re: ##temp table already exists problem
- From: "Simon Hayes" <sql@xxxxxxxx>
- Date: 7 Jul 2005 01:45:01 -0700
Global temp tables are visible to all connections, so if you have
multiple processes, then you can easily get errors like that. And if
you drop the table explicitly, one connection could drop the table
which was created by another connection.
Is there some specific reason why you can't use a local temp table? Or
perhaps you can use a permanent table, with @@SPID as part of the key?
If you can explain some more about what you're trying to do, then
someone may be able to suggest an alternative solution.
Simon
.
- Follow-Ups:
- Re: ##temp table already exists problem
- From: nigel
- Re: ##temp table already exists problem
- References:
- ##temp table already exists problem
- From: nigel
- ##temp table already exists problem
- Prev by Date: ##temp table already exists problem
- Next by Date: Re: ##temp table already exists problem
- Previous by thread: ##temp table already exists problem
- Next by thread: Re: ##temp table already exists problem
- Index(es):
Relevant Pages
|