Computes a SELECT statement which selects all the rows the update_stmt
would update.
Beware however that this SqlStatement does not select anything (ie it would be rendered as "SELECT FROM ... WHERE ...") and before being usable, one needs to add some fields to actually select.
update_stmt |
an UPDATE statement |
a new Statement if no error occurred, or null otherwise |