From: bugi <bakarat@poczta.wp.pl>
To: pgsql-sql@postgresql.org
Subject: Re: batch file
Date: Sun, 27 May 2001 22:12:40 +0200
Message-ID: <9erqja$3161$1@news.tht.net> (raw)
References: <01C0E51F.F2E673F0.milend@ansco.com>
Create the file for example command.sql and log into the database psql
mydbase
and write command
\i command.sql
U¿ytkownik "Milen" <milend@ansco.com> napisa³ w wiadomo¶ci
news:01C0E51F.F2E673F0.milend@ansco.com...
> Hi all!,
>
> I want to execute several SQL statements one after another.
> Does anyone know if it is possible to create something like a "batch file"
> which contains all SQL commands I want.
>
> Best Regards:
> Milen
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
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: bakarat@poczta.wp.pl
Subject: Re: batch file
In-Reply-To: <9erqja$3161$1@news.tht.net>
* 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