Oracle ASIN, ACOS, ATAN, ATAN2, and COSH Functions


/ Published in: SQL
Save to your folder(s)

A few examples of the ASIN, function.


Copy this code and paste it in your HTML
  1. --ASIN, ACOS, ATAN, ATAN2
  2.  
  3. --Example 1
  4. SELECT ASIN(-0.4) AS asin_value
  5. FROM dual;
  6.  
  7. --Example 2
  8. SELECT ACOS(0.31) AS acos_value
  9. FROM dual;
  10.  
  11.  
  12. --Example 3
  13. SELECT ATAN(1.1) AS atan_value
  14. FROM dual;
  15.  
  16. --Example 4
  17. SELECT ATAN2(3, 1.6) AS atan2_value
  18. FROM dual;
  19.  
  20. --Example 5
  21. SELECT COSH(5) AS cosh_value
  22. FROM dual;
  23.  
  24.  
  25. SELECT
  26. ASIN(-0.4) AS asin_value,
  27. ACOS(0.31) AS acos_value,
  28. ATAN(1.1) AS atan_value,
  29. ATAN2(3, 1.6) AS atan2_value,
  30. COSH(5) AS cosh_value
  31. FROM dual;

URL: http://www.databasestar.com/oracle-asin-acos-atan-atan2-cosh-functions

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.