Differences between CHAR and NCHAR in Oracle

Q

What Are the Differences between CHAR and NCHAR in Oracle?

✍: FYIcenter.com

A

Both CHAR and NCHAR are fixed length character data types. But they have the following differences:

  • CHAR's size is specified in bytes by default.
  • NCHAR's size is specified in characters by default. A character could be 1 byte to 4 bytes long depending on the character set used.
  • NCHAR stores characters in Unicode.

 

Differences between CHAR and VARCHAR in Oracle

Oracle Built-in Data Types in Oracle

Understanding SQL Language Basics for Oracle

⇑⇑ Oracle Database Tutorials

2020-04-25, 1692🔥, 0💬