I have tracked a problem down to the execution of a TAdoCommand which uses a stored procedure to insert records in the database.
The point is that the record isn't inserted and no exception is thrown. Due to the fact that the situation appears to occur randomly and rarely it is impossible to debug.
As I understand, some errors (which have severity levels under 11 - according to ms sql documentation) do not cause an exception to be thrown in the user's app code. But can they prevent the record from being inserted? And how can I detect them?
If you have encountered such a behaviour before, or have any ideea, please help me
The point is that the record isn't inserted and no exception is thrown. Due to the fact that the situation appears to occur randomly and rarely it is impossible to debug.
As I understand, some errors (which have severity levels under 11 - according to ms sql documentation) do not cause an exception to be thrown in the user's app code. But can they prevent the record from being inserted? And how can I detect them?
If you have encountered such a behaviour before, or have any ideea, please help me