Curriculum
Course: SQL
Login

Curriculum

SQL

SQL References

0/80

MySQL Functions

0/139

SQL Server Functions

0/84

SQL Quick Ref

0/1
Text lesson

ASIN

Example

Calculate and return the arcsine (inverse sine) of a number.

SELECT ASIN(0.25);

Definition and Usage

The ASIN() function computes the arcsine (inverse sine) of a number within the range of -1 to 1; outside this range, the function returns NULL.

Syntax

ASIN(number)

Parameter Values

Parameter

Description

number

Required. A numerical value for which the arc cosine will be calculated.

Technical Details

Works in:

Available in SQL Server from 2008 onward, as well as in Azure SQL Database, Azure SQL Data Warehouse, and Parallel Data Warehouse.

More Examples

Example

Compute and return the arcsine (inverse sine) of a given number.

SELECT ASIN(-0.8);