Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable number of parameters to sql stored procedures
Message
 
 
To
22/07/2007 12:14:48
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01242588
Message ID:
01242624
Views:
33
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform