当前位置:网站首页>SQL Server calls WebService
SQL Server calls WebService
2022-08-04 22:20:00 【51CTO】
declare @xmlhttp int
declare @err int
declare @Get VARCHAR(3000)
EXEC @err = sp_OACreate "MSXML2.XMLHTTP", @xmlhttp OUT--Create XMLHTTP object
EXEC @err = sp_OAMethod @xmlhttp,'Open',NULL,'Get',' http://www.sms10000.com.cn/szdx_sdk/SMS?cmd=getmo&uid=075582980049&psw=12345','False' --call OPEN method
EXEC @err = sp_OAMethod @xmlhttp,'Send',NULL,NULL; --call SENDMethod
EXEC @err = sp_OAGetProperty @xmlhttp, 'responseText',@Get output
print @Get
SELECT @Get as result
边栏推荐
- 后排乘客不系安全带?事故瞬间被甩出
- DREAMWEAVER8 part of the problem solution
- 快速web开发框架——learun framework
- com.jacob.com.ComFailException: Invoke of: ActiveDocument
- 视频gif如何制作?试试这个视频制作gif神器
- Why is MySQL query slow?
- Use ngrok to optimize web pages on raspberry pi (1)
- Hardware factors such as CPU, memory, and graphics card also affect the performance of your deep learning model
- ctfshow终极考核web654
- ES6高级-Promise的用法
猜你喜欢
随机推荐
LocalDateTime的详细使用方法
力扣24-两两交换链表中的节点——链表
字节跳动秋招提前批高频面试问题汇总!(内附答案!)
年薪40W测试工程师成长之路,你在哪个阶段?
论文解读(PPNP)《Predict then Propagate: Graph Neural Networks meet Personalized PageRank》
DREAMWEAVER8 part of the problem solution
QT 子窗口—>主窗口 信号和槽的交互
限制tensorflow使用Cpu核数
Ramnit感染型病毒分析与处置
Rocketchip RISC-V Debug调试硬件相关(四)hartIsInReset
力扣19-删除链表的倒数第 N 个结点——链表
七夕特制:《牛郎会织女》
【C - 基本概念】
How to right use of WebSocket in project
快速web开发框架——learun framework
【QT】回调函数的实现
Qiangwang Cup 2022 - WEB
QT[一] 信号与槽
Redisson
【2020】【论文笔记】超表面:多功能和可编程——








