From: PFC <lists@peufeu.com>
To: AKHILESH GUPTA <akhilesh.davim@gmail.com>
To: pgsql-general@postgresql.org
To: pgsql-sql@postgresql.org
Subject: Re: [SQL] input from a external text file......!
Date: Sat, 11 Mar 2006 12:29:14 +0100
Message-ID: <op.s58x60oqcigqcu@apollo13> (raw)
In-Reply-To: <ad39daf90603110229s35aef6faj8764484c7bf78cad@mail.gmail.com>
References: <ad39daf90603110229s35aef6faj8764484c7bf78cad@mail.gmail.com>
inside psql, type :
\i filename
On Sat, 11 Mar 2006 11:29:20 +0100, AKHILESH GUPTA
<akhilesh.davim@gmail.com> wrote:
> Hi All.........!
> I just want to know one thing that is it possible with PGSQL that,
> if I want to insert and execute a query from a external text file
> instead of
> giving it at the pgsql prompt?
> just like in Oracle the file having query is executed with a '@ filename'
> statement at the sql prompt......!
> plz help me and mail me @ akhilesh.davim@gmail.com, it's urgent.
> thanks in advance.......................!
> (i have searched alot, but didn't found anything)
>
> --
> Thanks & Regards,
> Akhilesh
> DAV Institute of Management
> Faridabad(Haryana)
> GSM:-(+919891606064)
> (+911744293789)
>
> "FAILURES CAN BE FORGIVEN BUT AIMING LOW IS A CRIME"
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: lists@peufeu.com, akhilesh.davim@gmail.com, pgsql-general@postgresql.org
Subject: Re: [SQL] input from a external text file......!
In-Reply-To: <op.s58x60oqcigqcu@apollo13>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox