update mysql error

Asked

Viewed 63 times

1

I’m getting this error when I try to update with mysql in Asp.

Microsoft VBScript compilation error '800a03ee'

Expected ')'

/postos/reg.asp, line 525

set ins_regenf1 = conn.Execute("UPDATE reg SET hemo ='"&hemo &"' WHERE id_reg='"&id_ficha&"';")
-------------------------------------------------------^

I know it seems obvious but the values are correct as well as the defects in the comic is correct.

Does anyone have any idea what’s going on? Thank you

  • Ricardo, here only questions should be posted in Portuguese.

  • I did not think I was in the pt, I will change. thanks

  • What is the content of hemo?

  • text, and this in the comic as varchar

  • Conteúdo. What is the text?

  • try to get the ";" out of parentheses !

  • I’ve taken it off and do the same :/

  • is test.. type "fdjklshfldhs"

  • You can run an update exactly like this on mysql?

  • Give me this error "Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences -> SQL Editor and Reconnect." but has no logic the only key field is id which is of automatic numbering

  • check the type of field in mysql and if it is varchar(5) see the number of characters allowed if it is inside the one configured, check if the field names are correct in the query according to the one created in the database.

Show 6 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.