Answers for "postgres add column default value"

SQL
31

postgresql add column with constraint

ALTER TABLE customers 
ADD COLUMN contact_name VARCHAR NOT NULL;
Posted by: Guest on February-18-2020
4

postgresql change default value

ALTER TABLE ONLY users ALTER COLUMN lang SET DEFAULT 'en_GB';
Posted by: Guest on March-22-2020

Code answers related to "postgres add column default value"

Code answers related to "SQL"

Browse Popular Code Answers by Language