Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instead of OR in WHERE clause
Message
From
03/02/2014 23:05:28
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01593065
Message ID:
01593077
Views:
25
>I am also not sure about your 1000 primary keys - why is it relevant?

Because I prefer to use a 1k SQL command with 1000 OR conditions than to repeat the 1k line 1000 times with one condition.

>In any case, you asked what can be used instead of OR and I gave you the answer.

Yes, but it wouldn't apply here.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform