Answers for "how to set default value in postgresql"

SQL
4

postgresql change default value

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

postgresql default value boolean

ALTER TABLE users
  ADD COLUMN "priv_user" BOOLEAN NOT NULL DEFAULT FALSE;
Posted by: Guest on June-30-2021

Code answers related to "how to set default value in postgresql"

Code answers related to "SQL"

Browse Popular Code Answers by Language