Skip to content
Studyraft
Menu
  • About
  • Contact Us
  • Privacy Policy

mysql add column int default null

Aug 29 2022December 9, 2022

Below is the command to add a int data type column as default null to an existing table in mysql:

ALTER TABLE `YourTableName` ADD COLUMN `YourColumnName` INT NULL;

Related Posts:

  • MySQL alter column data type
  • Check column data type in mysql
  • Convert varchar column to int in MySQL
  • mysql add column datetime default null
  • Add boolean column existing table mysql
Aug 29 2022December 9, 2022

© 2025 Studyraft