How to solve sql error -904 in inserting data

228 Views Asked by At

I wanted to write some records say 10000 in database table but got sql error -904 after inserting some records say 2000. I deleted 25 records of old records and than run the program again and this time after inserting 2025 records I got the same error? How can I solve this problem?

1

There are 1 best solutions below

0
piet.t On

The log of the MSTR adress space of the DB2 instance should show the "unavalable resource" message DSNT501I including the reason code and in case of deadlock/timeout message DSNT375I/DSNT276I will show the offending user/plan. If you can't access it yourself you could try contacting your DBA.