create temp table

Поиск
Список
Период
Сортировка
От Steven Bradley
Тема create temp table
Дата
Msg-id 3.0.3.32.19990712213105.007af3e0@poptop.llnl.gov
обсуждение исходный текст
Ответы Re: [SQL] create temp table  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-sql
When I try to create a temporary table using the following command:
 create temp table foo as select * from employees;

I get the following error:
 ERROR:  parser: parse error at or near "temp"

I get a similar error if I try:
 create temporary table foo as select * from employees;


Can anyone tell me what I'm doing wrong?  This seems so simple!

Thanks in advance...

PS: I'm using PostgreSQL 6.4.2.

Steven Bradley
Lawrence Livermore National Laboratory
Livermore, California 94550
sbradley@llnl.gov


В списке pgsql-sql по дате отправления:

Предыдущее
От: Chris Bitmead
Дата:
Сообщение: Re: [SQL] variables in pgSQL?
Следующее
От: "Mr. Poet"
Дата:
Сообщение: Using Indexes