when I run this simple query to delete a row in SQL*PLUS on Oracle, I get the error:
Error report -
SQL Error: ORA-00932: inconsistent datatypes: expected - got CHAR
00932. 00000 - "inconsistent datatypes: expected %s got %s"
*Cause:
*Action:
Complete code:
delete from db where TITLE= '<values><value lang="EN">db shared</value></values>';
error:
Error starting at line : 8 in command -
delete from widget_template where TITLE= '<values><value lang="EN">template shared for assets</value></values>'
Error at Command Line : 8 Column : 42
Error report -
SQL Error: ORA-00932: inconsistent datatypes: expected - got CHAR
00932. 00000 - "inconsistent datatypes: expected %s got %s"
*Cause:
*Action:
i tried doing:
delete from db where to_char(TITLE)= '<value lang="EN">template shared for all assets</value>';
with this i get the following err:
ORA-00932: inconsistent datatypes: expected NUMBER got -
00932. 00000 - "inconsistent datatypes: expected %s got %s"
*Cause:
*Action:
PS: this is how the TITLE col looks:
not sure how to fix this..any ideas?? Thanks
