当前位置:网站首页>SQL Server 调用 WebService
SQL Server 调用 WebService
2022-08-04 22:04:00 【51CTO】
declare @xmlhttp int
declare @err int
declare @Get VARCHAR(3000)
EXEC @err = sp_OACreate "MSXML2.XMLHTTP", @xmlhttp OUT --创建XMLHTTP对象
EXEC @err = sp_OAMethod @xmlhttp,'Open',NULL,'Get',' http://www.sms10000.com.cn/szdx_sdk/SMS?cmd=getmo&uid=075582980049&psw=12345','False' --调用OPEN方法
EXEC @err = sp_OAMethod @xmlhttp,'Send',NULL,NULL; --调用SEND方法
EXEC @err = sp_OAGetProperty @xmlhttp, 'responseText',@Get output
print @Get
SELECT @Get as result
边栏推荐
- OC-拷贝
- Numpy on the superposition of two arrays
- rk3399 驱动屏参的几种方式
- 智能盘点钢筋数量AI识别
- ROS packages visualization
- In which industries is the PMP certificate useful?
- [QT] Implementation of callback function
- Is the International Project Manager PMP certificate worth taking?
- 【TCP/IP 四 IP 网际协议】
- 软件测试外包公司怎么样?有什么好处和坏处?为什么没人去?
猜你喜欢

字节跳动秋招提前批高频面试问题汇总!(内附答案!)
![[Linear Algebra 03] Elimination method display and 4 solutions of AX=b](/img/29/fd79222e5bec26851974abd86a2013.png)
[Linear Algebra 03] Elimination method display and 4 solutions of AX=b

Cocoa Application-基础

UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xd6 in position 120: invalid continuation byte

Is the International Project Manager PMP certificate worth taking?

Flutter 实现背景图片毛玻璃效果

rk3399 驱动屏参的几种方式

备战9月,美团50道软件测试经典面试题及答案汇总

Ramnit感染型病毒分析与处置

Yolov7:Trainable bag-of-freebies sets new state-of-the-art for real-time objectdetectors
随机推荐
Qt面试题整理
AI/ML无线通信
Numpy on the superposition of two arrays
打卡第 1 天:正则表达式学习总结
Cocoa Application-test
CPU、内存、显卡等硬件因素也影响着你的深度学习模型性能
遍历await方法的区别:以for和forEach为例
[Linear Algebra 03] Elimination method display and 4 solutions of AX=b
PCBA scheme design - kitchen voice scale chip scheme
限制tensorflow使用Cpu核数
com.jacob.com.ComFailException: Invoke of: ActiveDocument
【线性代数02】AX=b的2种解释和矩阵乘法的5种视角
立方度量(Cubic Metric)
Rt-thread [三] link.lds链接脚本详解
快速web开发框架——learun framework
如何一键重装win7系统?重装win7系统详细教程
Charles & TCPDump & Fiddler 抓包三兄弟七夕联手,还抓不到你的心?
【组成原理 六 存储器类型】
如何根据“前序遍历,中序遍历”,“中序遍历,后序遍历”构建按二叉树
Oracle使用expdp和impdp导出导入数据