Pergunta de entrevista da empresa Aloha Technology

what is the difference between CHAR and VARCHAR

Resposta da entrevista

Sigiloso

15 de ago. de 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"