ASA SQL Reference
SQL Functions
Alphabetical list of functions
This function is the same as the ESTIMATE function, except that it always looks only in an index.
INDEX_ESTIMATE( column-name, number [ , relation-string ] )
column-name The name of the column that is used in the estimate.
number If number is specified, the function returns as a REAL the percentage estimate that the query optimizer uses.
relation-string The relation-string must be a comparison operator enclosed in single quotes; the default is '='.
SQL/92 Vendor extension.
SQL/99 Vendor extension.
Sybase Not supported in Adaptive Server Enterprise.
ESTIMATE function [Miscellaneous]
ESTIMATE_SOURCE function [Miscellaneous]
The following statement returns the value 81.304607.
SELECT FIRST ESTIMATE( emp_id, 200, '>' ) FROM employee