<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Link MySQL Server Into MSSQL Server</title>
	<atom:link href="http://www.siusic.com/wphchen/link-mysql-server-into-mssql-server-332.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.siusic.com/wphchen/link-mysql-server-into-mssql-server-332.html</link>
	<description>Random thoughts and news by Andrew Chen and friends</description>
	<pubDate>Fri, 30 Jul 2010 21:41:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Andrew Chen</title>
		<link>http://www.siusic.com/wphchen/link-mysql-server-into-mssql-server-332.html#comment-54443</link>
		<dc:creator>Andrew Chen</dc:creator>
		<pubDate>Thu, 12 Mar 2009 16:48:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.siusic.com/wphchen/?p=332#comment-54443</guid>
		<description>The syntex of insert statement to a MySQL linkedServer will be somthing like this:

insert into openquery(mysqlserver,'select * From tablename') values (value1,value2....)

for your case it will be like:

insert into openquery(mysql_linked_server1,'select * From table1') select * from openquery(mysql_linked_server2, 'select * from table2')

Let us know if it works.

Thanks</description>
		<content:encoded><![CDATA[<p>The syntex of insert statement to a MySQL linkedServer will be somthing like this:</p>
<p>insert into openquery(mysqlserver,&#8217;select * From tablename&#8217;) values (value1,value2&#8230;.)</p>
<p>for your case it will be like:</p>
<p>insert into openquery(mysql_linked_server1,&#8217;select * From table1&#8242;) select * from openquery(mysql_linked_server2, &#8217;select * from table2&#8242;)</p>
<p>Let us know if it works.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff</title>
		<link>http://www.siusic.com/wphchen/link-mysql-server-into-mssql-server-332.html#comment-54365</link>
		<dc:creator>Geoff</dc:creator>
		<pubDate>Wed, 11 Mar 2009 22:58:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.siusic.com/wphchen/?p=332#comment-54365</guid>
		<description>Hi Andrew,

I have recently setup a pair of linked MySQL servers, each on a different computer.  Not being entirely familiar with MySQL, I noticed that you mentioned I cannot use 4part naming to access the tables.  The problem I am having is that I need to run Insert into svr1.db1.schema1.tbl SELECT * from svr2.db1.schema1.tbl and I am not sure how to effect this.  Would you be able to provide some assistance?  I would really appreciate any suggestions to resolve this.  As a side note, what I am attempting to do is create a stored procedure or some method to backup one MySQL database to another, and my knowledge of the MySQL interfaces is almost nonexistant.

Thanks,
Geoff Sutton</description>
		<content:encoded><![CDATA[<p>Hi Andrew,</p>
<p>I have recently setup a pair of linked MySQL servers, each on a different computer.  Not being entirely familiar with MySQL, I noticed that you mentioned I cannot use 4part naming to access the tables.  The problem I am having is that I need to run Insert into svr1.db1.schema1.tbl SELECT * from svr2.db1.schema1.tbl and I am not sure how to effect this.  Would you be able to provide some assistance?  I would really appreciate any suggestions to resolve this.  As a side note, what I am attempting to do is create a stored procedure or some method to backup one MySQL database to another, and my knowledge of the MySQL interfaces is almost nonexistant.</p>
<p>Thanks,<br />
Geoff Sutton</p>
]]></content:encoded>
	</item>
</channel>
</rss>
