Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

HTTP POST through SQL

Posted on 2004-09-03
8
Medium Priority
?
258 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 320 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

618 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