Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: variable binding in DDL statements problem

Re: variable binding in DDL statements problem

From: Mark D Powell <Mark.Powell_at_eds.com>
Date: 16 Feb 2005 13:31:34 -0800
Message-ID: <1108589494.429960.44340@f14g2000cwb.googlegroups.com>


To solve you problem you could rewite the view to use the sys_context function to provide session specific parameters. To set the context to be used in the view you would either need to have a database event logon trigger or execute a procedure to set the context variable values prior to making the call.

But why not just directly query the table using bind variables either in your application or in a stored procedure passing back a reference cursor?

Knowing what your front-end application is and what version of Oracle you are working would be useful information for providing a solution that would work for you.

HTH -- Mark D Powell -- Received on Wed Feb 16 2005 - 15:31:34 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US