I executed the following (Oracle 11g) SQL statement to increase the existing column length from VARCHAR2 (20 CHAR) to VARCHAR2 (50 CHAR):
ALTER TABLE USERX.MY_TABLE MODIFY (LASTNAME VARCHAR2(50));
This succeeded without incident, but when I look at the new column Data Type, I see: VARCHAR2(50 BYTE)instead VARCHAR2(50 CHAR).
My questions:
- Why BYTE , not CHAR? What did I do wrong?
- How to fix column length
VARCHAR2(100 CHAR)?
source
share