I need to transfer some tables from a MSSQL server to a MySQL server.
I have successfully connected SSMS on a windows host to my MySQL server on my linux box. The "linked server" appears in the object explorer and I am able to perform queries on the MySQL server, vis.
sql
select * from openquery(LINKED_SERVER_NAME, "select * from mysqltable.customers");
I'm an utter noob with MSSQL and am somewhat confused by openquery. Is the query "read only", or can I actually select the contents of an MSSQL table into a table on the linked server?
All the MSDN pages I have read are reminiscent of those old break dancing instruction videos from the 80's. I.E. a very terse example, followed by utter madness.
I have seen excellent examples showing how to use openquery to select the contents of the remote MySQL database into an MSSQL database. Unfortunately I can't figure out if there is a way to reverse that syntax.
Really sorry if this is a stupid question, but I'm just not getting any traction.