SQL Server 2008 Express to SQLite

时间:2021-03-21 15:54:48

Can I convert a SQL Server Express 2008 database to SQLite?

我可以将SQL Server Express 2008数据库转换为SQLite吗?

My database is simple and only has 1 table but it has about 1000 rows and it's hard for me to make a new SQLite database and add these 1000 records.

我的数据库很简单,只有一个表,但是它有大约1000行,我很难创建一个新的SQLite数据库并添加这些1000条记录。

thanks...

谢谢……

2 个解决方案

#1


4  

Try this: Convert SQL Server DB to SQLite DB

尝试以下操作:将SQL Server DB转换为SQLite DB

It is a free .net converter on CodeProject, the poster stated:

它是CodeProject上的一个免费的。net转换器,海报上写道:

I needed to convert the existing SQL server databases to SQLite databases as part of a DB migration program and did not find any decent free converter to do the job.

我需要将现有的SQL server数据库转换为SQLite数据库,作为DB迁移程序的一部分,并且没有找到任何合适的免费转换器来完成这项工作。

So I assume he has spent some time looking for what you seek and did not have any luck either.

所以我猜他花了一些时间去寻找你想要的东西,也没有任何运气。

The source code is available and well documented (according to the poster).

源代码是可用的,并且有很好的文档(根据海报)。

#2


0  

There are many software that can generate the inserts code. For example:

有许多软件可以生成插入代码。例如:

Sql Workbench (free)

Sql工作台(免费)

Aqua Data Studio (non free but you can evaluate)

Aqua数据工作室(非免费的,但您可以评估)

Both can generate inserts from many different databases including SQL Server.

它们都可以从许多不同的数据库(包括SQL Server)生成插入。

#1


4  

Try this: Convert SQL Server DB to SQLite DB

尝试以下操作:将SQL Server DB转换为SQLite DB

It is a free .net converter on CodeProject, the poster stated:

它是CodeProject上的一个免费的。net转换器,海报上写道:

I needed to convert the existing SQL server databases to SQLite databases as part of a DB migration program and did not find any decent free converter to do the job.

我需要将现有的SQL server数据库转换为SQLite数据库,作为DB迁移程序的一部分,并且没有找到任何合适的免费转换器来完成这项工作。

So I assume he has spent some time looking for what you seek and did not have any luck either.

所以我猜他花了一些时间去寻找你想要的东西,也没有任何运气。

The source code is available and well documented (according to the poster).

源代码是可用的,并且有很好的文档(根据海报)。

#2


0  

There are many software that can generate the inserts code. For example:

有许多软件可以生成插入代码。例如:

Sql Workbench (free)

Sql工作台(免费)

Aqua Data Studio (non free but you can evaluate)

Aqua数据工作室(非免费的,但您可以评估)

Both can generate inserts from many different databases including SQL Server.

它们都可以从许多不同的数据库(包括SQL Server)生成插入。