1.
USE MASTER;
GO
EXEC sp_serveroption '数据库名', 'data access', 'on';
GO
2.
exec sp_configure 'show advanced options',1
reconfigure
exec sp_configure 'Ad Hoc Distributed Queries',1
reconfigure
3.
SELECT *
FROM opendatasource( 'SQLOLEDB ', 'Data Source=数据库名;User ID=sa;Password=****').wxsms.dbo.wx_send