0

Often times I need to represent data in a way similar to this one:

...which is:

+------------------+--------------+------+-----+---------+-------+
| Field            | Type         | Null | Key | Default | Extra |
+------------------+--------------+------+-----+---------+-------+
| IfInOctets       | varchar(255) | YES  |     | NULL    |       |
| IfOutOctets      | varchar(255) | YES  |     | NULL    |       |
| inDiff           | varchar(255) | YES  |     | NULL    |       |
| outDiff          | varchar(255) | YES  |     | NULL    |       |
| time             | varchar(255) | YES  |     | NULL    |       |
| timeDiff         | varchar(255) | YES  |     | NULL    |       |
| inDiffFormatted  | varchar(255) | YES  |     | NULL    |       |
| outDiffFormatted | varchar(255) | YES  |     | NULL    |       |
+------------------+--------------+------+-----+---------+-------+

What tool have them used to produce that formatted output?

In case this ends up as opinion based then just let me know how to look for such tools please.

It has to be easy to use from SQL Server.

1

You can find some online tools for this purpose, but I think you should take a look at that Max Vernon's question:

Minimal, Complete, and Verifiable Example

Quoted from the question:

Include test output, in text formatted as a table, to show both what you're currently getting as well as what your desired output should be. Search for "ascii table generator" on your favorite search engine - there are several that are extremely easy to use.

Not the answer you're looking for? Browse other questions tagged .