SQL Server 定时访问url激活数据同步
来源:互联网 发布:南京淘宝招聘网 编辑:程序博客网 时间:2024/06/06 04:44
创建作业,执行以下命令
exec master..XP_cmdshell 'http://srm.rapoo.cn?op=sapintferace&i=1&t=1'
激活执行同步网步
以下内容来自网络,介绍如何启用 xp_cmdshell 扩展存储过程将命令
一、简介
xp_cmdshell 扩展存储过程将命令字符串作为操作系统命令 shell 执行,并以文本行的形式返回所有输出。
三、SQL Server 2005中的xp_cmdshell
由于存在安全隐患,所以在SQL Server 2005中, xp_cmdshell 默认是关闭的。
此时,如果执行 xp_cmdshell 将会提示服务未开启:
exec xp_cmdshell 'dir c:/'
消息 15281,级别 16,状态 1,过程 xp_cmdshell,第 1 行
SQL Server 阻止了对组件 'xp_cmdshell' 的 过程'sys.xp_cmdshell' 的访问,因为此组件已作为此服务器安全配置的一部分而被关闭。系统管理员可以通过使用 sp_configure 启用 'xp_cmdshell'。有关启用 'xp_cmdshell' 的详细信息,请参阅 SQL Server 联机丛书中的 "外围应用配置器"。
四、开启xp_cmdshell
EXEC sp_configure 'show advanced options', 1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell', 1;RECONFIGURE;
关闭一样.只是将上面的后面的那个"1"改成"0"就可以了.
EXEC sp_configure 'show advanced options', 1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell', 0;RECONFIGURE;
未能找到存储过程 'master..xp_cmdshell'
第一步执行:EXEC sp_addextendedproc xp_cmdshell,@dllname ='xplog70.dll'declare @o int
第二步执行:sp_addextendedproc 'xp_cmdshell','xpsql70.dll'
- SQL Server 定时访问url激活数据同步
- 定时同步sql server数据到mysql
- SQL Server使用存储过程定时同步数据
- Sql Server数据同步
- SQL Server数据同步
- SQL Server 2000数据同步
- SQL Server 夸服务器同步或定时同步数据库
- SQL Server 访问URL 调用WebServer
- SQL Server访问Exchange数据
- Linux定时访问URL
- Sql Server 自动定时备份数据
- 定时删除表中数据SQl server
- 访问url激活功能脚本
- SQL Server 2008定时数据库同步(发布、订阅)
- SQL SERVER中数据同步的实现
- 两台SQL Server数据同步解决方案
- 两台SQL Server数据同步解决方案
- SQL server服务器间的数据同步
- struts1.2 + spring2.5 + hibernate3.2框架搭建二之配置文件
- Android开发:实时处理摄像头预览帧视频------浅析PreviewCallback,onPreviewFrame,AsyncTask的综合应用
- maven 学习地址
- 一些不错的文章
- 算法导论 第4章 源程序 分治策略 最大子数组 Strassen算法
- SQL Server 定时访问url激活数据同步
- ubuntu下启动tomcat问题
- uip1.0 ping不通解决方案
- struts1.2 + spring2.5 + hibernate3.2框架搭建三之后台代码
- 算法导论 第六章 堆排序
- jboss关于内存溢出的问题java.lang.OutOfMemoryError: PermGen space
- uptime命令详解——linux性能分析
- poj 1837 Balance (DP)
- 用友盟的组件实现分享内容到新浪微博,微信,朋友圈