简体   繁体   English

从SQL Server 2008r2自动获取数据到mysql

[英]Get data from SQL server 2008r2 to mysql automatically

I have a web interface (php front end, mysql backend) running in the same domain as a sql server database. 我有一个Web界面(php前端,mysql后端)在与sql服务器数据库相同的域中运行。 I need to frequently (daily or weekly) query sql server and then load that data into mysql. 我需要经常(每天或每周)查询sql server,然后将该数据加载到mysql中。 What would be the most efficient way to do this? 什么是最有效的方法?

you could use the SQL Server Agent to run a scheduled job that would select and export the data direct to your MySQL server. 您可以使用SQL Server Agent运行计划的作业,该作业将选择数据并将其直接导出到MySQL服务器。

Like this example ( SQL Server Management Studio 2008 scheduled export to MS Access ), but exporting to MySQL instead of MS Access 像本例一样( SQL Server Management Studio 2008计划导出到MS Access ),但是导出到MySQL而不是MS Access

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM