<?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>Thu, 09 Feb 2012 13:10:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Par</title>
		<link>http://www.siusic.com/wphchen/link-mysql-server-into-mssql-server-332.html#comment-104284</link>
		<dc:creator>Par</dc:creator>
		<pubDate>Tue, 31 Aug 2010 23:08:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.siusic.com/wphchen/?p=332#comment-104284</guid>
		<description>Here is the problem that I am facing. setup of the linked server is good but if I am running 

INSERT INTO OPENQUERY (MYSQL, 'SELECT * FROM MySQL_Table')
SELECT * FROM MS_SQL_Server_Table
GO

The insert works fine except that any MONEY type will be multiplied by 10,000 in the MySQL table 

the tables are identical except that it is a DECIMAL (19,4) type.

Has any one had this problem and fixed it</description>
		<content:encoded><![CDATA[<p>Here is the problem that I am facing. setup of the linked server is good but if I am running </p>
<p>INSERT INTO OPENQUERY (MYSQL, &#8216;SELECT * FROM MySQL_Table&#8217;)<br />
SELECT * FROM MS_SQL_Server_Table<br />
GO</p>
<p>The insert works fine except that any MONEY type will be multiplied by 10,000 in the MySQL table </p>
<p>the tables are identical except that it is a DECIMAL (19,4) type.</p>
<p>Has any one had this problem and fixed it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: erikvw</title>
		<link>http://www.siusic.com/wphchen/link-mysql-server-into-mssql-server-332.html#comment-68650</link>
		<dc:creator>erikvw</dc:creator>
		<pubDate>Mon, 24 Aug 2009 08:29:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.siusic.com/wphchen/?p=332#comment-68650</guid>
		<description>all thes "tests" above worked for me except the important one, the "Link Server" connection test.

1. originally i had added a USER DSN. So i deleted the USER DSN and added a SYSTEM DSN with a simple name (no punctuation) like S008

2. i had to download and install the "Microsoft OLE DB Provider for ODBC" because it was not available on my w2003 x64 server. See &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=000364db-5e8b-44a8-b9be-ca44d18b059b&#38;displaylang=en" rel="nofollow"&gt;ms&lt;/a&gt;

then it worked as described above.

thanks!</description>
		<content:encoded><![CDATA[<p>all thes &#8220;tests&#8221; above worked for me except the important one, the &#8220;Link Server&#8221; connection test.</p>
<p>1. originally i had added a USER DSN. So i deleted the USER DSN and added a SYSTEM DSN with a simple name (no punctuation) like S008</p>
<p>2. i had to download and install the &#8220;Microsoft OLE DB Provider for ODBC&#8221; because it was not available on my w2003 x64 server. See <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=000364db-5e8b-44a8-b9be-ca44d18b059b&amp;displaylang=en" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/www.microsoft.com');">ms</a></p>
<p>then it worked as described above.</p>
<p>thanks!</p>
]]></content:encoded>
	</item>
	<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>

