Sybase Adaptive Server Anywhere Reference page 356

Table of Contents

Advertisement

Alphabetical list of functions
EXPERIENCE_ESTIMATE function [Miscellaneous]
Function
Syntax
Parameters
Examples
Standards and
compatibility
See also
FLOOR function [Numeric]
Function
Syntax
Parameters
Examples
Standards and
compatibility
See also
338
Sybase
Compatible with Adaptive Server Enterprise.
This function is the same as the ESTIMATE function, except that it always
looks in the frequency table.
EXPERIENCE_ESTIMATE ( column-name [ , value [, relation-string ] ] )
column-name
The name of the column that is being investigated.
value
The value to which the column is compared.
relation-string
The comparison operator used for the comparison,
enclosed in single quotes; the default is '='.
The following statement returns NULL.
SELECT DISTINCT EXPERIENCE_ESTIMATE( emp_id, 200, '>' )
FROM employee
SQL/92
Vendor extension.
Not supported in Adaptive Server Enterprise.
Sybase
"ESTIMATE function" on page 334
Returns the floor of (largest integer not greater than) a number.
FLOOR ( numeric-expression )
numeric- expression
Value
123
123.45
-123.45
Vendor extension.
SQL/92
Compatible with Adaptive Server Enterprise.
Sybase
"CEILING function" on page 318
The number, usually a float.
FLOOR (Value)
123
123
-124

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Adaptive Server Anywhere and is the answer not in the manual?

Questions and answers

Table of Contents