Groups | Blog | Home
all groups > sql server programming > april 2004 >

sql server programming : parameter passing via global temp table with unique name



Aaron Bertrand [MVP]
4/3/2004 12:53:54 PM
http://www.sommarskog.se/share_data.html

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


[quoted text, click to view]

rilov
4/3/2004 9:36:02 PM
to get the result set of a procedure from anothe
you can use openquer

toylet
4/3/2004 11:13:51 PM

Is there an easy to pass a result set (ie a table) from one stored
procedure to another via a uniquely named ##global_temp_table? Or is
there a better method?

The reason to use a uniquely named table is because the stored procedure
would be called by multiple parties. SO a fixed table name would cause
the callers to step on each other.

--
.~. Might, Courage, Vision. In Linux We Trust.
/ v \ http://www.linux-sxs.org
/( _ )\ Linux 2.4.22-xfs
AddThis Social Bookmark Button