Answers for "postgresql how to set null for column"

SQL
3

postgresql change column to not null

-- To change a column to NOT NULL:
ALTER TABLE products ALTER COLUMN product_no SET NOT NULL;
Posted by: Guest on November-02-2020
1

postgres set null

UPDATE table1
SET column_a IS NULL
WHERE column_b = 'XXX';
Posted by: Guest on June-11-2021

Code answers related to "postgresql how to set null for column"

Code answers related to "SQL"

Browse Popular Code Answers by Language