Hi, is it possible to capture the contents of THROW within a CATCH into a variable so that it can be written to a logging table?I can capture ERROR_MESSAGE() to a variable but unfortunately it only writes the last error rather than the previous one that is informational.I realize that THROW can be multiple lines so it may not be possible to do through TSQL but thought I should ask. Thanks,Howard
↧