i am using PostgreSQL database for my application. Now i have to import my all databases in it.
I am using this command for importing,
psql -U postgres Employees < dbimport.pgsql
but it is not importing. I have already created the database with name Employees in my PostgreSQL. Getting Error like,
42601: syntax error at or near "psql"
Please suggest me if i am going wrong.
psqlis a command line program, not a SQL command (and again: that error message should be part of your question, not a comment)