Differences between CHAR and VARCHAR in Oracle

Q

What Are the Differences between CHAR and VARCHAR2 in Oracle?

✍: FYIcenter.com

A

The main differences between CHAR and VARCHAR2 are:

  • CHAR stores values in fixed lengths. Values are padded with space characters to match the specified length.
  • VARCHAR2 stores values in variable lengths. Values are not padded with any characters.

 

Understanding SQL Language Basics for Oracle

⇒⇒Oracle Database Tutorials

2016-10-17, 215👍, 0💬