linked-server

SELECT * FROM Linked MySQL server

孤人 提交于 2019-11-26 17:19:19
问题 I have a SQL Server 2012.(120.120.55.15) Today I linked MySQL server(120.120.55.30) to my SQLServer and gave it a name "MYSQL". In Object Explorer everything seems fine. I can see MySQL server's database " exampleDataBase " and tables in it. But when I try to run select query like this: SELECT * FROM openquery ( MYSQL, ' SELECT * FROM [exampleDataBase].[msProcMatrix] ' ) I get a mistake: Msg 7399, Level 16, State 1, Line 1 The OLE DB provider "MSDASQL" for linked server "MYSQL" reported an

How to create linked server MySQL

故事扮演 提交于 2019-11-26 16:43:59
Is it possible create/configure MySQL for functionality like SQL Server's Linked Server? If yes, would you please tell me how? I'm using MySQL 5.5. MySQL's FEDERATED engine provides functionality similar to SQL Server's Linked Server (and Oracle's dblink) functionality, but doesn't support connecting to vendors other than MySQL. It's not clear from the question if you need the functionality to connect to vendors other than MySQL. You might want to look into MySQL Proxy . This doesn't match the architecture of Linked Servers/dblink, but you can probably solve a similar set of problems that you

How to create linked server MySQL

喜你入骨 提交于 2019-11-26 12:15:36
问题 Is it possible create/configure MySQL for functionality like SQL Server\'s Linked Server? If yes, would you please tell me how? I\'m using MySQL 5.5. 回答1: MySQL's FEDERATED engine provides functionality similar to SQL Server's Linked Server (and Oracle's dblink) functionality, but doesn't support connecting to vendors other than MySQL. It's not clear from the question if you need the functionality to connect to vendors other than MySQL. You might want to look into MySQL Proxy. This doesn't

SQL Server Linked Server Example Query

狂风中的少年 提交于 2019-11-26 01:47:44
问题 While in Management Studio, I am trying to run a query/do a join between two linked servers. Is this a correct syntax using linked db servers: select foo.id from databaseserver1.db1.table1 foo, databaseserver2.db1.table1 bar where foo.name=bar.name Basically, do you just preface the db server name to the db.table ? 回答1: The format should probably be: <server>.<database>.<schema>.<table> For example: DatabaseServer1.db1.dbo.table1 Update : I know this is an old question and the answer I have

SQL Server Linked Server Example Query

元气小坏坏 提交于 2019-11-26 01:38:26
While in Management Studio, I am trying to run a query/do a join between two linked servers. Is this a correct syntax using linked db servers: select foo.id from databaseserver1.db1.table1 foo, databaseserver2.db1.table1 bar where foo.name=bar.name Basically, do you just preface the db server name to the db.table ? The format should probably be: <server>.<database>.<schema>.<table> For example: DatabaseServer1.db1.dbo.table1 Update : I know this is an old question and the answer I have is correct; however, I think any one else stumbling upon this should know a few things. Namely, when querying