Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

check table exist postgresql

SELECT EXISTS (
   SELECT FROM pg_tables
   WHERE  schemaname = 'schema_name'
   AND    tablename  = 'table_name'
   );
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #table #exist #postgresql
ADD COMMENT
Topic
Name
4+8 =