title: DB2 CLI result output
body: <p>When running command-line queries in MySQL you can optionally use '<strong>\G</strong>' as a statement terminator, and instead of the result set columns being listed horizontally across the screen, it will list each column vertically, which the corresponding data to the right. Is there a way to the same or a similar thing with the DB2 command line utility?</p>
  <p>Example regular MySQL result</p>
  <pre><code>mysql&gt; select * from tagmap limit 2;
  +----+---------+--------+
  | id | blog_id | tag_id |
  +----+---------+--------+
  | 16 |       8 |      1 |
  | 17 |       8 |      4 |
  +----+---------+--------+
  </code></pre>
  <p>Example Alternate MySQL result:</p>
  <pre><code>mysql&gt; select * from tagmap limit 2\G
  *************************** 1. row ***************************
       id: 16
  blog_id: 8
   tag_id: 1
  *************************** 2. row ***************************
       id: 17
  blog_id: 8
   tag_id: 4
  2 rows in set (0.00 sec)
  </code></pre>
  <p>Obviously, this is much more useful when the columns are large strings, or when there are many columns in a result set, but this demonstrates the formatting better than I can probably explain it.</p>