Why is there an error in mysql query?Error : Truncated incorrect DOUBLE value: '114.243.134.208' -


it reported error when query in mysql, sql below:

update bsk.bskchapterlist set stateid=6 username=11111111111 , lessonid=987; 

the error was:

error : truncated incorrect double value: '114.243.134.208' 

but value '114.243.134.208' came from?

how resolve problems, please me.

please check datatype of db table. if of field datatype varchar please wrap quote. let's username field datatype varchar please use following query. assumed stateid , lessonid fields have int datatype , if of having datatype varchar please wrap quotes well.

update bsk.bskchapterlist set stateid=6 username='11111111111' , lessonid=987; 

Comments

Popular posts from this blog

serialization - Convert Any type in scala to Array[Byte] and back -

matplotlib support failed in PyCharm on OSX -

python - Matplotlib: TypeError: 'AxesSubplot' object is not callable -