Subject | AW: [firebird-support] Little Problem about trigger reference |
---|---|
Author | Olaf Kluge |
Post date | 2009-10-15T12:53:09Z |
Hi.
Has no One one idea?
Thank You
Greetings.
_________________________
Hello,
today I have a little problem with an old table. This table I would like to
delete.
I'm using firebird 2.1 classic server.
This table has references to another table. This constraints (foreign keys)
I can't delete. It appears the follow message:
unsuccessful execution caused by system error that does not preclude
successful execution of subsequent statements. Lock on no wait transaction.
Unsuccessful metadata update. Object INDEX is in use.
The Maintable "users" with primary key has an field "ID". It is an unique ID
of an user. Now, the table "messages" I would delete. There are three field
with a foreign key to this ID of table "users" (User, that created the
message, Second, the user, the message is adressed to and third, the user,
that is responible). I have deledet all records, but I can't delete the
constraints and the table.
Before, I have had this problem with another table that I couldn't delete.
In this case, after I have deleted the system trigger (checkxxx), I was able
to delete.
Can anyone help me?
Thank you very much.
Regards
Olaf Kluge
Eingehende eMail ist virenfrei.
Von AVG uberpruft - www.avg.de
Version: 8.5.421 / Virendatenbank: 270.14.12/2431 - Ausgabedatum: 10/12/09
13:01:00
Has no One one idea?
Thank You
Greetings.
_________________________
Hello,
today I have a little problem with an old table. This table I would like to
delete.
I'm using firebird 2.1 classic server.
This table has references to another table. This constraints (foreign keys)
I can't delete. It appears the follow message:
unsuccessful execution caused by system error that does not preclude
successful execution of subsequent statements. Lock on no wait transaction.
Unsuccessful metadata update. Object INDEX is in use.
The Maintable "users" with primary key has an field "ID". It is an unique ID
of an user. Now, the table "messages" I would delete. There are three field
with a foreign key to this ID of table "users" (User, that created the
message, Second, the user, the message is adressed to and third, the user,
that is responible). I have deledet all records, but I can't delete the
constraints and the table.
Before, I have had this problem with another table that I couldn't delete.
In this case, after I have deleted the system trigger (checkxxx), I was able
to delete.
Can anyone help me?
Thank you very much.
Regards
Olaf Kluge
Eingehende eMail ist virenfrei.
Von AVG uberpruft - www.avg.de
Version: 8.5.421 / Virendatenbank: 270.14.12/2431 - Ausgabedatum: 10/12/09
13:01:00