sen has asked for the wisdom of the Perl Monks concerning the following question:
Hi All,
Can we use Oracle Optimizer Hints in Statement Handle Methods. e.g.,
$sth = $dbh->prepare("SELECT /*+ index(a index1) */ name, age FROM people a WHERE name LIKE ?");
if we use the hints, whether the hints are used by the Oracle Optimzer when the SQL gets executed?
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using Optimizer Hints
by chacham (Prior) on Jul 24, 2015 at 13:01 UTC | |
by sen (Hermit) on Jul 24, 2015 at 13:39 UTC | |
by chacham (Prior) on Jul 24, 2015 at 14:17 UTC | |
by sen (Hermit) on Jul 24, 2015 at 14:29 UTC | |
by chacham (Prior) on Jul 24, 2015 at 14:32 UTC |