sqlite throwing a “String not recognized as a valid datetime”
问题 I am playing around with Sqlite and keep getting an error when trying to read back some test data. For example, I created a simple db with a single table and some columns and populated it with some test data as shown below. sqlite> .schema CREATE TABLE "shows"(id integer primary key asc autoincrement, showName TEXT, guest TEXT, dateAired date, dateWatched date); sqlite> select * from shows; 6|test show|test guest 1|2012.05.01|2012.07.10 7|test show|test guest 2|2012.05.02|2012.07.10 8|test