SQL ändern Spaltentypen
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 my_table alter column my_column int null