当前位置:网站首页>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
边栏推荐
- QT[一] 信号与槽
- 得不到你的心,就用“分布式锁”锁住你的人
- Detailed usage of LocalDateTime
- Hardware factors such as CPU, memory, and graphics card also affect the performance of your deep learning model
- Exploration and Practice of Database Governance
- OC-协议
- 论文解读(PPNP)《Predict then Propagate: Graph Neural Networks meet Personalized PageRank》
- PowerBI scripture series
- docker 搭建mysql 主从复制
- 今天又做了三个梦,其中一个梦梦里的我还有意识会思考?
猜你喜欢
今天是七夕,来看看程序员的土味情话。
中大型商业银行堡垒机升级改造方案!必看!
Analysis and treatment of Ramnit infectious virus
测试薪资这么高?刚毕业20K,仅需3.5个月
字节跳动秋招提前批高频面试问题汇总!(内附答案!)
三个多月、40余场面试浓缩为6000字
Exploration and Practice of Database Governance
[QT] Implementation of callback function
Qiangwang Cup 2022 - WEB
Develop your own text recognition application with Tesseract
随机推荐
milvus配置相关
【Social Marketing】WhatsApp Business API: Everything You Need to Know
Deep Learning RNN Architecture Analysis
Ts——项目实战应用enum枚举
Cocoa Application-基础
torch单机多卡和多机多卡训练
# #ifndef/#define/#endif使用详解
Charles & TCPDump & Fiddler 抓包三兄弟七夕联手,还抓不到你的心?
puzzle(022.1)黑白迭代
Rt-thread [二] 系统初始化流程
Excel商业智能-Power BI电商数据分析实战
论文解读(PPNP)《Predict then Propagate: Graph Neural Networks meet Personalized PageRank》
QT 子窗口—>主窗口 信号和槽的交互
剑指 Offer | 03. 数组中重复的数字
[larave]关于laravel使用form submit()不能获取值问题
【2020】【论文笔记】超表面:多功能和可编程——
[QT] Implementation of callback function
直播带货为农产品开拓销售渠道
Numpy on the superposition of two arrays
Debian防火墙的开关以及状态