Answers for "column does not exist postgres"

SQL
0

add column if not exists postgresql

ALTER TABLE table_name ADD COLUMN IF NOT EXISTS column_name INTEGER;
Posted by: Guest on February-17-2021
0

how to check table exists or not in postgresql

SELECT 1 FROM information_schema.tables
WHERE table_schema = 'schema_name'	AND table_name = 'table_name';
Posted by: Guest on June-24-2020

Code answers related to "column does not exist postgres"

Code answers related to "SQL"

Browse Popular Code Answers by Language