| From: | "bugi" <bakarat(at)poczta(dot)wp(dot)pl> |
|---|---|
| To: | pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: batch file |
| Date: | 2001-05-27 20:12:40 |
| Message-ID: | 9erqja$3161$1@news.tht.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
Create the file for example command.sql and log into the database psql
mydbase
and write command
\i command.sql
Uytkownik "Milen" <milend(at)ansco(dot)com> napisa w wiadomoci
news:01C0E51F(dot)F2E673F0(dot)milend(at)ansco(dot)com(dot)(dot)(dot)
> 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Richards | 2001-05-27 22:45:54 | Left Joins... |
| Previous Message | Torsten Knodt | 2001-05-27 10:57:47 | Is it possible to defer triggers? |