We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
对于现在正在寻找此问题答案的任何人,可以找到一个免费的 Windows 工具 此处允许您将 SQLite 数据库转换为 SQL Server 数据库。
For anyone looking for an answer to this question now, there is a free windows tool that can be found here that allows you to convert an SQLite database to an SQL Server database.
试试这个——对我来说效果很好,30 天后只需 100 美元:-)
http://www.razorsql .com/index.html
Try this -- worked great for me and after 30 days its only $100 :-)
http://www.razorsql.com/index.html
您可以尝试 SQLite Manager for Firefox 附加组件
它具有以下功能将 SQLite 数据库导出到 .sql 文件,然后可以在 SQL Server 中运行该文件。可能并不完美,但它是免费的。
You could try the SQLite Manager for Firefox add-on
It's got the ability to export your SQLite db to a .sql file which you could then run in SQL Server. Might not be perfect, but it is free.
对我来说,在记事本++中通过替换以下内容进行转换并不复杂:
number ->;整数
文本-> [varchar] (1000)
GUID -> UNIQUEIDENTIFIER
布尔 ->位
自增-> IDENTITY (1,1)
长 -> int
双精度 ->浮动
创建表交付(
Id INT 不为空,
主键(ID)
}
->
创建表交付(
Id INT 不为空主键聚集,
-- 主键(ID)
最后
我在 SQL 图表中检查了约束、pk、列类型和大小。
For me it was n't that much complicated to convert in notepad++ by replacing:
number -> int
text -> [varchar] (1000)
GUID -> UNIQUEIDENTIFIER
Bool -> bit
autoincrement -> IDENTITY (1,1)
long -> int
double -> float
create table Delivery (
Id INT not null,
primary key (Id)
}
->
create table Delivery (
Id INT not null primary key clustered,
-- primary key (Id)
}
and at the end I checked constraints, pk, column type and size in a SQL diagram.