Hi,
I want to write a plsql script for a quick report with using ampersand symbol, “&”, as a character in the where clause in the code. But when run the report it gives me the error “Invalid member name.” How can I solve it?
Thanks You
Hi,
I want to write a plsql script for a quick report with using ampersand symbol, “&”, as a character in the where clause in the code. But when run the report it gives me the error “Invalid member name.” How can I solve it?
Thanks You
Hi,
I want to write a plsql script for a quick report with using ampersand symbol, “&”, as a character in the where clause in the code. But when run the report it gives me the error “Invalid member name.” How can I solve it?
Thanks You
I believe you can use concatenation, as outlined here:
https://community.oracle.com/tech/developers/discussion/468604/escaping-ampersand-in-queries
Good luck!
Joe Kaufman
I tried the both but didn’t solved it.
Hi,
You could use this replace('Test&Test','&','And') = ‘TestAndTest’.
Thanks
L P Reddy
Hi
If what you have is something similar to this:
WHERE name = 'Dungeons & Dragons'
You can replace it using the ASCII code for ampersand ‘chr(38)’ like this:
WHERE name = 'Dungeons ' || chr(38) || ' Dragons'
I tested this and it worked.
Hope this helps!
Thanks you everyone
Hi
Additiionally I would like to provide a small input from my side.. This is using LIKE clause..
Quick report
select * from customer_info_tab
where name like 'Deals _ Done Limited'
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.