开发者

mysql expanded output

开发者 https://www.devze.com 2023-01-25 08:31 出处:网络
I\'m coming from postgresql to mysql, curious ifmysql has an expanded output flag similar to that of postgresql?

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 | f开发者_Go百科oo

into

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

how can I do this in mysql?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消