Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why is this update statement giving an error in MySQL?

 
Jehan Jaleel
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This SQL currently gives an error in MySQL....


[Error Code: 1292, SQL State: 22001] Data truncation: Truncated incorrect DOUBLE value: 'false'

But this SQL works fine..



What am I missing?

Thanks in advance for any help.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post the table definition, i.e. the SQL to create the table; it sounds like a data type mismatch.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic