on 06-30-2008 4:07 PM
Hello Clovis,
did you already run a 'CHECK DATA' to check if there are any inconsistencies in your database?
[https://wiki.sdn.sap.com/wiki/x/fSo |https://wiki.sdn.sap.com/wiki/x/fSo ]
Regards,
Melanie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Melanie,
I checked the database, and dont have any problem, but i think that i discover the problem, think something like having a table:
CREATE TABLE Person (
oid VARCHAR(8) NOT NULL,
my_Parent VARCHAR(8),
primary key (oid)
)
//
ALTER TABLE Person ADD FOREIGN KEY my_Parent REFERENCES Person(oid) ON DELETE CASCADE
//
Then if i delete a person that can cascade delete many rows from other tables and the same table, and that maybe overflow the system, then the error occurs, if i just set my_Parent to null where my_Parent is equals the Person to be deleted, the commands works well.
best regards
Clóvis
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.