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 do I partition in sql?

704


Is left join faster than inner join?

839


How many primary keys can a table have?

720


What is the starting oracle error number?

754


How are functions and procedures called in PL/SQL?

801






What is %type in sql?

691


What are two statement types in sql?

744


When you have to use a default "rollback to" savepoint of plvlog?

912


what are the limitations of mysql in comparison of oracle? Mysql vs. Oracle. : Sql dba

713


What is the difference between partition and index?

658


How to write pl sql program in mysql command prompt?

711


What is difference between group by and partition by?

688


What are the two types of exceptions in pl/sql?

733


how would you get the current date in mysql? : Sql dba

724


What is substitution variable in pl sql?

693