Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can data sets be passed between SP's for modification?
Message
De
24/10/2002 12:58:26
 
 
À
24/10/2002 10:48:51
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
00714572
Message ID:
00714973
Vues:
24
A problem with this. The #tempfile goes from main SP to called SP. To add on the company name I do a select with the #tempfile and the company file. Now the results are in a 2nd file, #tempfile2. Isn't the #tempfile2 local to the SP that made it so the main SP can't use it? The #tempfile that was passed in still hasn't been altered.

Are you doing something else in your routines, such as updating existing fields on the passed in table instead of getting the data through select/joining two files? So I might make a blank field for the company name in the main SP and then pass the #tempfile to the 2nd SP to fill the company field in?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform