Alphabetical list of functions
Standards and
compatibility
PLAN function [Miscellaneous]
Function
Syntax
Parameters
Examples
Standards and
compatibility
POWER function [Numeric]
Function
Syntax
Parameters
Examples
Standards and
compatibility
PROPERTY_DESCRIPTION function [System]
Function
356
SELECT PI( * )
♦
SQL/92
Vendor extension.
♦
The PI() function is supported in Adaptive Server Enterprise,
Sybase
but PI(*) is not.
Returns the optimization strategy of a SQL statement, as a string.
PLAN ( string-expression )
string-expression
The SQL statement, which is commonly a SELECT
statement but which may also be an UPDATE or DELETE.
The following statement returns a string containing the plan for executing the
query. This information can help with decisions about indexes to add or how
to structure your database for better performance.
SELECT PLAN( 'select * from department where dept_id >
100' )
♦
Vendor extension.
SQL/92
♦
Not supported by Adaptive Server Enterprise.
Sybase
Calculates one number raised to the power of another.
POWER ( numeric-expression-1 , numeric-expression-2 )
numeric-expression-1
numeric-expression-2
The following statement returns the value 64.
SELECT Power( 2, 6 )
♦
Vendor extension.
SQL/92
♦
Sybase
Compatible with Adaptive Server Enterprise.
Returns a description of a property.
The base.
The exponent.
Need help?
Do you have a question about the Adaptive Server Anywhere and is the answer not in the manual?
Questions and answers