Subject Re: [ib-support] Fw: Problem creating foreign key
Author Helen Borrie
At 11:03 AM 17-01-02 -0200, Luiz wrote:

>I am in doubt now.
>
>He have a Unique Index as:
>
>Create Unique Index xSkyStatusDescription on SkyStatus(Description)
>
>Does the FKs don't can be create referencing a Unique Index?

Not in current versions.

However, I stumbled across some doc in the Embedded SQL Guide that suggested you could do it, so I tried it...but no.

I seem to remember you could do it in 5.1 which supported Foreign keys but not cascades...but that might just be loose pages in my memory. I don't have a 5.1 server any more to confirm or deny.

cheers,
helen

All for Open and Open for All
Firebird Open SQL Database ยท http://firebirdsql.org
_______________________________________________________