17.06.2013 Views

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix A: System Functions<br />

The expression must be of the float data type.<br />

ATN2<br />

The ATN2 function returns the angle in radians for which the tangent is between the two expressions<br />

provided (in other words, it returns the arctangent of the two expressions). The syntax is as follows:<br />

ATN2(, )<br />

Both expression1 and expression2 must be of the float data type.<br />

CEILING<br />

The CEILING function returns the smallest integer that is equal to or greater than the specified expression.<br />

The syntax is as follows:<br />

COS<br />

COT<br />

CEILING()<br />

The COS function returns the cosine of the angle specified in expression. The syntax is as follows:<br />

COS()<br />

The angle given should be in radians and expression must be of the float data type.<br />

The COT function returns the cotangent of the angle specified in expression. The syntax is as follows:<br />

COT()<br />

The angle given should be in radians and expression must be of the float data type.<br />

DEGREES<br />

The DEGREES function takes an angle given in radians (expression) and returns the angle in degrees.<br />

The syntax is as follows:<br />

EXP<br />

612<br />

DEGREES()<br />

The EXP function returns the exponential value of the value given in expression. The syntax is as<br />

follows:<br />

EXP()

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!