Say we have the following:
****************************************************
Table A (has an identity field)
-----------
Table_A_Insert_Trigger -> Inserts an audit log in Table B (has an identity
field)
Now, say we have a stored procedure that inserts a new row into Table A,
and the same stored proc returns as an output parameter the newly inserted
identity field from table A.
******************************************************
field is overwritten by the result of the insert trigger on A.
-- Rehan --