
SQLite
friendan
快乐源于分享丶
展开
-
sqlite DateTime指定默认时间
默认值这样写:'2000-01-01 12:00:00'注意要用单引号,不能使用双引号有些IDE太傻了,分辩不出来,还不提示哪里错了。。。原创 2020-03-24 20:17:25 · 1066 阅读 · 0 评论 -
SQL logic error or missing database no such table: xxx
System.Data.SQLite.SQLiteException (0x80004005): SQL logic error or missing database no such table: xxx错误原因:在连接数据库时,数据库文件没有使用绝对路径:new SQLiteConnection("Data Source=xxx.sqlite;Version=3;");原创 2016-09-20 17:49:53 · 33403 阅读 · 4 评论