If we declare datatype as VARCHAR then it will occupy space for NULL values, In case of VARCHAR2 datatype it will not occupy any space.
Varchar is of ANSI SQL standart while Varchar2 is of Oracle standard.
Varchar and Varchar2 both are of variable character. Varchar can have MAximum 2000 character while Varchar can contain maximum 4000 character.
Varchar is of ANSI SQL standart while Varchar2 is of Oracle standard.
Varchar and Varchar2 both are of variable character. Varchar can have MAximum 2000 character while Varchar can contain maximum 4000 character.
VARCHAR(5) is fixed length, right padded with null.
VARCHAR2(5) is variable length.