Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB, C#, and VFP data handling examples
Message
De
19/04/2007 20:24:26
 
 
À
19/04/2007 19:01:19
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
01215120
Message ID:
01218127
Vues:
38
I can think of two reasons:

1- The general belief that SPs are always faster. (not true)
2- Possibility of SQL injection from dynamic queries. (not always the case)

>Gary,
>
>I think part of it might be the "SP is always best" issue. If you're generating dynamic updates based on change tracking, you'd need screeds of code in a SP to manage that, plus presumably more in the middle tier to process the deltas and tell the SP what to do. In which case the obvious question is "why not build a dynamic parameterized SQL Update and bypass the SP."
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform