通过http发布到SQL的数据访问 [英] data access over http post to SQL
本文介绍了通过http发布到SQL的数据访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我获得了将vorne XL设备的数据导入SQL Server 2008 r2的任务。
只有设备手册中提供的信息才能使用:
POST /sql-request.do HTTP / 1.0
内容长度:141
response_type = application / json& sql_statement = select sequence_number,start_time
from timeline_stream order by sequence_number desc limit 5;
我不熟悉http post或web-service API访问。
如果我必须按小时将数据引入SQL服务器,这是最佳方法。
这是在.net网络应用程序上完成的吗?
是否可以在SQL中安排一个工作来运行一个窗口或控制台应用程序来引入数据?
我从哪里开始?
请帮助
Jasmin。
推荐答案
创建Windows服务并在特定时间内interval执行HTTP Post请求以获取数据。
请参阅此文章以了解有关HTTP WebRequest的更多信息
http://msdn.microsoft.com/en-us/library/debx8sh9.aspx [ ^ ]
Create a Windows Service and for the specific time interval do a HTTP Post Request to get the data.
Refer this article to know more about HTTP WebRequest
http://msdn.microsoft.com/en-us/library/debx8sh9.aspx[^]
您好,我知道这是一个旧帖子,但我给的是同样的分配。
你是如何连接电路板的?按时间表你有没有找到另一种方式?
谢谢
Hello, I know it is an old post, but I was giving the same assigment.
How did you connect to the boards? by a time schedule of did you find another way?
Thanks
这篇关于通过http发布到SQL的数据访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文