SQLite Tutorial SQLite Advanced SQLite Database SQLite References

SQLite ASINH() Function



The SQLite ASINH() function returns inverse hyperbolic sine of a value. The inverse hyperbolic sine of x is defined as:

asinh

Syntax

ASINH(x)

Parameters

x Required. Specify the value.

Return Value

Returns the inverse hyperbolic sine of the value.

Example 1:

The example below shows the usage of ASINH() function.

SELECT ASINH(1);
Result:0.881373587019543

SELECT ASINH(2);
Result: 1.44363547517881

SELECT ASINH(3);
Result: 1.81844645923207

SELECT ASINH(-1);
Result: -0.881373587019543

SELECT ASINH(-2);
Result: -1.44363547517881

Example 2:

Consider a database table called Sample with the following records:

Datax
Data 11
Data 25
Data 310
Data 4-5
Data 5-10

The statement given below can be used to calculate the inverse hyperbolic sine of records of column x.

SELECT *, ASINH(x) AS ASINH_Value FROM Sample;

This will produce the result as shown below:

DataxASINH_Value
Data 110.881373587019543
Data 252.31243834127275
Data 3102.99822295029797
Data 4-5-2.31243834127275
Data 5-10-2.99822295029797

❮ SQLite Functions