SQLite创建数据库
终端命令行创建sqlite数据库
sqlite3 test.db
安装VSCode扩展并连接数据库
打开VScode,安装SQLite和SQlLite Viewer扩展
按下快捷键Ctrl+Shift+P,输入sqlite:open database
选中sqlite3创建的database
报错
Failed to open database ‘e:\Code_Project\SQL\SQLite\test.db’: Parse error near line 4: no such column: “table” - should this be a string literal in single-quotes? aster WHERE (type=“table” OR type=“view”) error here —^
解决方案
打开扩展设置页面内
更改sqlite3路径(改为sqlite3安装路径,系统环境变量中的那个)
重新导入,资源管理器中显示SQLITE EXPLORER,解决