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!

sql ampersand error

796627Sep 8 2010 — edited Sep 8 2010
Hi All,

I have 2 tables:

Table name: A
Fieldname: X
Field value: 'test&test'

Table name: B
Fieldname: Z
Field value: 'test&test'

I have a clause where

select X from A;
fetch X into Y;
select Z from B where Z=Y.

I am getting an error like they are asking the value of test.


What is the work around of this?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 6 2010
Added on Sep 8 2010
10 comments
918 views