Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Re: Where the advice to use DBI bind parameters can go wrong (long)

by SarahM (Monk)
on Jun 14, 2002 at 20:44 UTC ( #174728=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Where the advice to use DBI bind parameters can go wrong (long)
in thread Where the advice to use DBI bind parameters can go wrong (long)

We ran into this problem with some of our code. When our DBA talked with Oracle Tech Support, they said to use an index hint. The Oracle tech said that an index would then be used, unless the parameter started with wildcard. At that time it would recompile the query to not use the index. Oracle would then keep both versions of the query cached and would use the appropriate one. The hints are just that, hints. If it doesn't work then Oracle ignores them.


Comment on Re: Re: Re: Where the advice to use DBI bind parameters can go wrong (long)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://174728]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2014-08-23 10:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (173 votes), past polls