Skip site navigation (1) Skip section navigation (2)

Re: error al crear FK

From: "Jaime Casanova" <systemguards(at)gmail(dot)com>
To: "Gauto Miguel A(dot)" <mgauto(at)yahoo(dot)com>
Cc: Hensa <hensa22(at)yahoo(dot)es>, pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: error al crear FK
Date: 2006-10-18 04:11:25
Message-ID: c2d9e70e0610172111t5be6482x7e9e20258e19bcd0@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-es-ayuda
On 10/17/06, Gauto Miguel A. <mgauto(at)yahoo(dot)com> wrote:
> Gracias Henry y a todos los que opinaron.
>
> No deseo poner "cod_sucursal" a mi clave primaria,

entonces no puedes crear el FK que quieres, la otra opcion es crear un
trigger que verifique lo que necesitas...

-- 
Atentamente,
Jaime Casanova

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
                                       Richard Cook

In response to

Responses

pgsql-es-ayuda by date

Next:From: ing_enriquebarriosDate: 2006-10-18 11:51:38
Subject: C++, libpq y postgresql
Previous:From: EspartanoDate: 2006-10-18 02:50:59
Subject: Re: Problema C++, libqxx y postgresql

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group