Solved

HTTP POST through SQL

Posted on 2004-09-03
8
247 Views
Last Modified: 2012-06-27
One of the developers on my team needs to make an HTTP call in a stored procedure in SQL server 2000. This procedure runs at midnight every night and we need to send an HTTP POST at certain points throughout it. However, the developer is unsure of how to do this exactly.

Does anyone know how I can make a HTTP call in an SQL query?
0
Comment
Question by:dur_hannal
8 Comments
 
LVL 8

Expert Comment

by:bukko
ID: 11972161
Write a COM dll to do this in VB, then call the dll using

xp_OACreate
xp_OAMethod and
xp_OADestroy

bukko
0
 

Author Comment

by:dur_hannal
ID: 11972611
My developer is trying to avoid doing this using a VB component or an NT Serivce, I am told
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 11974038
Then the developer will have to code directly against the MSXML dll using the extended stored procedures mentioned previously by bukko
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

Author Comment

by:dur_hannal
ID: 11975064
I will mention this to him and see what he thinks. Thanks for now.
0
 
LVL 12

Accepted Solution

by:
kselvia earned 80 total points
ID: 11980141
Here is a sample of a GET from T-SQL. Might work for POST too.

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=35900&whichpage=2
0
 

Author Comment

by:dur_hannal
ID: 11988421
Ahhh, this looks more like it. Let me see what my developer thinks of this link. Thank you kselvia.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question