Error executing script

I try run an update the database value.
The script is below

However facing the error executing script like below

Anybody able to assist for this debugging?

Replace runUpdateQuery with runPrepUpdate. The rest of your script looks good to me.

2 Likes