|
Question : How to format SQL query string in vb.net for a multi-field index in Access??
|
|
I have tons of working apps using SQL query strings. To speed things up I wanted to make a multi-field index in Access. I saw how to set it up in Access, but how do you structure the SQL query to use a specific index instead of the standard WHERE field = "data" syntax? I need to specify both strings that are used in the index, but can't find anything about how to use it.
|
|
Answer : How to format SQL query string in vb.net for a multi-field index in Access??
|
|
I'm not sure you can set this value. If you have a multi-field index and the where clause uses those fields or the sorting uses those fields, then Jet will automically come up with the best execution plan.
Mike
|
|
|