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
r...@iol.ie



-- 
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support

Reply via email to