X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id EABF0D1B4EE for ; Mon, 22 Sep 2003 15:54:24 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 53246-01 for ; Mon, 22 Sep 2003 12:53:54 -0300 (ADT) Received: from localhost.localdomain (mail.warpera.com [209.237.14.29]) by svr1.postgresql.org (Postfix) with ESMTP id DB7FFD1B4EA for ; Mon, 22 Sep 2003 12:53:52 -0300 (ADT) From: "Suresh Basandra" To: Subject: Using sql statements in file Date: Mon, 22 Sep 2003 08:54:11 -0700 Message-ID: <000001c38121$c3c1fcc0$7e01a8c0@adminsyiqnhet0> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01C380E7.176324C0" X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.5 tagged_above=0.0 required=5.0 tests=HTML_80_90 X-Spam-Level: X-Archive-Number: 200309/258 X-Sequence-Number: 15236 This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C380E7.176324C0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_0001_01C380E7.176324C0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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

------=_NextPart_000_0001_01C380E7.176324C0--