Display the Structure of PostgreSQL/PgSQL Table Fields

Contributor Icon Contributed by Rex  
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

 

1 Comment -


  1. Jassi Paramjit said on September 9, 2010

    Thanks Sir, I really need this coomand

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -