insertar directamente rowtype

From: "Emanuel Calvo Franco" <postgres(dot)arg(at)gmail(dot)com>
To: pgsql-es-ayuda <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: insertar directamente rowtype
Date: 2009-01-09 19:05:37
Message-ID: f205bb120901091105k7c5b05b4r89931fc42f3ea583@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

esta es una consulta respecto a funcionalidad interna...

Porque no funciona la sentencia?:

INSERT INTO tabla (tipo_rowtype);

donde:

tipo_rowtype tabla%rowtype;

para no hacer:

INSERT INTO tabla VALUES (tipo_rowtype.columna ....);

Tiren con piedras chicas por favor...

--
Emanuel Calvo Franco
ArPUG / AOSUG Member
Postgresql Support & Admin

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Emanuel Calvo Franco 2009-01-09 19:23:17 Re: Buscar y reemplazar en registros
Previous Message Gilberto Castillo Martínez 2009-01-09 19:04:20 Re: Buscar y reemplazar en registros