Re: Ayuda con el comando REPLACE TABLE

From: Jaime Casanova <systemguards(at)gmail(dot)com>
To: Juan Carlos Badillo Goy <badillo(at)cav(dot)desoft(dot)cu>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Ayuda con el comando REPLACE TABLE
Date: 2005-07-11 21:42:52
Message-ID: c2d9e70e050711144210ffab83@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On 7/11/05, Juan Carlos Badillo Goy <badillo(at)cav(dot)desoft(dot)cu> wrote:
> Saludos, necesito ayuda con el comando REPLACE TABLE, necesito alterar la
> estructura de una tabla y no encuenro como hacerlo, este es el código del
> como estoy intentando hacerlo.
>
> replace TABLE tb_carpetas_compartidas (
> id_carpeta INTEGER NOT NULL,
> compartida_a VARCHAR(50) NOT NULL,
> permiso INTEGER NOT NULL,
> CONSTRAINT pk_tb_carpetas_compartidas PRIMARY KEY(id_carpeta,
> compartida_a)
> );
>
> error que emite:
> ERROR: syntax error at or near "replace" at character 1
>

REPLACE TABLE??? seguro que lesites el manual???

create table:
http://www.postgresql.org/docs/8.0/static/sql-createtable.html

alter table:
http://www.postgresql.org/docs/8.0/static/sql-altertable.html

--
Atentamente,
Jaime Casanova
(DBA: DataBase Aniquilator ;)

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Jaime Casanova 2005-07-11 21:44:14 Re: funcion equivalente a decode en oracle
Previous Message blackbeer 2005-07-11 21:34:56 funcion equivalente a decode en oracle