Subject Re: Correct usage of RETURNING clause
Author
ExecSql is for running a query that is not expected to return a result.  If you add a RETURNING clause, you're returning results, so you need to execute it as if it were a SELECT query.