Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres describe query

select column_name, data_type, character_maximum_length, column_default, is_nullable
from INFORMATION_SCHEMA.COLUMNS where table_name = '<name of table>';
 
PREVIOUS NEXT
Tagged: #postgres #describe #query
ADD COMMENT
Topic
Name
9+8 =