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!

Escape character

syed haiderMay 1 2018 — edited May 17 2018

I'm trying to insert the following text in my table.

Group(Equity Management/Corp, D\&IB Exec Accountability,P\&L Management, Customer Experience)

The problem is that oracle is asking for a parameter input because of & sign. I tried using escape to avoid that special character, but I'm having the same issue.

escape option 1:

INSERT into rpt_lob

values (null, null, '{Group(Equity Management/Corp, D&IB Exec Account,P&L Management, Customer Experience)}')

escape option 2:

INSERT into rpt_lob

values (null, null, 'Group(Equity Management/Corp, D\&IB Exec Account,P\&L Management, Customer Experience)')

Please guide me as to how I can enter this text and escape the special characters.

Thanks!

This post has been answered by mathguy on May 1 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 31 2018
Added on May 1 2018
12 comments
2,451 views