May 2020
Beginner
564 pages
14h 9m
English
Let's say you discover that you need the schoolID values to be 16 characters long instead of 15 characters long. You can update the length of the field by executing the following query:
USE foraltering;ALTER TABLE tableforalteringCHANGE COLUMN schoolID schoolID VARCHAR(16);
If you realize that you want the schoolID values to be 7 characters long, you can execute the following query to change the length of the field:
Read now
Unlock full access