Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can data sets be passed between SP's for modification?
Message
From
24/10/2002 13:03:34
 
 
To
24/10/2002 10:48:51
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
00714572
Message ID:
00714974
Views:
34
You need to be careful here. Referencing a temporary table that was created outside of the stored procedure can cause the stored procedure to be recompiled.

http://www.sql-server-performance.com/rd_optimizing_sp_recompiles.asp

-Mike


>Margret,
>
>I usually use a TEMP table for this. You can create the temp table in your SP, and any SP's you call from that one will be able to access the table.
>
>For more info on temp tables see the SQL BOL.
>
>BOb
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform