Find all constraints that need to be entrusted.

The last column of the result set is the SQL command to execute to entrust the constraint. Using cursor