sin

Description

Returns the sine of the angle specified in radians.

Syntax

sin(approx_numeric)

Parameters

approx_numeric

is any approximate numeric (float, real, or double precision) column name, variable, or constant expression.

Examples

Example 1

select sin(45)
-------------------- 
           0.850904

Usage

sin, a mathematical function, returns the sine of the specified angle (measured in radians).

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

Any user can execute sin.

See also

Documentation Transact-SQL Users Guide

Functions cos, degrees, radians