ASA SQL Reference
SQL Functions
Alphabetical list of functions
Returns the arc-cosine, in radians, of a numeric expression.
ACOS ( numeric-expression )
numeric-expression The cosine of the angle.
SQL/92 Vendor extension.
SQL/99 Vendor extension.
Sybase Compatible with Adaptive Server Enterprise.
The following statement returns the value 1998-06-12.
SELECT YMD( 1998, 06, 12 )
If the values are outside their normal range, the date will adjust accordingly. For example, the following statement returns the value 2000-03-01.
SELECT YMD( 1999, 15, 1 )
The following statement returns the value 1.023945.
SELECT ACOS( 0.52 )