Working around the bug “Instead Of Trigger on View returns no output”

This post is to help developers implement a workaround on the bug mentioned in https://connect.microsoft.com/SQLServer/feedback/details/427666/instead-trigger-return-zero-number-into-output-identity

Read my post at https://microsoftprogrammers.jebarson.com/bug-instead-of-trigger-on-view-returns-no-output/ which explains one of the work around which may come handy to you