Use TRANSACTION for grant query.