pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Suresh Basandra <sureshb@warpera.com>
To: pgsql-sql@postgresql.org
Subject: Using sql statements in file
Date: Mon, 22 Sep 2003 09:01:49 -0700
Message-ID: <000a01c38122$d49b8920$7e01a8c0@adminsyiqnhet0> (raw)

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.
 
Thanks
Suresh Basandra

view thread (5+ messages)  latest in thread

Message-ID: <000a01c38122$d49b8920$7e01a8c0@adminsyiqnhet0>
Permalink:  ../000a01c38122$d49b8920$7e01a8c0@adminsyiqnhet0/
Also on:    postgresql.org/message-id/000a01c38122$d49b8920$7e01a8c0@adminsyiqnhet0

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sureshb@warpera.com
  Subject: Re: Using sql statements in file
  In-Reply-To: <000a01c38122$d49b8920$7e01a8c0@adminsyiqnhet0>

* 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