Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Theoretical question - what is better?
Message
De
07/08/2008 19:38:28
 
 
À
07/08/2008 19:18:56
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01337411
Message ID:
01337414
Vues:
16
This message has been marked as a message which has helped to the initial question of the thread.
Think of it the same as OOP. Each method should have one function and one only. So, you should have three stored procs.

>Hi everyone,
>
>We're having a discussion with my colleague about should we use 1 procedure for INSERT/UPDATE/DELETE and just pass action parameter or 3 separate procedures.
>
>I'm saying 3 procedures are better and he is saying 1 procedure is better from the maintenance point of view.
>
>I would appreciate PROS/CONS for either of the opinions.
>
>BTW, where is Walter? Haven't seen him here for some time.
>
>Thanks in advance.
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