Ajouter la colonne SQL
ALTER TABLE table_name
ADD column_name datatype;
--example
ALTER TABLE Customers
ADD Email varchar(255);
Cooperative Chinchilla
ALTER TABLE table_name
ADD column_name datatype;
--example
ALTER TABLE Customers
ADD Email varchar(255);
ALTER TABLE dbo.doc_exa
ADD column_b VARCHAR(20) NULL,
column_c INT NULL ;
ALTER TABLE table
ADD COLUMN column VARCHAR (255) NOT NULL AFTER column;
ALTER TABLE table_name
ADD column_name datatype;
ALTER TABLE users AUTO_INCREMENT=1001;
ALTER TABLE table_name
ADD column_name INT -- datatype
-- With default vaue and not nullable
ALTER TABLE table_name
ADD column_name BIT DEFAULT 0 NOT NULL --