sqlite3 is chopping/cutting/truncating my text columns

后端 未结 5 1392
太阳男子
太阳男子 2020-12-30 20:47

I have values being cut off and would like to display the full values.

Sqlite3 -column -header locations.dbs \"
select n.namelist, f.state, t.state
from name         


        
5条回答
  •  清酒与你
    2020-12-30 20:56

    you could just use column (the unix command) like this:

    sqlite3 -list -separator "|" -header db.dbs "Select ...." | column -t -s "|"
    

    -list and -separator can be omitted, as they are defaults

提交回复
热议问题