Skip to main content

pregos blog

  • Blog
  • Kontakt
  • Impressum

Schlagwort: select

HowTo: readable booleans on MySQL/MariaDB SELECT …

17. März 201717. März 2017 prego 1 Kommentar

I often need to work in a database on the command line. Booleans are not displayed in an intuitive way. I mean this:

There is a simple trick that helps me to read it much better: cast it to an integer. This is done by adding +0 to the boolean column:

Fratze

prego - August 15, 2020

Tweets

RT @CorneliusRoemer: Impfverweigerer auf die Schippe genommen. Humor ist gesünder als Bitterkeit. https://t.co/eY7PIm2kW1 about 1 Tag ago
RT @Doktor_FreakOut: Kurzer Thread über den möglichen Impact eines harten kurzen Lockdowns und die Möglichkeit von #ZeroCovid : Am 06.02.2… about 1 Tag ago
RT @PHuenermund: Q: What's going on in Germany? A: Oh, nothing out of the ordinary... https://t.co/vJ1bqoz4FG about 2 Tagen ago

Neueste Kommentare

  • Stefan bei Puppet: Hiera und Puppet – Installation, Einrichten, Moduleinbindung
  • prego bei chmod 755 rekursiv NUR auf Verzeichnisse
  • linuxfan bei chmod 755 rekursiv NUR auf Verzeichnisse

Archive

RSS

  • Beitrags-Feed (RSS)
  • Kommentare als RSS

  • Twitter
  • Github
pregos blog All rights reserved. Theme von Colorlib Powered by WordPress