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 / pradeep

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

Another difference is accessing a variable declared as char
is faster than, accessing a varchar2. So CHAR is still used

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between sum and count in sql?

515


how to escape special characters in sql statements? : Sql dba

503


How to pipe multiline string to isql?

568


What is a nested table in word?

525


What is meant by truncate in sql?

520






what is single byte over head in oracle..?

1860


What is secondary key?

505


what is bdb (berkeleydb)? : Sql dba

556


How would you convert date into julian date format?

586


How does a self join work?

508


How to use transactions efficiently : transact sql

537


What are the different types of dbms?

543


what is the difference difference between procedure and packages

9197


what are date and time data types? : Sql dba

530


Is sql better than excel?

512