Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable number of parameters to sql stored procedures
Message
De
23/07/2007 10:06:23
 
 
À
23/07/2007 07:31:04
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01242588
Message ID:
01242774
Vues:
52
I gave up on debates with that guy long, long ago.

haha, maybe we can form a club...

Regardless I appreciate discussing this very topic with you. I agree with you that most companies are doing SP-centric systems. I am convinced that people are often using SPs incorrectly. Like that college professor I keep mentioning. He only uses SPs for everything but still managed to make things unbearably slow for the users. SPs are not the "only" solution and not always the "best" solution. They should be used judiciously. Ad-hoc queries are also not the only solution, nor always the best solution. They too should be used judiciously.

Mike, even though we don't seem to agree on 'everything', I certainly appreciate talking to you as well. I can accept the fact that some will have concerns about SPs. I don't deny for one moment that developers abuse SPs, don't take into account isolation levels and locking, and wind up doing more damage. The story of the professor you mentioned is sad to hear, but it certainly not unique.

Conversely, I've seen situations where developers used remote views so badly that they were difficult to maintain. However, it was an issue of the developer(s), not the technology. Certainly, many criticisms of stored procs are rooted in bad experiences where people used them poorly, but it's important (as always) to weed that stuff out of the discussions.

Kevin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform