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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-es-ayuda by date

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