From: | Jason Earl <jdearl(at)yahoo(dot)com> |
---|---|
To: | Milen <milend(at)ansco(dot)com>, "'pgsql-sql(at)postgresql(dot)org(dot)'" <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: batch file |
Date: | 2001-05-25 17:53:34 |
Message-ID: | 20010525175334.29272.qmail@web10005.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
I just put files commands that I want in some file
like "foo.sql" and then do:
psql mydatabase -f foo.sql
Is this what you are looking for?
Jason
--- Milen <milend(at)ansco(dot)com> wrote:
> 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
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Jie Liang | 2001-05-25 18:04:14 | Re: batch file |
Previous Message | Milen | 2001-05-25 17:38:14 | batch file |