Subject | toggle betweenn 0 and 1 |
---|---|
Author | checkmail |
Post date | 2014-04-02T07:07:25Z |
Hello,
is there a simple way to toggle between 0 and 1?
Update table set column NOT column where id = :id?
If column = 1 – then set to 0, else set to 1.
Thank you.
Best regards
Olaf