Home >Database >Mysql Tutorial >连接远程服务器

连接远程服务器

WBOY
WBOYOriginal
2016-06-07 14:56:511204browse

连接远程服务器 无 --方法1:select?*??from?openrowset('SQLOLEDB','server=192.168.0.67;uid=sa;pwd=password','SELECT?*?FROM?BCM2.dbo.tbAppl')--方法2:select?*??from?openrowset('SQLOLEDB','192.168.0.67';'sa';'password','SELECT?*?FROM?BCM2.dbo.

连接远程服务器

--方法1:
select?*??from?openrowset('SQLOLEDB','server=192.168.0.67;uid=sa;pwd=password','SELECT?*?FROM?BCM2.dbo.tbAppl')

--方法2:
select?*??from?openrowset('SQLOLEDB','192.168.0.67';'sa';'password','SELECT?*?FROM?BCM2.dbo.tbAppl')?
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn