Re: How do I use text script containing SQL?

Поиск
Список
Период
Сортировка
От David Olbersen
Тема Re: How do I use text script containing SQL?
Дата
Msg-id Pine.LNX.4.31.0103051108010.925-100000@bubbles.electricutopia.net
обсуждение исходный текст
Ответ на How do I use text script containing SQL?  ("Jeff S." <pgsqluser@yahoo.com>)
Ответы Re: How do I use text script containing SQL?  (Mathijs Brands <mathijs@ilse.nl>)
Список pgsql-sql
On Mon, 5 Mar 2001, Jeff S. wrote:

->I want to be able to use the file to create my table.
->I've tried psql -d databasename -e < filename.txt
->but that doesn't work.

You're making it too dificult :-)
'psql -d databasename < filename.txt' should work just fine

-- Dave



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

Предыдущее
От: clayton cottingham
Дата:
Сообщение: Re: How do I use text script containing SQL?
Следующее
От: Jelle Ouwerkerk
Дата:
Сообщение: random