Re: batch file

From: "Richard Huxton" <dev(at)archonet(dot)com>
To: "Milen" <milend(at)ansco(dot)com>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: batch file
Date: 2001-05-25 18:19:47
Message-ID: 006501c0e547$49a89e80$1001a8c0@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

From: "Milen" <milend(at)ansco(dot)com>
> 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.

You can do exactly that.

Use "man psql" to find out about the -f option or the \i option.

- Richard Huxton

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Madness 2001-05-26 07:49:05 Ynt: where's ALTER TABLE table DROP [ COLUMN ] column???
Previous Message Peter Eisentraut 2001-05-25 18:11:27 Re: batch file