Skip to main content
Trigonometric function that calculates the tangent of a specific value in radians.

Syntax

Parameters

Return Type

TAN returns a value of type DOUBLE PRECISION.

Example

The following query calculates the tangent of 1.57 radians. 1.57 is approximately pi/2:

Rows: 1Execution time: 6.98ms

The following query calculates the tangent of pi:

Rows: 1Execution time: 4.68ms