From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | sheila bel <sheilabel(at)hotmail(dot)com> |
Cc: | pgsql-general(at)postgreSQL(dot)org |
Subject: | Re: [GENERAL] temporary tables |
Date: | 2000-02-16 16:47:47 |
Message-ID: | 200002161647.LAA02949@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> Hi everyone,
>
> I'm trying to create a temporary table, store some data
> in it then after a while copy the data into another table
> and drop the temporary. I'm not sure exactly how this is
> done. I went to Mr. Momjian's Manual before posting this
> question and found the title of temporary tables at:
> http://www.postgresql.org/docs/aw_pgsql_book/node148.html
> but I was disappointed to find nothing in there.
> Reminded me of when I was looking for info about primary
> keys.
See chapter 8 on combining selects:
SELECT * INTO TEMP newtable FROM oldtable.
--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | kaiq | 2000-02-16 18:50:06 | Re: [GENERAL] like '%6' does not match '%66'? |
Previous Message | Floyd Shackelford | 2000-02-16 16:30:14 | syntax error 2334 : parse error is fixed |