如何将SQLITE数据库导入SQL Server数据库 [英] How to import SQLITE database to SQL server database
本文介绍了如何将SQLITE数据库导入SQL Server数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
i希望在sqlserver中使用与数据库表相同的值如何导入sqlite数据库进入sqlserver
我的尝试:
亲爱的我我有sqlite创建的数据库它包含一些带值的表
i想在sqlserver中使用与sqlserver相同的数据库表如何将sqlite数据库导入sqlserver
解决方案
SQLite有一个CLI: SQLite命令行Shell [ ^ ]其中包含.dump
命令将您的数据库输出到一个文本文件中,该文件包含用于创建和填充数据库的SQL代码。
在SQL Server中将其作为查询运行,它应该完成这项工作。
Dear all i am having data base created by sqlite it contains some tables with values
i want to use the same database tables with values in sqlserver how to import sqlite database into sqlserver
What I have tried:
Dear all i am having data base created by sqlite it contains some tables with values
i want to use the same database tables with values in sqlserver how to import sqlite database into sqlserver
解决方案
SQLite has a CLI: Command Line Shell For SQLite[^] which includes a.dump
command which outputs your DB into a a text file containing the SQL code to create and populate the DB.
Run that as a query in SQL Server, and it should do the job.
这篇关于如何将SQLITE数据库导入SQL Server数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文