Answered Questions

  • What is difference between varchar and varchar2

    shaik shamsheer

    • Dec 28th, 2011

    In case of varchar it store upto 2000 bytes and in case of varchar2 it stores 4000 bytes
    varchar is occupies space for the null value and varchar2 does not occupy space for null values.

    venkat

    • Dec 4th, 2011

    "varchar" allocates memory in dynamic fashion where as "varchar2" also allocates memory in dynamic fashion but it also supports garbage collection.
    "varchar" is developed along with SQL where as "varchar2" is developed by Oracle.