Subject Re: [firebird-support] Custom RI was Re: Possible bug with CHECK constraint
Author German Pablo Gentile
Geoff Worboys wrote:

>You probably should read this article by Claudio Valderrama
>"Declarative referential integrity v/s triggers"
>http://www.cvalde.net/document/declaRefIntegVsTrig.htm
>
>
>
I read and seems like *avoid trigger for integrity check* so im in the
start line again...

>As for the speed issue; you may need to ensure you have
>appropriate indexes on your data. EXISTS is the correct
>and fastest way to do what you appear to want.
>
>
>
Indexes? but i will restart the trouble, having a low selectivity index
on the master table, or i missing something?

TIA

German.