Display the structure of PostgreSQL/PgSQL table fields

Contributor Icon Contributed by Rex Date Icon December 17, 2003  
Tag Icon Tagged: PostgreSQL PgSQL


From within the psql monitor, issue the following command to view the structure of the table named ‘elephants’

\d elephants

Previous recipe | Next recipe |
 
blog comments powered by Disqus