Question

Which technology should be used if I want to move my data from SQL Server to MySQL server when data is entered to SQL Server row by row and getting feedback from MySQL server?

Should it be 1. Linked-Server or 2. SSIS?

Also,

  1. Each time I insert a row in SQL Server it should also insert into MySQL and when it is done successfully I should update a flag column in SQL Server to 1 for acknowledgement of data insertion.

  2. What if I update MySQL table. Would it be reflected in SQL Server also?

Was it helpful?

Solution

Given the above comments, I'd recommend going with an SSIS package. If you go with the linked server option you are injecting database dependency between the replication and the MSSQL server objects. Linked servers are also a security liability, anyone with sufficient permissions on the MSSQL database can access the target database on the linked server. Choosing SSIS gives complete control over the datasources, execution, scheduling and effectively decouples the data transfer from the actual databases.

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top