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 - February 14, 2019

Tweets

RT @ThelenUte: " Milka heißt so weil sie aus Milch und Kakao gemacht wird. Wären Sahne, Rotkohl und Tintenfisch drin hieße sie wohl Sarot… about 3 Tagen ago
@miailee Fotos, Videos, Kontakte und Kalender sind bei mir das wichtige und das ist alles in einer selbst gehostete… https://t.co/XWlShJRTOL about 4 Tagen ago
RT @IamIllgner: Mein Waschmittel funktioniert bei bis zu 3 Schusswunden. Beruhigend. https://t.co/gnn19zLO40 about 5 Tagen ago

Neue Kommentare

  • Norman bei Anwesenheitserkennung für Smarthome mit der Fritz!Box via TR-064
  • vinc bei Nagios/Icinga plugin to check Joomla Update status (passive check)
  • Ralf 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