Hello,
I was wondering if someone can help me out with a SQL scripts issue.
My qustion is:
Exampel -
I have a phisical file - F_Name
there are 2 LF with diffrent keys each.
If i have a SQL script (of course the select statment is directed the PF.)
The statement is missing the correct approach to the file because there is no LF with the keys needed.
there is few options:
1 - let the machine create the "LF" on the fly in the machine (in the memory) and the query will run with the keys it needs
2 - With the ASC, check what is the LF that should be created to make the query (SQL statement) runs in the optimal way
3 - Change the SQL statement and add in the reading part of the statement, more fields that it will use an existing LF (one of the 2 in this example)
My qustion is:
Like in the feature of the ASC that recomend what LF should be create to make the query run's in the best way,
Is there a feature in the ASC that recomend what field/s to add to the SQL statment based on the existing LF?
I realy hope I explained myself and you can understand me.
My best regards
------------------------------
Moshe Stein
------------------------------