SQL Server - Invalid Use of a Side-Effecting Operator 'insert' within a Function on September 15, 2013 SQL +