14

I'm coming from postgresql to mysql, curious if mysql has an expanded output flag similar to that of postgresql?

ie: in psql I could \x to get expanded output

id | name
---+-----
 1 | foo

into

-[ Record ]------
id   | 1
name | foo

how can I do this in mysql?

veilig
  • 5,085
  • 10
  • 48
  • 86

1 Answers1

24

try SELECT foo FROM bla\G instead of SELECT foo FROM bla;

TomaszSobczak
  • 2,900
  • 21
  • 24