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!

How does one escape special characters while compile the package.

Narashima DharmaMay 15 2013 — edited May 15 2013
Hi

The below is my function, while compiling the function in SQL plus it’s asking the substitute values, still I want to & symbol this column 'S&P Long Term Rating'

now my question is how to avoid while compiling substitute values

FUNCTION get_attribute_list RETURN t_ref_cursor AS
lv_array varchar2_table_type := varchar2_table_type('Emerging Market Flag'
,'Region Code'
,'Region Name'
,'Moody''s Rating'
,'S&P Long Term Rating'
,'Credit Rating'
,'Region ISO'
,'Loan Country Code'
,'Loan Country Name'
,'What If Emerging Market Flag');
lv_ref t_ref_cursor;
lv_step_name a_run_log.step_name%TYPE;
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 12 2013
Added on May 15 2013
5 comments
3,550 views