What is the difference between CHAR and VARCHAR2? If
VARCHAR2 serves the uses of CHAR why CHAR is still used and
not been discarded yet?

Answer Posted / hannan

in char it allocates the memory space as static where as in
varchar2 it allocates the memory space as dynamic


OR

char is a space mapping function where as in varchar2 it is
not mapping the space it occupies the exact size of the
string

Is This Answer Correct ?    22 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Declare Fixed Length String Value In PL SQL

655


Is not null in sql?

551


Explain lock escalation? : Transact sql

695


Why do we need view in sql?

540


What is a pragma statement?

708






Can procedure in package be overloaded?

601


What are the different type of joins in sql?

533


define data blocks ? : Sql dba

537


What is varchar example?

562


Why join is faster than subquery?

592


How do you declare a constant?

516


What is nosql db?

530


What is difference between table and view?

509


What does <> sql mean?

526


Can a foreign key be a duplicate?

497