• Skip to main content

Tech Honey

The #1 Website for Oracle PL/SQL, OA Framework and HTML

  • Home
  • HTML
    • Tags in HTML
    • HTML Attributes
  • OA Framework
    • Item in OAF
    • Regions in OAF
    • General OAF Topics
  • Oracle
    • statement
    • function
    • clause
    • plsql
    • sql

ASIN Function in Oracle SQL – PLSQL

November 5, 2012 by techhoneyadmin

The ASIN function in Oracle SQL / PLSQL is used to get arc sine of a number.

Syntax for the ASIN function in Oracle SQL / PLSQL is:

SELECT ASIN(N)
FROM table;

N is the number whose arc sine is to be determined.

Example 1:

SELECT ASIN(0.4)
FROM DUAL; 

Will return “0.411516846067488”


Example 2:

SELECT ASIN(0)
 FROM DUAL;

Will return “0”


Example 3:

SELECT ASIN(-0.4)
 FROM DUAL;

Will return “-0.411516846067488”


Filed Under: function Tagged With: asin function in oracle plsql, asin function in oracle sql, ASINPLSQL, how to use asin function in oracle database query, how to use asin function in oracle plsql, how to use asin function in oracle sql, syntax and example of asin function in oracle database query, syntax and example of asin function in oracle plsql, syntax and example of asin function in oracle sql, using asin function in oracle database query, using asin function in oracle plsql, using asin function in oracle sql

SIGN Function in Oracle SQL – PLSQL

November 5, 2012 by techhoneyadmin

The SIGN function in Oracle SQL / PLSQL is used to get a value which indicates the sign of a number.

Syntax for the SIGN function in Oracle SQL / PLSQL is:

SELECT SIGN(N)
FROM table_name;

  • N is the number whose SIGN is to be determined.
  • If N >0 then 1 is returned
  • If N = 0 then 0 is returned
  • If N< 0 then -1 is returned

Example 1:

SELECT SIGN(1.23456)
FROM DUAL; 

Will return “1”


Example 2:

SELECT SIGN(0)
FROM DUAL;

Will return “0”


Example 3:

SELECT SIGN(-2.051)
FROM DUAL;

Will return “-1”


Filed Under: function Tagged With: how to use sign function in oracle database query, how to use sign function in oracle plsql, how to use sign function in oracle sql, sign function in oracle plsql, sign function in oracle sql, SIGNPLSQL, syntax and example of sign function in oracle database query, syntax and example of sign function in oracle plsql, syntax and example of sign function in oracle sql, using sign function in oracle database query, using sign function in oracle plsql, using sign function in oracle sql

FLOOR Function in Oracle SQL – PLSQL

November 5, 2012 by techhoneyadmin

The FLOOR function in Oracle SQL / PLSQL is used to get a largest integer number which is less than or equal to the number passed to the function.

Syntax for the FLOOR function in Oracle SQL / PLSQL is:

SELECT FLOOR(N)
FROM table_name;

  • N is the number passed

Example 1:

SELECT FLOOR(1.23456)
FROM DUAL;

Will return “1”


Example 2:

SELECT FLOOR(2.2)
FROM DUAL;

Will return “2”


Example 3:

SELECT FLOOR(2.051)
FROM DUAL;

Will return “2”


Example 4:

SELECT FLOOR(-2.051)
FROM DUAL;

Will return “-3”


Filed Under: function Tagged With: floor function in oracle plsql, floor function in oracle sql, FLOORPLSQL, how to use floor function in oracle database query, how to use floor function in oracle plsql, how to use floor function in oracle sql, syntax and example of floor function in oracle database query, syntax and example of floor function in oracle plsql, syntax and example of floor function in oracle sql, using floor function in oracle database query, using floor function in oracle plsql, using floor function in oracle sql

CEIL Function in Oracle SQL – PLSQL

November 5, 2012 by techhoneyadmin

The CEIL function in Oracle SQL / PLSQL is used to get a smallest integer number which is greater than or equal to the number passed to the function.

Syntax for the CEIL function in Oracle SQL / PLSQL is:

SELECT CEIL(N)
FROM table_name;

  • N is the number passed

Example 1:

SELECT CEIL(1.23456)
FROM DUAL;

Will return “2”


Example 2:

SELECT CEIL(2.2)
FROM DUAL;

Will return “3”


Example 3:

SELECT CEIL(2.051)
FROM DUAL;

Will return “3”


Example 4:

SELECT CEIL(-2.051)
FROM DUAL; 

Will return “-2”


Filed Under: function Tagged With: CEIL (ceiling) function in oracle plsql, CEIL (ceiling) function in oracle sql, CEILPLSQL, how to use CEIL (ceiling) function in oracle database query, how to use CEIL (ceiling) function in oracle plsql, how to use CEIL (ceiling) function in oracle sql, syntax and example of CEIL (ceiling) function in oracle database query, syntax and example of CEIL (ceiling) function in oracle plsql, syntax and example of CEIL (ceiling) function in oracle sql, using CEIL (ceiling) function in oracle database query, using CEIL (ceiling) function in oracle plsql, using CEIL (ceiling) function in oracle sql

TRUNC Function in Oracle SQL – PLSQL

November 5, 2012 by techhoneyadmin

The TRUNC function in Oracle SQL / PLSQL is used to get a number truncated to specific number of decimal places.

Syntax for the TRUNC function in Oracle SQL / PLSQL is:

SELECT TRUNC(N,D)
FROM table_name;

  • N is the number to be truncated
  • D is the decimal places up to which N is to be truncated

Example 1:

SELECT TRUNC(1.23456,4)
FROM DUAL; 

Will return “1.2345”


Example 2:

SELECT TRUNC(1.23456,3)
FROM DUAL;

Will return “1.234”


Example 3:

SELECT TRUNC(1.23456,2)
FROM DUAL;

Will return “1.23”


Example 4:

SELECT TRUNC(-1.23456,3)
FROM DUAL;

Will return “-1.234”


Example 5:

SELECT TRUNC(1.23456)
FROM DUAL;

Will return “1”


Filed Under: function Tagged With: how to use trunc function in oracle database query, how to use trunc function in oracle plsql, how to use trunc function in oracle sql, syntax and example of trunc function in oracle database query, syntax and example of trunc function in oracle plsql, syntax and example of trunc function in oracle sql, trunc function in oracle plsql, trunc function in oracle sql, TRUNCNUMBERPLSQL, using trunc function in oracle database query, using trunc function in oracle plsql, using trunc function in oracle sql

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 37
  • Page 38
  • Page 39
  • Page 40
  • Page 41
  • Interim pages omitted …
  • Page 76
  • Go to Next Page »

Copyright © 2025 · Parallax Pro on Genesis Framework · WordPress · Log in