Pregunta de entrevista de Aloha Technology

what is the difference between CHAR and VARCHAR

Respuesta de la entrevista

Anónimo

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