TAN Function

Returns the tangent.

Category: Trigonometric
Returned data type: DOUBLE

Syntax

Arguments

expression

specifies any valid SQL expression that evaluates to a numeric value.

Restriction expression cannot be an odd multiple of π /2
Requirement The expression must evaluate to a value in radians.
Data type DOUBLE
See <sql-expression>
FedSQL Expressions

Example

The following statements illustrate the TAN function:
Statements
Results
select tan(0.5);
0.546302
select tan(3.14159/3);
1.732047
Last updated: February 23, 2017