开发者

Best solution to import records from MySQL database to MS SQL (Hourly)

I need to import records stored in a MySQL Database that I do not maintain into my Sql Server 2005 database (x64)

We should import the records at an interval basis (probably 1 hour).

What would be the bes开发者_C百科t solution to perform the regular import?

  1. Windows Service (using reference MySql.data dll)
  2. Windows Client (could make it automated)
  3. SQL Extended Stored Procedure (is it possible to reference the MySQL.data dll?)
  4. SSIS package - Install MySQL ODBC driver

The problem with #4 is that I do not really want to support the ODBC driver on the sql server.

I'm not sure if you can even reference the x86 MySql.data dll into a x64 sql server process for #3. (Or if you can even reference that dll within a sql server project)


If it were mine to do, I'd go the SSIS route. Sure, you'll "maintain" the ODBC driver on the server, but compared to the maintenance (and development time and headaches) of the other 3 options, that seems to be the simplest route.


What abaut MySql -> *.DAT (per table) -> FTP to WINSERVER -> SSIS to SQL


4.SSIS package - Install MySQL ODBC driver would be the best solution.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜