pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Roy Souther <roy@silicontao.com>
To: pgsql-sql@postgresql.org
Subject: SELECT * INTO TABLE is not working for me.
Date: Wed, 30 May 2001 11:02:01 -0600
Message-ID: <0105301102010Q.28903@OlympusMons> (raw)

I am testing my SQL commands in pgaccess before I put them into my C++ code.
Trying to copy a table using...
SELECT * INTO TABLE copy_stuff FROM the_stuff

It creates the view but no table called copy_stuff exists after I run it. Why?
I can use...
CREATE TABLE copy_stuff AS SELECT * FROM the_stuff
that works and makes a new table, but it causes other problems with the 
clients that this app is running from. I would like to make the SELECT * INTO 
work. Any idea?

-- 
Roy Souther <roy@silicontao.com>

01100010 10101110 11000110 11010110 00000100 10110010 10010110 11000110 
01001110 11110110 11001110 00010110 10010110 00101110 10000100 10000100 




view thread (3+ messages)  latest in thread

Message-ID: <0105301102010Q.28903@OlympusMons>
Permalink:  ../0105301102010Q.28903@OlympusMons/
Also on:    postgresql.org/message-id/0105301102010Q.28903@OlympusMons

 · 

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: roy@silicontao.com
  Subject: Re: SELECT * INTO TABLE is not working for me.
  In-Reply-To: <0105301102010Q.28903@OlympusMons>

* 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