当前位置:网站首页>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
边栏推荐
- 强网杯2022——WEB
- [Linear Algebra 02] 2 interpretations of AX=b and 5 perspectives of matrix multiplication
- OC-归档(序列化)(了解的不多 没细看)
- How to solve the problem that the alarm information cannot be transmitted after EasyGBS is connected to the latest version of Hikvision camera?
- 阿里巴巴2022届秋招面试真题和答案!
- 历史上的今天:PHP公开发布;iPhone 4 问世;万维网之父诞生
- rk3399-9.0一级二级休眠
- 得不到你的心,就用“分布式锁”锁住你的人
- Excel商业智能-Power BI电商数据分析实战
- Qiangwang Cup 2022 - WEB
猜你喜欢
随机推荐
Lecture 2 Software Life Cycle
Operations on std::vector
【组成原理 六 存储器类型】
VSCode - common shortcut keys (continuous recording
智能盘点钢筋数量AI识别
DREAMWEAVER8 部分问题解决方案
打卡第 1 天:正则表达式学习总结
【线性代数03】消元法展示以及AX=b的4种解情况
rk3399-9.0一级二级休眠
Altium Designer 19.1.18 - Protecting Locked Objects
今天又做了三个梦,其中一个梦梦里的我还有意识会思考?
软件测试外包公司怎么样?有什么好处和坏处?为什么没人去?
ANT1.7 download and configuration method
Leaflets of three bouquet of roses
BUG | The interface returns abnormal data
MQTT[一]基础知识介绍
力扣19-删除链表的倒数第 N 个结点——链表
The use and principle of CountDownLatch
老叶的三束玫瑰
rk3399-9.0 first-level and second-level dormancy



![[larave]关于laravel使用form submit()不能获取值问题](/img/2f/a7a17b1497390509edd6d096e8e473.png)





