5.5. Conversion Functions

Conversion functions allow the conversion of values from one datatype to another. The most commonly used conversion functions are:

TO_CHAR

Converts a date or a numeric value to a character string.

TO_NUMBER

Converts a character string to a numeric value.

TO_DATE

Converts a character string to a date value.

There are a number of other conversion functions available; all are included in this section.

Get Oracle SQL: the Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.