Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling Sp In a Trigger
Message
 
 
À
24/10/2001 09:47:14
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
00572568
Message ID:
00573135
Vues:
26
Hi!

Its depended on what you're goind to do in that processing SP. Certaing things could be done without creating cursor. If you know for sure what that SP do, try to throw it here to see if it possible to change what that SP do for each record to convert it to the processing of all records without cursor.

>Hello!...
>
>I've a trigger where I want to process all the INSERTED table in an instruction only ( like an Insert Into Table1 Frmo Inserted), but I need to process each record with a SP.
>It's the only chance to create a cursor from the INSERTED table an process one record at the time.?!
>If not.. uff.. what's the answer then?
>
>Thanks Friends!
>Bye...
>Manuel Almeida
>
>The rule of knowledge:
>"I only know that I know nothing..."
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform