Excellent as usual
Shankar sen, January 08, 2009 - 11:18 pm UTC
i have learnt a lot from this site. the most frequently visited site for me.
Mansi, June 30, 2017 - 6:36 pm UTC
Tom,
Somewhere on net I read that,
VARCHAR is reserved by Oracle to support distinction between NULL and empty string in future, as ANSI standard prescribes.
VARCHAR2 does not distinguish between a NULL and empty string, and never will.
Is it true,because I tried this thing on LiveSQL but both gave same result. Both are distinguishing between Null and empty string ?
July 01, 2017 - 2:50 am UTC
Currently they are the same.
But VARCHAR *may* one day in future have a different usage pattern than VARCHAR2.
So stick with VARCHAR2