Here is a recent thread from OTN forums. The question raised is WTF? whether a hint in the examples section of DBMS_PARALLEL_EXECUTE documentation have to be used or not and why it is there. What do you think about it? Have a look in the documentation and mark your choice in a poll:
PS. In my view it’s a bug. I left a comment in the documentation about it, but didn’t receive any reply yet.
2 Comments
Hi Timur,
I also noticed this documentation bug while preparing for a 11gR2 presentation in November last year. If I recall correctly, the code samples work the same (on the surface?) with or without the hint.
Regards,
Rob.
The hint is invalid anyway – the optimizer will ignore it because it doesn’t refer to any table or table alias in the statement.
update /*+ ROWID (dda) */ EMPLOYEES e
SET e.salary = e.salary + 10
WHERE rowid BETWEEN :start_id AND :end_id