Hi,
I have some existing VFP7 code that features a lot of SQL queries and I want to identify any queries in that code that are not Rushmore optimised. I have figured out how to use SYS(3054) to return info on an individual query. However, with my current understanding, I am thinking that I am going to have to enter a SYS(3054) statement in before every SQL query and store the results after each query has executed.
Given the amount of code, this is going to be a time consuming process, so I was wondering if there was a quicker way of achieving the same result, namely a list of all queries that are not Rushmore optimised. An ideal solution would also indicate where in the code the non-optimised query appears.
Any help is much appreciated.
Jake
I have some existing VFP7 code that features a lot of SQL queries and I want to identify any queries in that code that are not Rushmore optimised. I have figured out how to use SYS(3054) to return info on an individual query. However, with my current understanding, I am thinking that I am going to have to enter a SYS(3054) statement in before every SQL query and store the results after each query has executed.
Given the amount of code, this is going to be a time consuming process, so I was wondering if there was a quicker way of achieving the same result, namely a list of all queries that are not Rushmore optimised. An ideal solution would also indicate where in the code the non-optimised query appears.
Any help is much appreciated.
Jake