Friday, October 29, 2010

Difference between char and varchar

In char it allocates the memory space as static where as in
varchar2 it allocates the memory space as dynamic
char is a space mapping function where as in varchar2 it is
not mapping the space it occupies the exact size of the
string
Another difference is accessing a variable declared as char
is faster than, accessing a varchar2
.

No comments:

Post a Comment