So fügen Sie in SQL keine Nullbeschränkung hinzu
ALTER TABLE table_name MODIFY column_name datatype NOT NULL;
Enthusiastic Echidna
ALTER TABLE table_name MODIFY column_name datatype NOT NULL;
#SQL Server
ALTER TABLE Customers
ALTER COLUMN age INT;
#Oracle
ALTER TABLE Customers
MODIFY (age NULL);
#MySQL
ALTER TABLE Customers
MODIFY age INT;
#PostgreSQL
ALTER TABLE Customer
ALTER COLUMN age DROP NOT NULL;