• Post Reply Bookmark Topic Watch Topic
  • New Topic

Why is this update statement giving an error in MySQL?  RSS feed

 
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: 42970
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
Boost this thread!