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

What is sqlca in powerbuilder?

556


Explain the insert into statements in sql?

561


What is rename command in sql?

460


How do you write an index?

522


Is it possible to link two groups inside a cross products after the cross products group has been created?

587






How to select all records from the table?

599


What are the advantages of sql? Explain

642


Can you have more than one key in a database?

503


What are different types of queries in sql?

517


How to avoid duplicate records in a query?

575


Can we insert data into materialized view?

499


Is pl sql better than sql?

545


What is assignment operator in pl sql?

559


How to call shell script from pl sql procedure?

621


how can we submit a form without a submit button? : Sql dba

531