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 5FA74D1C9F2 for ; Mon, 22 Sep 2003 16:01:58 +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 53619-06 for ; Mon, 22 Sep 2003 13:01:26 -0300 (ADT) Received: from localhost.localdomain (mail.warpera.com [209.237.14.29]) by svr1.postgresql.org (Postfix) with ESMTP id 672C8D1C9EC for ; Mon, 22 Sep 2003 13:01:25 -0300 (ADT) From: "Suresh Basandra" To: Subject: Using sql statements in file Date: Mon, 22 Sep 2003 09:01:49 -0700 Message-ID: <000a01c38122$d49b8920$7e01a8c0@adminsyiqnhet0> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000B_01C380E8.283CB120" X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/256 X-Sequence-Number: 15234 This is a multi-part message in MIME format. ------=_NextPart_000_000B_01C380E8.283CB120 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_000B_01C380E8.283CB120 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_000B_01C380E8.283CB120--