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!

Facing issue in Apex Dynamic SQL query

Kannan RanganathanNov 3 2022 — edited Nov 3 2022

Hi Community Folks,

We are writing PL/SQL query in a page to get the value for the field in column list from Search value box thru dynamic query, when trying to give column value as it is working fine, but making it as dyanamic query it is throwing error. All necessary documents attached. Kindly help.

--where customer_name like ''%' || upper(:P7_SEARCH_VALUE) || '%''' ;
--where ' || ' :P7_COLUMN_LIST ' || ' like ''%' || upper(:P7_SEARCH_VALUE) || '%''' ;
image.png

error_query.txt (3.53 KB)

image.png

Comments
Post Details
Added on Nov 3 2022
2 comments
141 views