• Skip to primary navigation
  • 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

function

TO_NCLOB Function in Oracle SQL – PLSQL

November 27, 2012 by techhoneyadmin

The TO_NCLOB function in Oracle SQL / PLSQL is used to convert a LOB value to NCLOB value.

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

SELECT TO_NCLOB(expression_1)
FROM table_name;

expression_1 can be CHAR, VARCHAR2, NCHAR, NVARCHAR2, CLOB or NCLOB

Examples:

SELECT TO_NCLOB(employee_name)
FROM employee;

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

TO_LOB Function in Oracle SQL – PLSQL

November 27, 2012 by techhoneyadmin

The TO_LOB function in Oracle SQL / PLSQL is used to convert a LONG or LONG RAW value to LOB value.

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

SELECT TO_LOB(column_name)
FROM table_name;

column_name can be LONG or LONG RAW.

Examples:

SELECT TO_LOB(long_column_name)
FROM employee;

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

TO_DSInterval Function in Oracle SQL – PLSQL

November 27, 2012 by techhoneyadmin

The TO_DSInterval function in Oracle SQL / PLSQL is used to convert a string value to Interval Day to Second type.

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

SELECT TO_DSInterval(character_1 [nls_parameter])
FROM table_name;

  • character_1 can be CHAR, VARCHAR2, NCHAR or NVARCHAR2 data type, it is the value that will be converted to Interval Day to Second.
  • nls_paramter is a decimal character and group separator value.

Examples:

SELECT TO_DSINTERVAL('50 10:30:00')
FROM dual;

Would return ‘+50 10:30:00.000000’


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

TO_CLOB Function in Oracle SQL – PLSQL

November 27, 2012 by techhoneyadmin

The TO_CLOB function in Oracle SQL / PLSQL is used to convert a LOB value from national character set to database character set.

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

SELECT TO_CLOB(expression_1)
FROM table_name;

expression_1 can be CHAR, VARCHAR2, NCHAR, NVARCHAR2, CLOB, NCLOB or LOB_COLUMN

Examples:

SELECT TO_CLOB(employee_name)
FROM employee;

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

RAWTOHEX Function in Oracle SQL – PLSQL

November 27, 2012 by techhoneyadmin

The RAWTOHEX function in Oracle SQL / PLSQL is used to convert raw value to hexadecimal values.

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

SELECT RAWTOHEX (raw_value)
FROM table_name;


raw_value is the raw value that is to be converted to hexadecimal value.

Examples:
Using RAWTOHEX in Oracle SQL / PLSQL SELECT Statement

SELECT RAWTOHEX('A')
FROM DUAL;

Will return ‘41’ as hexadecimal value.

SELECT RAWTOHEX('AB')
FROM DUAL;

Will return ‘4142’ as hexadecimal value.

SELECT RAWTOHEX('Tech Honey')
FROM DUAL;

Will return ‘5465636820486F6E6579’ as hexadecimal value.


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

  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Interim pages omitted …
  • Page 27
  • Go to Next Page »

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