Re: Drop temporary tables
From: Viviana Kern (anonymous_at_discussions.microsoft.com)
Date: 06/08/04
- Next message: oj: "Re: Drop temporary tables"
- Previous message: Tom Moreau: "Re: Returning rows that do not exist in another table"
- In reply to: Aaron [SQL Server MVP]: "Re: Drop temporary tables"
- Next in thread: Aaron [SQL Server MVP]: "Re: Drop temporary tables"
- Reply: Aaron [SQL Server MVP]: "Re: Drop temporary tables"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 8 Jun 2004 14:07:15 -0700
Hi Aaron
One DBA tells me that a Microsoft's Engineer recomended to
ommit this sentence.
I try it and in some procedures it's faster and in others
don't.
That's why I'm asking.
TIA
>-----Original Message-----
>It's safer, though #temp tables do automatically get
dropped when the proc
>goes out of scope.
>
>Out of curiosity, do you expect to gain anything by not
including it?
>--
>http://www.aspfaq.com/
>(Reverse address to reply.)
>
>"Viviana Kern" <anonymous@discussions.microsoft.com>
wrote in message
>news:1996501c44d96$cb7fccc0$a601280a@phx.gbl...
>> I need to know if it's better to exec the sentence drop
>> table #temprary_table in stored procedure or not.
>> TIA
>
>
>.
>
- Next message: oj: "Re: Drop temporary tables"
- Previous message: Tom Moreau: "Re: Returning rows that do not exist in another table"
- In reply to: Aaron [SQL Server MVP]: "Re: Drop temporary tables"
- Next in thread: Aaron [SQL Server MVP]: "Re: Drop temporary tables"
- Reply: Aaron [SQL Server MVP]: "Re: Drop temporary tables"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|