Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Using DBMS_ADVANCED_REWRITE and DBMS_SQL_TRANSLATOR to remove one hint from a SELECT

2878566Oct 24 2019 — edited Oct 24 2019

Hello,

It tried it but it is impossible with the packages DBMS_ADVANCED_REWRITE and DBMS_SQL_TRANSLATOR to remove one hint fom a SELECT.

I showed my test case here : https://asktom.oracle.com/pls/apex/asktom.search?tag=remove-a-hint-with-dbms-advanced-rewrite-and-dbms-sql-translator-fa…

Chris said that I can use "alter session set optimizer_ignore_hints = true;" : it works but the problem is that it will erase ALL the hints from a SELECT.

OK, I know, hint is bad but sometimes developers do what they want.

So, do you think it is a good idea to ask Oracle to enhance these both packages?

Have a nice day,

David

Comments
Post Details
Added on Oct 24 2019
3 comments
235 views