Sql Server Function Insert Into Multiple Rows