Skip to content
Oracle Home

Oracle Home

For Everything Oracle and more

Menu

  • Home
  • Articles
  • About Me
  • Computer Book Reviews
  • New Computer Books

Oracle Built-in SQL Functions

You are here: Oracle Home > Oracle Built-in SQL Functions

Chartorowid – Oracle SQL Function

CHARTOROWID converts a string representation of a ROWID to a ROWID value. The string argument can be a CHAR,VARCHAR2,NCHAR, or NVARCHAR2 data type to ROWID data type. Example: SELECT ID from some_table WHERE ROWID = CHARTOROWID(‘AAAAtmAAEAAAAFmAAA’); ID —— 22

orahome 20/09/2018 Oracle Built-in SQL Functions Read more

Compose – Oracle SQL Function

COMPOSE allows you to compose a UNICODE string by passing in one or more code points. COMPOSE will add them all together and return the result. Example: SELECT COMPOSE(‘Let”s go to the cafe301 to get some tea.’)) as RESULT from

orahome 20/09/2018 Oracle Built-in SQL Functions Read more

Convert – Oracle SQL Function

CONVERT converts the string argument from one character set to another one. Syntax: CONVERT(string,destination_set, source_set) The source_set argument specifies the character set of the stored data in the database if ‘string’ is a column name, or the character set of

orahome 20/09/2018 Oracle Built-in SQL Functions Read more

To_clob – Oracle SQL Function

TO_CLOB converts character data to a CLOB. The string argument can be a CHAR, VARCHAR2, NCHAR NVARCHAR2, CLOB, or NCLOB data type. Example: SELECT TO_CLOB(‘SOME DATA’) as RESULT from DUAL; RESULT ———— SOME DATA

orahome 20/09/2018 Oracle Built-in SQL Functions Read more

To_date – Oracle SQL Function

TO_DATE converts a string to a DATE. The string argument can be a CHAR, VARCHAR2, NCHAR, or NVARCHAR2 data type. The format argument can be any valid date format. You can also specify the NLS_DATE_LANGUAGE parameter to change the language

orahome 20/09/2018 Oracle Built-in SQL Functions Read more

To_number – Oracle SQL Function

TO_NUMBER converts argument 1 toa NUMBER value. Syntax: TO_NUMBER(arg1,format,params) The arg1 argument can be a BINARY_FLOAT, BINARY_DOUBLE,CHAR,VARCHAR2,NCHAR, or NVARCHAR2 data type. The format parameter can be any valid date format. Valid options for the ‘params’ argument: NLS_NUMERIC_CHARACTERS = To specify

orahome 20/09/2018 Oracle Built-in SQL Functions Read more

Cardinality – Oracle SQL Function

CARDINALITY returns the number of records in a nested table. The function returns a NUMBER result. Example: SELECT ID,NAME,CARDINALITY(some_nested_table) FROM TABLE_NAME;

orahome 20/09/2018 Oracle Built-in SQL Functions Read more

Collect – Oracle SQL Function

COLLECT is used with the CAST function to create a nested table of the specified column name and cast it to the type specified in the CAST function. Example: SELECT CAST(COLLECT(some_column) as some_type) FROM table_name;

orahome 20/09/2018 Oracle Built-in SQL Functions Read more

Set – Oracle SQL Function

SET converts the nested table passed as an argument toa SET by removing any duplicate records from the table. Example: SELECT ID,NAME,SET(some_nested_table) FROM TABLE_NAME;

orahome 20/09/2018 Oracle Built-in SQL Functions Read more

FROM_TZ – Oracle SQL Function

FROM_TZ converts a timestamp and time zone value into a TIMESTAMP WITH TIMEZONE value. Syntax: FROM_TZ(timestamp, timezone) Example: SELECT FROM_TZ(TIMESTAMP ‘2004-10-24 06:00:00’, ‘2:00’) as RESULT FROM DUAL; RESULT ————– 24-Oct-04 06.00.00 AM +2:00

orahome 20/09/2018 Oracle Built-in SQL Functions Read more
  • « Previous

Recent Posts

  • SQL Server OUTPUT Command
  • Direct Joins for UPDATE and DELETE in Oracle 23ai Database
  • GROUP BY Column Alias or Position in Oracle 23ai
  • SELECT without FROM DUAL in Oracle 23ai Database
  • IF EXISTS and IF NOT EXISTS in SQL in Oracle 23ai Database

Categories

  • Access Functions
  • Affiliate Marketing
  • Articles
  • Book Reviews
    • MySQL Book Reviews
    • Oracle Book Reviews
    • Other Book Reviews
    • PHP Book Reviews
    • Web Marketing Book Reviews
  • Computer Book Releases
  • Computer Magazines
  • Computer Products
  • CSS Tips
  • Excel Functions
  • Javascript Code
  • Microsoft Access
  • MySQL Code
  • Oracle 23ai
  • Oracle Built-in SQL Functions
  • Oracle DBA
  • Oracle Error Codes
    • EXP Error Codes
    • IMP Error Codes
    • ORA Error Codes
    • PLS Error Codes
  • Oracle Forms
  • Oracle Functions
  • Oracle Procedures
  • Oracle SQL
  • PHP Code
  • SEO Tips
  • SQL Server
  • Unix Code
  • Video Editing
  • Web Hosting

Archives

  • March 2025
  • July 2024
  • March 2024
  • July 2021
  • March 2021
  • November 2020
  • August 2020
  • June 2020
  • May 2020
  • March 2020
  • March 2019
  • September 2018

Tag Cloud

059652708X 0596100892 0596101058 0596528000 book review case insensitive search oracle case insensitive search sql center data column sql centre data column sql compare strings oracle compare strings sql convert floating point numbers create varrays sql deleted oracle datafile difference between two dates drop all empty tables drop column from table oracle drop column in table drop column table sql employee service time sql limit objects created by user mysql stored procedure programming network windows xp to windows vista number types sql ora-01722 oracle 11g new features oracle 23ai oracle datafile oracle pl/sql programming oracle rename column table remove leading zeros remove zeros from string sql rename table column sql select last saturday in every month select random number set oracle select random numbers sql sql difference between dates sql time between dates start windows oracle website accessibility website screen readers windows oracle service windows vista windows vista the definitive guide windows xp

Amazon Offers

Categories

  • Oracle SQL
  • Unix Code
  • MySQL Code
  • Oracle Functions
  • PHP Code
  • Oracle DBA
  • Oracle Procedures
  • Oracle Forms
  • Oracle 23ai
  • ORA Error Codes
  • Computer Magazines

Pages

  • ASCII Table Lookup
  • Computer Book Reviews
  • New Computer Books
  • Oracle Database 10g
  • Oracle Employers
  • Oracle Forms
  • Oracle Jobsites
  • Oracle Reports
  • Oracle White Papers
  • Top 10 Javascript Books
  • Top 10 MySQL Computer Books
  • Top 10 Oracle Computer Books
  • Top 10 PHP Computer Books
  • Top 10 Raspberry Pi Books
  • Top 10 SEO and Internet Marketing Books
  • Unix Commands Cheat Sheet
Copyright © 2025 Oracle Home. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.
  • Sitemap
  • Contact us
  • Privacy Policy