Skip to main content

pregos blog

  • Blog
  • Kontakt
  • Impressum

Schlagwort: pretty

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

@rotnroll666 @taseroth Guck Mal nach Hängematten 😜 about 13 Stunden ago
Hey @dd24, eure HTTP API für das dyndns Update ist seit heute morgen kaputt. Wann wollt ihr das wieder fixen? about 1 Tag ago
RT @goulcher: can't stop thinking about people that first ate mushrooms they found and just had to go through trial and error of like, this… 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