TechNet
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

SIN (SQL Server Compact)

Returns the trigonometric sine of the given angle, in radians, in an approximate numeric (float) expression.


SIN (float_expression )

float_expression

An expression of data types that can be implicitly converted to float.

The following example returns the sine of various angles.

CREATE TABLE Sine ("SIN(0)" float, "SIN(PI()/6)" float, "SIN(PI()/4)" float, "SIN(PI()/3)" float, "SIN(PI()/2)" float);
INSERT INTO Sine VALUES (SIN(0), SIN(PI()/6), SIN(PI()/4), SIN(PI()/3), SIN(PI()/2));
SELECT * FROM Sine;
Show:
© 2016 Microsoft