I am noob with Progress so please be patient with me.
First off I am using VB.NET to connect to Progress 9.1e through ODBC using the DATADIRECT 4.10 32-BIT Progress SQL92 v9.1E driver.
My problem is this. I am trying to get some data from a table that has an index that contains two fields. I have data for one of those fields that I using in my WHERE clause. I need to get the last entry of one of those fields in the index and so I don't have any data to supply for the second field in my index. My performance is terrible as I am not able to use the index. My question is how do I force the query to use a specific index as in the use-index statement in Progres itself? Can I do this? Are there any other methods of increasing performance?
First off I am using VB.NET to connect to Progress 9.1e through ODBC using the DATADIRECT 4.10 32-BIT Progress SQL92 v9.1E driver.
My problem is this. I am trying to get some data from a table that has an index that contains two fields. I have data for one of those fields that I using in my WHERE clause. I need to get the last entry of one of those fields in the index and so I don't have any data to supply for the second field in my index. My performance is terrible as I am not able to use the index. My question is how do I force the query to use a specific index as in the use-index statement in Progres itself? Can I do this? Are there any other methods of increasing performance?