Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
The DreamHome schema uses branchNo CHAR(4) and address VARCHAR(30). What is the difference?
branchNo CHAR(4)
address VARCHAR(30)
There is no difference — the two declarations are interchangeable.
VARCHAR(30) always occupies 30 characters, exactly like CHAR(4) occupies 4.
CHAR is for numeric codes and VARCHAR is for text; they cannot be compared.
CHAR(4) always occupies 4 characters; VARCHAR(30) uses only as many characters as needed, up to a maximum of 30.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!