Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

TAN (Transact-SQL)

Returns the tangent of the input expression.

Topic link iconTransact-SQL Syntax Conventions


TAN (float_expression )
float_expression

Is an expression of type float or of a type that can be implicitly converted to float, interpreted as number of radians.

The following example returns the tangent of PI()/2.

SELECT TAN(PI()/2);

Here is the result set.

----------------------
1.6331778728383844E+16
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.