I have a problem with my Firebird database. The primary key of one of the tables is referenced by another table that was actually dropped earlier. So this reference from a n
use online
gfix -user "SYSDBA" -password "masterkey" -online DATA.FDB
after database is used retry
gfix -user "SYSDBA" -password "masterkey" -shut -force 0 DATA.FDB