ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

What is the difference between varchar and varchar2 ?

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. If you rely on empty string and NULL being the same thing, you should use VARCHAR2.

user-image
تم إضافة السؤال من قبل Akwin Dhas
تاريخ النشر: 2017/09/29
Akwin Dhas
من قبل Akwin Dhas

  • 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.
  • If you rely on empty string and NULL being the same thing, you should use VARCHAR2.