Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the tangent of the input expression.
Transact-SQL Syntax Conventions
Syntax
TAN ( float_expression )
Arguments
- float_expression
Is an expression of type float or of a type that can be implicitly converted to float, interpreted as number of radians.
Return Types
float
Examples
The following example returns the tangent of PI()/2
.
SELECT TAN(PI()/2);
Here is the result set.
----------------------
1.6331778728383844E+16
See Also
Reference
Mathematical Functions (Transact-SQL)