Integral value that specifies the number of times the SQL Query Optimizer iterates through the list of possible execution plans in order to determine the best execution plan. If the value is 0, the Query Optimizer will check the entire list.
If the OptThreshold
option is not defined, the default value of 0
is used.
This option key is associated with the SQL Connection Handle and can be set or retrieved using: