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
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 )


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));
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft