Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Select statement from "v_filename_txt" inside cursor

661355Sep 24 2008 — edited Sep 24 2008
Hi,

I've got a store procedure procedure that create parametric tables to upload from csv files. I have collect into v_filename_txt variable the parametric table name where I would like to make some select.

I have write the following code but I can't use a variable into a select statement :

select field

FROM TABLE '''||v_filename_txt||''' ;

Does anybody know how to include the precedent statement into a cursor to retrive recods ?

Paolo.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 22 2008
Added on Sep 24 2008
7 comments
167 views