Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres drop column if exists

ALTER TABLE table_name 
DROP COLUMN IF EXISTS column_name;
 
PREVIOUS NEXT
Tagged: #postgres #drop #column #exists
ADD COMMENT
Topic
Name
6+8 =