Re: Using sql statements in file - Mailing list pgsql-sql

From Wei Weng
Subject Re: Using sql statements in file
Date
Msg-id Pine.LNX.4.56.0309221202020.18144@localhost.localdomain
Whole thread Raw
In response to Using sql statements in file  ("Suresh Basandra" <sureshb@warpera.com>)
List pgsql-sql
try psql -f filename


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


pgsql-sql by date:

Previous
From: "Suresh Basandra"
Date:
Subject: Using sql statements in file
Next
From: "Suresh Basandra"
Date:
Subject: Using sql statements in file