Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
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.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!