Hello everybody.
I run an insert in a stored procedure and return the identity value for populating a field on the next insert.
However, I have now set up a trigger to fire on the insert to the first table which populates an Audit table. The identity is now returned as the identity from the audit table instead.
Any ideas.
I run an insert in a stored procedure and return the identity value for populating a field on the next insert.
However, I have now set up a trigger to fire on the insert to the first table which populates an Audit table. The identity is now returned as the identity from the audit table instead.
Any ideas.