Re: [SQL] importing a pre sql db - Mailing list pgsql-sql

From Leslie Mikesell
Subject Re: [SQL] importing a pre sql db
Date
Msg-id 199808050515.AAA00727@Mercury.mcs.net
Whole thread Raw
In response to importing a pre sql db  (SierraAdm@aol.com)
List pgsql-sql
According to SierraAdm@aol.com:
>   I can convert that to
>     create table wc_members  (
>       wc_last_name  char(20),
>       ...  more such ...  )
>   How do I get it in as the table definition?

You can type it directly into psql (don't forget the terminating ';')
but I usually put all the table definitions, sequences, indexes
and grant statements in a file and use the '\i file' command from
psql to execute them.

  Les Mikesell
    les@mcs.com

pgsql-sql by date:

Previous
From: "Walter St. John"
Date:
Subject: offtopic question regarding tools.
Next
From: Maarten Boekhold
Date:
Subject: Re: [SQL] Pg.pm on NT