I have a table tblBatch that has a PK FK relationship (Cascading Delete) on tblSubmissionHistory.
When I delete from tbl batch is it possible, if so how to get the Output column from tblSubmissionHistory.
Is there somehting like?
Delete from tblBatch
output.delete.tblSubmissionHistory.submissionID into #DeletedSubmissionIDs
where batchID = 46653
Thanks!