有什么工具可以将 SQLite 数据库转换为 sql server 吗?

发布于 2024-08-28 00:29:19 字数 1539 浏览 5 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

趁微风不噪 2024-09-04 00:29:20

对于现在正在寻找此问题答案的任何人,可以找到一个免费的 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.

梦里泪两行 2024-09-04 00:29:20

试试这个——对我来说效果很好,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

浪荡不羁 2024-09-04 00:29:19

您可以尝试 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.

洒一地阳光 2024-09-04 00:29:19

对我来说,在记事本++中通过替换以下内容进行转换并不复杂:

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文