From: scott.marlowe <scott.marlowe@ihs.com>
To: Suresh Basandra <sureshb@warpera.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Using sql statements in file
Date: Tue, 23 Sep 2003 10:54:45 -0600 (MDT)
Message-ID: <Pine.LNX.4.33.0309231054310.12142-100000@css120.ihs.com> (raw)
In-Reply-To: <000001c38121$c3c1fcc0$7e01a8c0@adminsyiqnhet0>
On Mon, 22 Sep 2003, Suresh Basandra wrote:
> Hi,
>
> I would like to do the following using files:
>
> 1. put create database, create tables sql statements in a file and
> execute through prompt
> 2. insert or update data that is put in a file
>
> Please let me know if there are any examples that lists how sql
> statements can be put in a file and used.
psql dbnamehere <filename.sql
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: scott.marlowe@ihs.com, sureshb@warpera.com
Subject: Re: Using sql statements in file
In-Reply-To: <Pine.LNX.4.33.0309231054310.12142-100000@css120.ihs.com>
References: <000001c38121$c3c1fcc0$7e01a8c0@adminsyiqnhet0> <Pine.LNX.4.33.0309231054310.12142-100000@css120.ihs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox