Toggling a MySQL TinyInt Column
This query:
Code:
UPDATE table set field= 1 - field |
Have you encountered any specific challenges or considerations when toggling MySQL TinyInt columns using this query, especially regarding the default value of the 'field' column?
|
All times are GMT -4. The time now is 07:22 PM. |
Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2024, vBulletin Solutions, Inc.