Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Would index tag speed up this SQL Select
Message
From
18/06/2015 08:57:25
 
General information
Forum:
Microsoft SQL Server
Category:
Indexing
Environment versions
SQL Server:
SQL Server 2014
Application:
Web
Miscellaneous
Thread ID:
01621119
Message ID:
01621123
Views:
48
>First, thank you.
>Is compound index (never done it before) would be something like this (using VFP syntax):
>index on REC_ID + STR(ORDER_NO,10)
>?

It is a totally different architecture. You are allowed to include up to 16 fields for the index and as much as you want for the include.

You might read on documentation for creating those indexes, first in regards to the order of the indexed fields and in what fields need to be included. If you modify the required select which has a use for that later on, you always have to think about why you created this index and see if you have to update it. This could be the difference between light and day such as instant versus 10-minute queries.
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