Products Downloads


French version


 

 

Mobile DBMS version: this function is not permitted with DB2 or Oracle.

 

Syntax

SINE(Argument)

 

Description

The SINE SQL scalar function returns the sine of a number.

The SINE and ARC_SINE functions are inverse operations.

 

The argument must be a number whose value is specified in radians.

 

The data type of the result is double-precision floating point.

If the argument can be null, the result can be null; if the argument is null, the result is the null value.

 

Example

Assume the column SINE is a decimal (2,1) column with a value of 1.5.

 

SINE(SINE)

 

Returns the approximate value 0.99.

 

List of SQL scalar functions by topic

 

↑ Top of page


  • Aucune étiquette