Question

I use FB1.5.3 and need to eventually add some FK to the database. It happens that if I try to do it while anyone else is connected to the DB I get an exception.

Is there a way to add an FK while the system is running?

Was it helpful?

Solution

There's no way.

It's a known limitation that has been removed in Firebird 2.0. You should either upgrade, or live with it.

OTHER TIPS

I believe this is a limitation on firebird 1.5 and earlier.
Try google for (firebird foreign key "object is in use").
hth

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top