Skip to Main Content

APEX

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!

Application Properties - Substitutions using this as a dynamic value in SQL query for the tablespace

rambo81Jan 8 2015 — edited Jan 12 2015

Hi

Is this possible in Apex

In my SQL query instead of entering the tablespace before each table could I use a substitution as defined under application properties to populate this dynamically?

I have tried adding TABLESPACE in the substitution string and the actual tablespace name in the substitution value and amended the SQL query in an interactive report to be from #TABLESPACE#.mytablename

But I am getting the following error

Query cannot be parsed, please check the syntax of your query. (ORA-00911: invalid character)

What is causing this and what is the recommended solution?

Many Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 9 2015
Added on Jan 8 2015
7 comments
1,710 views