SQL Server: What is the best way to Data Migration? [closed]

白昼怎懂夜的黑 提交于 2019-12-03 00:27:17

问题


I want to migrate data from one database to another database in Microsoft SQL Server 2005. I need to verify those rows retrieved before I insert them to the destination database's tables. Which approach is reasonable for this kind of things?

I am trying to use two datasets in my VB.NET program. Is it reasonable? Can you suggest me?

Thanks in advance,

RedsDevils


回答1:


It depends on how much data you're talking about, but I'd tend to pass on .Net datasets for a migration task, as that means pulling all the data into memory. If you must do this via a .Net client program, at least use a DataReader instead. But what's even better is to keep it all in Sql Server via Sql Server Integration Services.



来源:https://stackoverflow.com/questions/3903433/sql-server-what-is-the-best-way-to-data-migration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!