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