Types de colonnes de changement SQL
ALTER TABLE table_name
ALTER COLUMN column_name datatype;
-- Example
ALTER TABLE product
ALTER COLUMN description VARCHAR(250);
Akariuz
ALTER TABLE table_name
ALTER COLUMN column_name datatype;
-- Example
ALTER TABLE product
ALTER COLUMN description VARCHAR(250);
ALTER TABLE table_name
ALTER COLUMN column_name new_data_type(size);
ALTER TABLE dbo.doc_exa
ADD column_b VARCHAR(20) NULL,
column_c INT NULL ;
ALTER TABLE TableName
MODIFY COLUMN ColumnName DataType;