Aloha Technology Interview Question

what is the difference between CHAR and VARCHAR

Interview Answer

Anonymous

Aug 15, 2016

Only Main difference is that in varchar remaining empty space is terminated For example you take char(20) and varchar (20) Now you provided "abcde" as input then char will store "abcde..and15 blanks" meanwhile varchar will only store "abcde"