Solved

Sync  MYSQL with Sql server  data

Posted on 2011-09-04
4
247 Views
Last Modified: 2012-06-21
I m attempting to sync MYSQL with SQL Server data with no luck.
I tried SSIS solution but couldnt insert data into MYSQL (incorrect syntax)
Is there any other way or any aother tool ypu suggest.
My requirement:
I have a view in SQL Server (combination of 3 tables) which I want to sync to a mysql table which is sitting on a linus box.
I need to either insert or update data.
0
Comment
Question by:venk_r
  • 2
  • 2
4 Comments
 
LVL 51

Expert Comment

by:HainKurt
ID: 36481808
did you try to export data option from SSMS?
right click db, export data and follow the steps...
0
 
LVL 8

Author Comment

by:venk_r
ID: 36481840
Actually I need to do update action too
0
 
LVL 51

Accepted Solution

by:
HainKurt earned 500 total points
ID: 36481863
you can export into a temp table
the write a merge query
if mysql does not support merge query, then write one insert and one update query to update your target table in mysql
0
 
LVL 8

Author Closing Comment

by:venk_r
ID: 36561984
Thanks
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Join & Write a Comment

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now