Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 26th, 2006, 04:36 AM
Registered User
 
Join Date: Nov 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default moving mysql data to sql server every 24hours

hi friends,
I need to move all data from mysql database to sql server database every 24 hours . is it possible by sql server 2000 query or sp by using job scheduling ? plz help . its urgent . if possible plz provide sample query or sp to do this.

regards,
max

 
Old November 26th, 2006, 05:29 PM
SQLScott's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 338
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Hi Max,

I don't know a whole lot about MySql, nor do I know if there is a MySql odbc type driver.

You did not specify the size of the database (how many tables, etc), but if I were you, I would investigate the possiblity of 1 of the following 2 options, based on the size of the database

1) See if MySql can export the data to a specific format and have SQL Server import that data.
2) Possibly see if you can attach the MySql database to SQL Server and schedule a DTS job to move/copy the data from the MySql database to a SQL Server database.



Scott Klein
Author - Professional SQL Server 2005 XML
http://www.wrox.com/WileyCDA/WroxTit...764597922.html
 
Old November 26th, 2006, 07:31 PM
Friend of Wrox
 
Join Date: Oct 2006
Posts: 475
Thanks: 0
Thanked 9 Times in 9 Posts
Default

If you need to move data that often, why not just use SQL Server and avoid MySQL altogether?

--Jeff Moden
 
Old November 27th, 2006, 10:48 PM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 385
Thanks: 0
Thanked 0 Times in 0 Posts
Default

licensing costs is a good reason to use Mysql. I am not sure I follow your question but why don't you just use dts? Just requires an ODBC connection to your mysql database. Real question is why not just use Mysql for everything?


 
Old November 28th, 2006, 09:52 AM
Friend of Wrox
 
Join Date: Oct 2006
Posts: 475
Thanks: 0
Thanked 9 Times in 9 Posts
Default

Licensing is a capital expense that can be written off but Robprell and I both have the correct idea... why not just do everything in one RDBMS or the other?

--Jeff Moden





Similar Threads
Thread Thread Starter Forum Replies Last Post
Best way to transfer data from SQL server to MySql happygv SQL Server 2000 0 April 26th, 2007 09:54 AM
Issues moving to SQL 2005 Server iPagan BOOK: Accessible XHTML and CSS Web Sites: Problem Design Solution 1 January 17th, 2007 01:35 PM
Error after moving to new SQL server jackchua BOOK: ASP.NET Website Programming Problem-Design-Solution 1 May 29th, 2005 07:47 PM
Moving to SQL Server siptah Access VBA 4 January 27th, 2005 07:28 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.