Export (0) Print
Expand All
ABS
ALL
AND
ANY
AVG
bit
COS
COT
DAY
EXP
GO
IN
LEN
LOG
MAX
MIN
NOT
OR
PI
SET
SIN
STR
SUM
TAN
USE
VAR
Expand Minimize

TAN

SQL Server 2000

Returns the tangent of the input expression.

Syntax

TAN ( float_expression )

Arguments

float_expression

Is an expression of type float or real, interpreted as number of radians.

Return Types

float

Examples

This example returns the tangent of PI()/2.

SELECT TAN(PI()/2)

Here is the result set:

----------------------
1.6331778728383844E+16

See Also

Mathematical Functions

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft