HOW to get the bind variables list.


Posted on 16th Feb 2014 07:03 pm by admin

I've the following problem : I've some SQL queries stored in my DB as VARCHAR2 values.
I need to use DBMS_SQL in order to execute them.
In theese SQL statements I have some bind variables like :NUMORD. (ex. SELECT 'X' FROM YYYY WHERE FIELD_1 = :NUMORD).
I don't know "a priori" names and number of such variables.
Is there any way to have a list of such bind variables ?
I found DBMS_DESCRIBE but is seems to act only on stored procedures/functions.
I know I can tray to inspect the code looking for every ':' but a cleaner solution woulf be appreciated.
Tks

No comments posted yet

Your Answer:

Login to answer
135 Like 39 Dislike
Previous forums Next forums
Other forums

2013 New Arrivals ! Moncler Down jas Featured Vrouwen Slim Windproo [34a9] - €286.44 : Professionele Moncler Down Jacket Outlet Store, monclerinosterreich.me
[b][url=http://www.monclerinosterreich.me/nl/]moncler verkoop[/url][/b] [b]Moncler outlet store[/b]

need help with mail()
hi i want to send an email with attaching pdf file using php. i have the following script but the pr

insert/update functions for mysql, what do you think?
I am working on two really simple functions that automatically generate (and execute) insert and upd

Why does this file not return file names that start with numbers?
This file returns a list of filenames to help populate a drop down in my form. For some reason it ig

???????
[b][url=http://www.replicawatcheshot.me/jp/%E3%82%AA%E3%83%BC%E3%83%87%E3%83%9E%C2%B7%E3%83%94%E3%82

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Google+ Indyaspeak @ Pinterest RSS