PL/SQL and Bind Variables / Literals
- From: Thomas Roach <troach@xxxxxxxxx>
- To: oracle-l@xxxxxxxxxxxxx
- Date: Wed, 17 Jun 2009 21:19:09 -0400
Hi Group, I am looking at options on forcing Oracle to use literals inside of a PL/SQL package. I have a bind variable peeking issue that is causing a cached execution plan that doesn't work well for all scenarios. To get around this (and since the query is executed only a handful of times), I want to force the query to use literals inside of PL/SQL. One option I thought of is to use execute immediate. I was wondering if anyone had any ideas or thoughts if there is a better way to do this. Thanks, Tom
- Follow-Ups:
- Re: PL/SQL and Bind Variables / Literals
- From: Adam Musch
- Re: PL/SQL and Bind Variables / Literals
- From: Mathias Magnusson
- RE: PL/SQL and Bind Variables / Literals
- From: Milen Kulev
- RE: PL/SQL and Bind Variables / Literals
- From: Allen, Brandon
- Re: PL/SQL and Bind Variables / Literals
Other related posts:
- » PL/SQL and Bind Variables / Literals - Thomas Roach
- » Re: PL/SQL and Bind Variables / Literals - Adam Musch
- » Re: PL/SQL and Bind Variables / Literals - Mathias Magnusson
- » Re: PL/SQL and Bind Variables / Literals - troach
- » Re: PL/SQL and Bind Variables / Literals - Mathias Magnusson
- » RE: PL/SQL and Bind Variables / Literals - Milen Kulev
- » RE: PL/SQL and Bind Variables / Literals - Christian Antognini
- » RE: PL/SQL and Bind Variables / Literals - Randolf Geist
- » RE: PL/SQL and Bind Variables / Literals - Allen, Brandon
- » RE: PL/SQL and Bind Variables / Literals - Saibabu Devabhaktuni