Answers for "postgresql change null"

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 "SQL"

Browse Popular Code Answers by Language