Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

TAN (Transact-SQL)

Returns the tangent of the input expression.

Topic link icon Transact-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

Community Additions

ADD
Show:
© 2015 Microsoft