in reply to Using Optimizer Hints

Why not? It's part of the statement.

whether the hints are used by the Oracle Optimzer

Whether Oracle will honor or ignore a hint is an Oracle question, not a Perl one.

As a side note, hints "are the path of last resort."

Replies are listed 'Best First'.
Re^2: Using Optimizer Hints
by sen (Hermit) on Jul 24, 2015 at 13:39 UTC
    Thanks for the reply. But its not picked by the Oracle Optimizer when its executed through perl.

      When you run it directly in Oracle, is the hint used? That is, with a host variable.

        Yes, when i executed it direclty, the oracle optimizer uses the hint.