SQLite3 Terminal Output Formatting .width
The sqlite3
tool has no such function.
You would have to compute the column widths by hand (SELECT max(length(col1)) ...
).
From the documentation of SQLite:
If you specify a column a width of 0, then the column width is automatically adjusted to be the maximum of three numbers: 10, the width of the header, and the width of the first row of data. This makes the column width self-adjusting. The default width setting for every column is this auto-adjusting 0 value.