What is the best approach for extracting data from a MySQL Database and importing it into MSSQL? 1) export to text file then import, 2) Set up ODBC conneciton to the MySQL server as a Connection Manager item - can you specify a query in a dataflow task that is correct for MySQL but won't run in MSSQL? or 3) Some other way?
Your option (2) is correct also. Whether the source query runs OK on SQL Server is not relevant if your connection is to MySQL.
Help us to help you. For better, quicker and more-focused answers to your questions, consider following the advice in this
If the answer to your question can be found with a brief Google search, please perform the search yourself, rather than expecting one of the SSC members to do it for you.
Please surround any code or links you post with the appropriate IFCode formatting tags. It helps readability a lot.