Re: Temp Table and SP Advise
- From: Erland Sommarskog <esquel@xxxxxxxxxxxxx>
- Date: Tue, 29 Nov 2005 10:09:42 +0000 (UTC)
Ks (kpunjani@xxxxxxxxx) writes:
> I have a little scenario here, i am need of inserting some rows into a
> temp table which will be returned by a procedure... Here is little
> explanation
>
> I am planning to make a proc A and a temp table in proc A.
> I will be calling proc B from Proc A.
> What i want is the data returned by Proc B should be inserted into Proc
> A's Temp table.
Just do it. The temp table created in A, will be visible from B.
I cover this in an article on my web site:
http://www.sommarskog.se/share_data.html
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.
- Follow-Ups:
- Re: Temp Table and SP Advise
- From: Ks
- Re: Temp Table and SP Advise
- References:
- Temp Table and SP Advise
- From: Ks
- Temp Table and SP Advise
- Prev by Date: Temp Table and SP Advise
- Next by Date: Re: LOAD .SQL file
- Previous by thread: Temp Table and SP Advise
- Next by thread: Re: Temp Table and SP Advise
- Index(es):
Relevant Pages
|