Re: Executing SQL commands in script files

Поиск
Список
Период
Сортировка
От simran
Тема Re: Executing SQL commands in script files
Дата
Msg-id 1045187385.9344.159.camel@pingu
обсуждение исходный текст
Ответ на Executing SQL commands in script files  ("Susan Hoddinott" <susan@perth.dialix.com.au>)
Список pgsql-novice
You could pipe in the sql commands...

eg.

  % echo "select * from users" | psql userdb


On Thu, 2003-02-13 at 15:15, Susan Hoddinott wrote:
> Following reading through all the documentation it is not clear to me
> how to run a script file containing a number of SQL commands.
> Presumably I do this through the psql interface but how do I tell it
> to run a script?


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

Предыдущее
От: "Andres Ledesma"
Дата:
Сообщение: Re: Executing SQL commands in script files
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Executing SQL commands in script files