Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: Explain the difference between CHAR and VARCHAR data types.
Answer: CHAR is a fixed-length string data type, while VARCHAR is a variable-length string data type. CHAR pads spaces to the maximum length, while VARCHAR only stores the actual data without padding.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook