Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable number of parameters to sql stored procedures
Message
 
 
À
22/07/2007 12:14:48
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:
01242624
Vues:
34
>>>Does no one see how inefficient it is to write 20 variations of the same query just to support multiple parameters?
>>
>>Where are you getting that from? I didn't see anyone recommending that.
>
>http://sqlserver2000.databases.aspfaq.com/can-i-have-optional-parameters-to-my-stored-procedures.html
>
>It looks like he's recommending having stored procedures GetAuthors1 - GetAuthors. Maybe that's just his way of showing execution plans?

Yes. He shows different execution plans.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform