Re: How do I use text script containing SQL? - Mailing list pgsql-sql

From David Olbersen
Subject Re: How do I use text script containing SQL?
Date
Msg-id Pine.LNX.4.31.0103051108010.925-100000@bubbles.electricutopia.net
Whole thread Raw
In response to How do I use text script containing SQL?  ("Jeff S." <pgsqluser@yahoo.com>)
Responses Re: How do I use text script containing SQL?  (Mathijs Brands <mathijs@ilse.nl>)
List 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 by date:

Previous
From: clayton cottingham
Date:
Subject: Re: How do I use text script containing SQL?
Next
From: Jelle Ouwerkerk
Date:
Subject: random