Results 1 to 2 of 2
Mar 8, 2013, 15:36 #1
- Join Date
- Feb 2003
- Florida, USA
- 1 Post(s)
- 0 Thread(s)
Creating a Trigger on Update that makes a web request.
We are using MSSQL 2008 on a Windows 2008 environment, and I was wondering if someone could help me learn how to make a trigger that would check on update if a particular field met a certain criteria, and if so, send out a predefined request.
Long story short, we have car GPS data being sent to our DB. One of the values stored during a row update is the car's speed (in a field called 'velocity') In the event it goes over a set threshold (let's say 80), we would like it to make a request to a web page in the format: http://domain.com/file.cfm?carID=[car_id_from_record]&velocity=[velocity_from_record]
Can someone help point me in the right direction?