Re: batch file - Mailing list pgsql-sql

From bugi
Subject Re: batch file
Date
Msg-id 9erqja$3161$1@news.tht.net
Whole thread Raw
In response to batch file  (Milen <milend@ansco.com>)
List pgsql-sql
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




pgsql-sql by date:

Previous
From: "Madness"
Date:
Subject: Ynt: corrupted tables !!!
Next
From: "Martin Smetak"
Date:
Subject: Recursive select