Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding more fields into a dataset
Message
From
22/05/2013 10:39:00
 
 
To
22/05/2013 10:31:02
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01574472
Message ID:
01574489
Views:
41
Likes (1)
>>
>>SELECT Table.FirstName
>> FROM Table
>> WHERE Table.PrimaryKey in (1,2,3,4)
>>
>
>Yes, this is exactly what I am looking for. As a mattter of fact, I just found it at the same time.
>
>Would you know if this would be as good for the execution plan or performance could be an issue?

Always depends on the data at hand, but most uniform best times should be reached by piping the list of PK's into a temp table with index and inner joining to base select table, esp on longer PK-lists.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform