E
eXavier
Hello,
we are fighting with constraint error in dataset. The dataset we use is
quite complex (about 30 tables) as well as stored procedure for returning the
data.
Now we are getting the famous excpetion:
"Failed to enable constraints. One or more rows contain values violating
non-null, unique, or foreign-key constraints."
We know what does it mean but it is difficult to track down where exactly
the problem is in data. Is there any way how to get more specific message or
detail for which constraint the error occured (like e.g. 'PK violated on
table t1') instead of this generic message?
Thanks a lot
eXavier
we are fighting with constraint error in dataset. The dataset we use is
quite complex (about 30 tables) as well as stored procedure for returning the
data.
Now we are getting the famous excpetion:
"Failed to enable constraints. One or more rows contain values violating
non-null, unique, or foreign-key constraints."
We know what does it mean but it is difficult to track down where exactly
the problem is in data. Is there any way how to get more specific message or
detail for which constraint the error occured (like e.g. 'PK violated on
table t1') instead of this generic message?
Thanks a lot
eXavier