Answers for "mysql add column tinyint default 0"

SQL
1

mysql add column default value

ALTER TABLE table1 ADD COLUMN foo INT DEFAULT 0;
Posted by: Guest on May-17-2020
0

mysql add column tinyint default 0

ALTER TABLE tablename
  ADD columnname tinyint(1) DEFAULT 0;
Posted by: Guest on July-28-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language