From: | "Nicolas JOUANIN" <n(dot)jouanin(at)regie-france(dot)com> |
---|---|
To: | "Rado Petrik" <r(dot)p(at)szm(dot)sk>, <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: CREATE table1 FROM table2 |
Date: | 2003-06-17 15:34:05 |
Message-ID: | CEEJJOCKHCPFNIOMMIDFCEEACHAA.n.jouanin@regie-france.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Hi,
Documentation says:
CREATE [ [ LOCAL ] { TEMPORARY | TEMP } ] TABLE table_name [ (column_name [,
...] ) ]
AS query
example : create table table1 as select * from table2;
> -----Message d'origine-----
> De : pgsql-sql-owner(at)postgresql(dot)org
> [mailto:pgsql-sql-owner(at)postgresql(dot)org]De la part de Rado Petrik
> Envoyé : mardi 17 juin 2003 17:21
> À : pgsql-sql(at)postgresql(dot)org
> Objet : [SQL] CREATE table1 FROM table2
>
>
> Hi,
>
> How I create table1 from other table2 .
>
> "cp table1 table2"
>
> Thanks.
>
> --
> Rado Petrik <r(dot)p(at)szm(dot)sk>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
From | Date | Subject | |
---|---|---|---|
Next Message | Tomasz Myrta | 2003-06-17 15:35:54 | Re: CREATE table1 FROM table2 |
Previous Message | Josh Berkus | 2003-06-17 15:33:19 | Re: Catching DML exceptions in PL/pgSQL |