On 11/11/15, Adams, Justin <Justin.Adams at usoncology.com> wrote:
>
> I was trying to create a table with a column for IPv4 addresses as VARCHAR.
> It seems when I set the .mode to column that some records are truncated on
> the right. Changing the .mode fixes the problem, so I would think it has to
> do with the column width calculation.

There is a separate ".width" command to set the widths of all columns.  The
default width is 10, iirc.  The column widths are not auto-computed in
".mode column".

-- 
D. Richard Hipp
drh at sqlite.org

Reply via email to