1

I am using SQLite3 on WSL2 (Ubuntu 20.04). When I attempt to set the output format mode to table, I get the following error:

sqlite> .mode table
Error: mode should be one of: ascii column csv html insert line list quote tabs tcl

I've updated SQLite3 to the most current version, and I am still not seeing "Table" as an option.

According to the SQLite3 documentation, I should be seeing 14 different modes to choose from.

Thank you!

Alex R
  • 11,364
  • 15
  • 100
  • 180
Dan G
  • 51
  • 8

1 Answers1

0

WSL2 does not have the latest version of sqlite3.

The solution is to upgrade using the instructions here:

How can I install or upgrade to sqlite 3.33.0 on Ubuntu 18.04?

Alex R
  • 11,364
  • 15
  • 100
  • 180