Re: Fwd: How to run query by command prompt in Postgres - Mailing list pgadmin-support

From Raymond O'Donnell
Subject Re: Fwd: How to run query by command prompt in Postgres
Date
Msg-id 4FEAF3BA.40707@iol.ie
Whole thread Raw
In response to Fwd: How to run query by command prompt in Postgres  ("Kapil Kr. Khandelwal" <kapilk@cscape.in>)
Responses Re: Fwd: How to run query by command prompt in Postgres  ("Kapil Kr. Khandelwal" <kapilk@cscape.in>)
Re: Fwd: How to run query by command prompt in Postgres  ("Kapil Kr. Khandelwal" <kapilk@cscape.in>)
Re: Fwd: How to run query by command prompt in Postgres  ("Kapil Kr. Khandelwal" <kapilk@cscape.in>)
List pgadmin-support
On 27/06/2012 12:18, Kapil Kr. Khandelwal wrote:
> 
> 
> Dear Team
> 
> I want to a favour from your side. I want to know, how to run sql query
> by command prompt in postgres sql. 

psql -f file-with-query.sql your-database


http://www.postgresql.org/docs/9.1/static/app-psql.html


Ray.


-- 
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie




pgadmin-support by date:

Previous
From: "Kapil Kr. Khandelwal"
Date:
Subject: Fwd: How to run query by command prompt in Postgres
Next
From: "Kapil Kr. Khandelwal"
Date:
Subject: Re: Fwd: How to run query by command prompt in Postgres