Re: INSERT INTO

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Javier Estévez CIFA Córdoba <javier(dot)estevez(dot)ext(at)juntadeandalucia(dot)es>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: INSERT INTO
Date: 2006-02-09 13:03:44
Message-ID: 20060209130344.GF5234@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Javier Estévez CIFA Córdoba escribió:
> Sí, pero también me da error.
>
> ALTER TABLA tabla ALTER COLUMN "IdEstacion" TYPE int2
>
> Error: 'Column "IdEstacion" cannot be cast to type "int2"

Lee la documentacion ... necesitas especificar una clausula USING, me
parece.

http://www.postgresql.org/docs/8.1/static/sql-altertable.html

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

  • Re: INSERT INTO at 2006-02-09 12:59:49 from Javier Estévez CIFA Córdoba

Responses

  • Re: INSERT INTO at 2006-02-09 13:19:27 from Javier Estévez CIFA Córdoba

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Javier Estévez CIFA Córdoba 2006-02-09 13:19:27 Re: INSERT INTO
Previous Message Javier Estévez CIFA Córdoba 2006-02-09 12:59:49 Re: INSERT INTO