Reputation: 87
I am using IBM RAD. I am executing following query.
Conn.prepareStatement("update UPLOAD set STATUS='Decrypted' WHERE PATH ='"+path+"'");
the datatype of PATH
in DB2 is VARCHAR
.
i am getting following error
SQLCODE=-401,SQLSTATE=42818,SQLERRMC==,
Upvotes: 4
Views: 339
Reputation: 331
The error message means that you are comparing different data type.
eg :
'12'=12
Upvotes: 3