How to change the value of a logical value (type = bit (1)) in the results grid of the Mysql Workbench table?
If I set it to 1 or 0 , I get an error:
1
0
ERROR 1406: 1406: Data too long for column 'enabled' at row 1
Write b'1' for true and b'0' for false.
b'1'
b'0'
You can also use the keywords true false for the value where true = 1 and false = 0 .
true
false
true = 1
false = 0
MySQL Workbench Version: 6.3.4.0
UPDATE
Mysql server version: 5.6.27-log
Source: https://habr.com/ru/post/1265476/More articles:Attempting to use speech synthesis in Angular2 with the IWindow interface - interfaceTag mismatch error - android studio - androidSpeechRecognition and SpeechSynthesis in TypeScript - typescriptWhen to use UIView, CABasicAnimation, and UIViewPropertyAnimator animations? - ios10How to use APN Auth Key.p8 certificate in Firebase console - push-notificationfloat difference / double conversion between VS2012 and VS2015 - c #.net for rounding rounding errors at compile time and runtime - castingHover Boundary - cssPython flask ajax get image - latest EDIT - issue - pythonShowing Youtube in Ionic 2 App - javascriptAll Articles