Skip to Main Content

SQL Developer

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!

Escaping ampersand (&) in queries

51564Jan 23 2007 — edited Oct 11 2007
How do I escape an ampersand in a query executed in the SQL Worksheet in SQL Developer? For example if my query is:

SELECT * FROM EMPLOYEES WHERE status = 'Hired &Fired';

If I execute this query now in SQLD, it asks me to enter a parameter for &Fired, whereas in this case, ampersand is a value in the column status in this table.

Thanks for all the help,
Alex
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 8 2007
Added on Jan 23 2007
14 comments
314,033 views