Re: executing sql statements from file

Поиск
Список
Период
Сортировка
От Lee Harr
Тема Re: executing sql statements from file
Дата
Msg-id amitcu$85g$1@news.hub.org
обсуждение исходный текст
Список pgsql-general
In article <3d8c77ae$0$13217$e4fe514c@dreader4.news.xs4all.nl>, Frank wrote:
> Hello,
>
> how can I execute a bunch of sql queries from a file? This is normally done
> by connecting to the database and something like
>
>=> start /tmp/hutsemefluts.sql
> or
>=> @ /tmp/hutsemefluts.sql
>
> but how can this by done in PostgreSQL?
>
> thanks
>

\i /tmp/hutsemefluts.sql



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

Предыдущее
От: Björn Lundin
Дата:
Сообщение: Re: shell scripting
Следующее
От: Greg Stark
Дата:
Сообщение: Re: IN vs EXIIST