Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   SQL and HTTP Request (http://www.velocityreviews.com/forums/t620054-sql-and-http-request.html)

Paul 06-13-2008 02:57 PM

SQL and HTTP Request
 
Does anyone know how I could run an HTTP request from within T-SQL?

Example: Requesting a .aspx page within a SQL Server 2005 database trigger?

bruce barker 06-13-2008 03:09 PM

RE: SQL and HTTP Request
 
I would call a webrequest from a trigger, it would keep the transaction open
too long. you should look at sqlservers service broker. in the trigger queue
a request to a service that does the web call. you can write this in the clr
language of your choice.

-- bruce (sqlwork.com)


"Paul" wrote:

> Does anyone know how I could run an HTTP request from within T-SQL?
>
> Example: Requesting a .aspx page within a SQL Server 2005 database trigger?


Munna 06-13-2008 03:14 PM

Re: SQL and HTTP Request
 
On Jun 13, 8:57 pm, Paul <P...@discussions.microsoft.com> wrote:
> Does anyone know how I could run an HTTP request from within T-SQL?
>
> Example: Requesting a .aspx page within a SQL Server 2005 database trigger?


Hi

checkout this...

http://nicholasclarke.co.uk/blog/200...-server-via-c/

best of luck

Munna


All times are GMT. The time now is 05:51 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57