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

Add boolean column existing table mysql

Aug 29 2022December 9, 2022

Below is the command to add a boolean datatype column to an existing table in mysql:

ALTER TABLE `YourTableName` ADD COLUMN `YourColumnName` BIT;

Related Posts:

  • MySQL alter column data type
  • mysql add column boolean default 0
  • mysql add column boolean default 1
  • mysql add column boolean default false
  • Check column data type in mysql
Aug 29 2022December 9, 2022

© 2025 Studyraft