I want to update the password having special characters ''?@ @C $4 ABC
(starting two characters are two single quotes) in Xyz
table.
I am trying the following query
UPDATE Xyz set password="''?@ @C $4" where user_no like '%123%';
But I am getting error as
ORA-00911: invalid charachter
Are you pasting the query from a different editor or IDE ? or Maybe copying from windows applications to Linux? In that case, there may be non-printable characters present. If so, you could retype (not copy-paste) the SQL statement and try.
Also, double quotes aren't commonly used in SQL. You may want to replace them with single quotes.