Skip to primary content

42

Web notebook about thoughts and discoveries in DevOps, SRE, Software Engineering….

42

Main menu

  • Home
  • About
  • contact
  • Links

Post navigation

← Previous Next →

MySQL Displaying Query Results Vertically

Posted on 9 November 2016 by kosmas

Problem

When doing a query in MySQL you would like to display the results vertically instead of horizontally as they are much more readable.

Solution

Terminate the query with \G instead of a semicolon (MySQL documentation):

SELECT * FROM users\G
This entry was posted in MySQL and tagged displaying vertically, MySQL, \G by kosmas. Bookmark the permalink.
Proudly powered by WordPress