Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Postgres: Update Boolean column with false if column contains null

UPDATE test
SET utilized = false
WHERE utilized IS NULL;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Update #Boolean #column #false #column #null
ADD COMMENT
Topic
Name
7+6 =