G
Guest
Hello,
I have in my database a trigger on a particular table that writes entries to
an audit table upon inserts & updates, and returns a set of AuditId's.
When I insert into this table, I need to retrieve both the set of AuditId's
and the scope_identity() of the newly-inserted row - but these are returned
in the form of two distinct result sets.
From all I see in the dataset GUI, and programmatically (being able to fill
a datatable with results but not a dataset), I can't tell if it's possible.
Any ideas? Thanks a lot!
I have in my database a trigger on a particular table that writes entries to
an audit table upon inserts & updates, and returns a set of AuditId's.
When I insert into this table, I need to retrieve both the set of AuditId's
and the scope_identity() of the newly-inserted row - but these are returned
in the form of two distinct result sets.
From all I see in the dataset GUI, and programmatically (being able to fill
a datatable with results but not a dataset), I can't tell if it's possible.
Any ideas? Thanks a lot!