Write the difference between data type char and datatype String.
Answers
Answered by
2
Answer:
VARCHAR is variable length, while CHAR is fixed length. CHAR is a fixed length string data type, so any remaining space in the field is padded with blanks. CHAR takes up 1 byte per character. ... VARCHAR is a variable length string data type, so it holds only the characters you assign to it.
Answered by
37
VARCHAR is variable length, while CHAR is fixed length. CHAR is a fixed length string data type, so any remaining space in the field is padded with blanks. CHAR takes up 1 byte per character. ... VARCHAR is a variable length string data type, so it holds only the characters you assign to it...
Similar questions
English,
2 months ago
Math,
2 months ago
Social Sciences,
4 months ago
Science,
9 months ago
Physics,
9 months ago