Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Syntax for an UPDATE statement (9i), contains a single-quoted value

Status
Not open for further replies.

tradle

Programmer
Jan 7, 2004
94
US
All -

I'm trying to update a string column with the following:

UPDATE table
SET column = ((Data = 'This'))
WHERE condition = That;

I know that I have to place something on the outside of the ((Data = 'This')) in order to have Oracle read it properly. I'm updating a string column, and every variation I try ends with an error.

This is an easy one, I know, but my mind is failing me at the moment. HELP.

Thanks,
Tim
 
do u want the value ((Data = 'This'))in the column, if so then
set col_name = '((Data = ''This''))'

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top