Thanks so much
A reader, April 07, 2017 - 6:15 pm UTC
Thanks so much Connor!!.
Is oracle internally convert VARCHAR to VARCHAR2 ?
I have created table with VARCHAR but oracle internally converted to VARCHAR2.
create table zztemp_changedattype (id number(10), col1 varchar(50),col2 varchar2(150));
desc zztemp_changedattype
-----------------------
Name Null? Type
---- ----- -------------
ID NUMBER(10)
COL1 VARCHAR2(50) ----CONVERTED VARCHAR2
COL2 VARCHAR2(150)
Is it due any parameter or it is default behavior ?
Regards,
Prasun
April 08, 2017 - 5:23 am UTC
Internally they are currently the same thing.
VARCHAR2 is always the recommended option.