数据迁移:什么方式是最好的迁移方式?

发布于 2024-09-27 13:15:25 字数 168 浏览 0 评论 0原文

我正在MS SQL 2005中对两个数据库进行数据迁移。记录超过200000条,近300000条。我需要使用联接从源数据库进行查询,并在目标数据库中插入2或3个表。

哪种方法是最好的方法?请建议我。我正在尝试用 VB.NET 编写一个程序。如果您有样品,请告诉我如何做。

提前致谢, 红魔队

I am doing data migration two database in MS SQL 2005. The records are more than 200000 nearly 300000. I need to query from source database using joins and insert 2 or 3 tables in destination databse.

Which way is the best way to do so? Please suggest me. I am trying to write a program with VB.NET. If you have sample, please show me the way how to.

Thanks in advance,
RedsDevils

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

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

发布评论

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

评论(1

花开浅夏 2024-10-04 13:15:25

源数据的问题是否明确定义?如果是这样,那么您只需使用链接服务器,并从其中一个进行查询数据库并插入到目标中,使用选择查询过滤掉不良数据。这将消除在 .NET 中编写任何内容的需要......

Is the issue with the source data well defined? If so, then you can just use Linked Servers, and query from one database and insert into the target filtering out the bad data using your select query. This would remove the need to write anything in .NET...

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