Run postgresql queries from the command line

postgreSQL

Syntax:
psql.exe -U <username> -d <database_name>
Not to use semicolon ( ; )

Example:
E:\PostgreSQL\9.5\bin>psql.exe -U postgres -d amazone_db

Demo:



Share on Google Plus

About Ram Pukar

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a Comment