Re: batch file

Поиск
Список
Период
Сортировка
От Jason Earl
Тема Re: batch file
Дата
Msg-id 20010525175334.29272.qmail@web10005.mail.yahoo.com
обсуждение исходный текст
Ответ на batch file  (Milen <milend@ansco.com>)
Список 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@ansco.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/


В списке pgsql-sql по дате отправления:

Предыдущее
От: Milen
Дата:
Сообщение: batch file
Следующее
От: Jie Liang
Дата:
Сообщение: Re: batch file