Subject Re: [firebird-support] FB 2.1: GTT explanation
Author Vlad Khorsun
> So, are there some risks to make some triggers (mine) to have a
> "reference behaviour"?

It is impossible to create trigger for permanent master table which will
see data from all GTT instances. This trigger will see only GTT instances
which it allowed to see - from the same connection or transaction.

From the other side, if you have permanent master table which PK is
never deleted or updated then you can safely refer to such master table
from detail tables of any kind and without need to declare FK.

> (by the way, here "references" doesn't mean "dependencies", does it?)

Of course. But you must always take into account scope of GTT.

Regards,
Vlad