Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgresql select all column names

SELECT column_names
  FROM information_schema.columns
 WHERE table_schema = 'your_schema'
   AND table_name   = 'your_table'
     ;
-- just for column names
 
PREVIOUS NEXT
Tagged: #postgresql #select #column #names
ADD COMMENT
Topic
Name
5+9 =