Answers for "POSTGRES, ALTER TABLE, ADD NOT NULL CONTRAINT"

SQL
3

postgres add not null to existing column

ALTER TABLE table_name ALTER COLUMN column_name SET NOT NULL;
Posted by: Guest on March-12-2020
1

postgresql add not null constraint

alter table users alter column email set not null;
Posted by: Guest on May-06-2020

Code answers related to "POSTGRES, ALTER TABLE, ADD NOT NULL CONTRAINT"

Code answers related to "SQL"

Browse Popular Code Answers by Language