sqlite3 表迁移

将数据源中的表notes备份成sql

.output notes.sql
.dump notes # .dump 备份全部
.output stdout

目标数据库执行sql

drop table notes;
.read notes.sql

评论

暂无评论