query for select and update [message #617525] |
Tue, 01 July 2014 04:54 |
|
furqan
Messages: 115 Registered: January 2012 Location: Hyderabad
|
Senior Member |
|
|
Respected Sirs
i have a column value in a table 'C C&R'.
when i am trying to select and update column value using sql query,
not able to do so.
my query is
SELECT * FROM <tablename> WHERE <columnname>='C C&R';
above query not getting executed.first time i came across such column values.
please help.
thanks.
|
|
|
|
|
|
|
Re: query for select and update [message #617545 is a reply to message #617531] |
Tue, 01 July 2014 07:51 |
Lalit Kumar B
Messages: 3174 Registered: May 2013 Location: World Wide on the Web
|
Senior Member |
|
|
Or one more way :
SQL> set escape;
ESCAPE character is \
SQL> set scan off;
SQL>
SQL> WITH DATA AS(
2 SELECT 'CC&R' t FROM DUAL)
3 SELECT * FROM DATA WHERE t='CC&R';
T
----
CC&R
|
|
|