@ rvk
My organisation is, that names hint the content.
(there are a few exceptions of very old tables)
The name "fk_comm" says to me "foreign key" at a field by the name of comm.
This means to me:
There is a table tbkennzahlen. It has a privmary key. The name of the primary key is id + table, so pk = id_kennzahlen.
So "fk_comm" holds the value of the primary key=id_kennzahlen
================
Unfortunetely it is not an SQL snipet shows the error, but the restore-tool of Firebird, which is executed by the Freeware Firebird-Editor Pro.
Backup and restore works find. The only thing is the strange error-message.
Yes, I have backups of all my databases, at least I hope so. Unfortunately I am not very firm with databases, so I am not sure, what your sentences mean. I unserstand the words of it, but do not know, how to check or use.
Theses are the sentences I do not undestand.
We still need to know if the database is corrupted or the constraint is deactivated in the original database. Do you still have access to that original database?
You need to view all the restraints/indexes to see if they are (IN)ACTIVE.
@Zvoni
Sure, I may have made errors in the configuration of backup and restore. I used the tool just a handful of times in my lifetime an with this editor I did it for the first time.
The table is many years old. I have no idea, how I made it. Those keys and contraints I made by FlameRobin and usually it was a work of hours to bring them into my DB. After an eternity of clicking and clicking away error-messages, the constaints were "in".
@rvk 2:
It is sure, that I added the contraints AFTER the create. This is the way, either FlameRobin (the older version) works or the only way I understood to use it.
I am afraid, the SQL-history of the item is "lost in bytes".
To sum up:
Is there a way to find out, WHAT in the DB is corrupt? This database is - an important part of my life. This is not overdone.
Are the checking-tools?