This Oracle tutorial explains how to use the Oracle/PLSQL CONVERT function with syntax and examples.
The Oracle/PLSQL CONVERT function converts a string from one character set to another.
The syntax of the CONVERT function is:
The string to be converted.
The character set to convert to.
Optional. The character set to convert from.
The CONVERT function returns a string value in particular character set. The available character sets are:
Character Set | Description |
---|---|
US7ASCII | US 7-bit ASCII character set |
WE8DEC | West European 8-bit character set |
WE8HP | HP West European Laserjet 8-bit character set |
F7DEC | DEC French 7-bit character set |
WE8EBCDIC500 | CISCO West European EBCDIC Code Page 500 |
WE8PC850 | CISCO PC Code Page 850 |
WE8ISO8859P1 | ISO 8859-1 West European 8-bit character set |
The CONVERT function can be used in the following versions of Oracle/PLSQL:
Let's look at some Oracle CONVERT function examples and explore how to use the CONVERT function in Oracle/PLSQL.
For example: