You have several options:
- On the sql server side, you can configure the connection to your old mysql db using something called a linked server . This will allow you to write sql code for a SQL server that returns data from mysql tables. You can use this to create INSERT or SELECT INTO statements.
- You can write queries for mysql to export your data as csv, and then use the BULK INSERT functions for SQL Server to efficiently import csv data.
- You can use Sql Server integration services to set data movement from mysql.
Whatever you choose, artifacts other than data, such as indexes, foreign keys, triggers, stored procedures, and security, must be moved manually.
source share