远程查询
来源:互联网 发布:linux 脚本 while 编辑:程序博客网 时间:2024/04/29 09:18
/*
--开启远程访问
exec sp_configure 'show advanced options',1
reconfigure
exec sp_configure 'Ad Hoc Distributed Queries',1
reconfigure*/
select * from openrowset('SQLOLEDB','IP';'用户名';'密码',库名.dbo.表名)
/*
--关闭远程访问
exec sp_configure 'Ad Hoc Distributed Queries',0
reconfigure
exec sp_configure 'show advanced options',0
reconfigure */
--开启远程访问
exec sp_configure 'show advanced options',1
reconfigure
exec sp_configure 'Ad Hoc Distributed Queries',1
reconfigure*/
select * from openrowset('SQLOLEDB','IP';'用户名';'密码',库名.dbo.表名)
/*
--关闭远程访问
exec sp_configure 'Ad Hoc Distributed Queries',0
reconfigure
exec sp_configure 'show advanced options',0
reconfigure */
0 0
- 远程查询
- 远程连接数据库查询
- 查询分析器下查询远程服务器方法
- 远程机器的MAC查询
- 数据库链接远程数据库查询
- SQL远程多库查询
- oracle dblink 远程连接查询
- Sqlserver2008 远程连接数据库查询
- SQL远程连接数据库查询数据,远程调用存储过程
- MySQL数据库IF查询远程拒绝服务漏洞
- [Bluetooth]查询远程设备上的服务
- SYBASE查询远程数据回显syb_sendmsg
- SQL Server 远程登录服务器管理与查询
- 远程连接后的模式查询
- 数据库远程连接查询优化实验
- 远程访问SQL数据库执行查询
- Shell脚本实现远程MySQL自动查询
- 简单远程服务器日志归档查询脚本
- HiveQL:视图
- Java中静态方法和实例方法的区别
- android-Junit单元测试
- HiveQL:索引
- R.NET用于Excel Add-In的多实例(multi-Instance)问题及解决方法(2)
- 远程查询
- Select模型原理
- 其他文件格式及压缩方法
- 正式赛-ZZULIOJ-1882- 蛤玮的魔法
- CentOS 7
- NSMethodSignature和NSInvocation的使用
- Leetcode_104_Maximum Depth of Binary Tree
- Android 内存分析(简)
- Java中方法重写与方法重载