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
Math,
2 months ago
Political Science,
2 months ago
Social Sciences,
5 months ago
Science,
11 months ago
Physics,
11 months ago