I’m working on db2. I got one table, which contains some data:
Data | Value | Lang
To Data column of this table, was added unique constraint. However, now application CAN contain many rows for the same date. So, I removed constraint, but, after reorganization of table, restart of server it still throws exceptions when I want to add more than one row with the same Data.
Unfortunately I didn’t create this table at first place, and I can’t remove data from it :/
Anyone has any idea what’s going on?
Thanks for you time!
Okay, it looks like there was index on this column also.
To check indexes:
To drop index:
Now it works! 🙂 Quite easy.