Thread: Basic Commands

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    1
    Rep Power
    0

    Basic Commands


    Hello,
    I am going to tell you up front I am not a SQL person. So that thought in mind I need to see the columns in a table that I donít know the name of. Can I type a command that tells me the name of the tables in the database?
  2. #2
  3. Banned
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Jul 2012
    Posts
    3,938
    Rep Power
    0
    There's a thing called "Google", which you can use to search the Internet for terms like "postgresql list tables".

    Code:
    \dt
    http://www.postgresql.org/docs/9.2/s...-META-COMMANDS

IMN logo majestic logo threadwatch logo seochat tools logo