Cannot update the view or function '%1!s!' because it contains aggregates, or a DISTINCT or GROUP BY clause, or PIVOT or ...