Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MySQL Extended Display

Tags:

mysql

Is there any equivalent to psql's \x to view a record with each column on a new row?

like image 480
Kamikaze87 Avatar asked Nov 25 '09 06:11

Kamikaze87


People also ask

What is explain extended in MySQL?

The EXPLAIN statement produces extra (“extended”) information that is not part of EXPLAIN output but can be viewed by issuing a SHOW WARNINGS statement following EXPLAIN . As of MySQL 8.0. 12, extended information is available for SELECT , DELETE , INSERT , REPLACE , and UPDATE statements.

What is verbose in MySQL?

Logging messages sent to the console are given the verbose: prefix. When you send logging information to the console, it is still sent to the application log file. To send logging information to the console as verbose output, choose one of these options: Use the --verbose command-line option when starting MySQL Shell.

How do I get output in MySQL?

The Output is located at the bottom of MySQL Workbench. Its select box includes the Action Output , History Output , and Text Output options.

How do I get out of MySQL prompt?

To exit from mysql type quit at the mysql> command-prompt.


1 Answers

Append \G to the end of the statement before the semicolon:

SELECT * FROM table_name [WHERE condition] \G;

like image 132
leepowers Avatar answered Sep 20 '22 19:09

leepowers