SQLite Forum

CLI .width command lost effect

CLI .width command lost effect

(1) By Nils (t7gphy87) on 2021-01-20 13:04:41 [link] [source]

The .width command suddenly seems to have lost its effect. This is on SQLite 3.34.0. I must have done something wrong, but I haven't got a clue. Any tips?

(2) By Richard Hipp (drh) on 2021-01-20 13:47:55 in reply to 1 [source]

I use .width daily and it seems to be working fine to me. Why don't you explain what you mean by "lost its effect". Perhaps provide us with an example of the ".width" command you have in mind, together with a succinct description of what it is doing for you and what you think it ought to be doing.

(3) By Nils (t7gphy87) on 2021-01-21 12:26:42 in reply to 2 [link] [source]

.width works fine, my mistake.

I had it the wrong way around – I thought .width set the column widths. All the data I was looking at so far was such that it made me believe that was the case. Then some new data snuck in that revealed what .width was actually doing and I got all confused.