
August 17th, 2003, 01:39 PM
|
|
Moderator
|
|
Join Date: Jun 2002
Location: Raleigh, NC
|
|
|
Is ColdFusion doing the insert to the SQL server? If so, you can just wrap the query in a try/catch block and if there is no error CF proceeds with whatever else you want it to do.
If you aren't using CF to insert the record to SQL server, and you just want CF to do something whenever some record gets inserted, this would be more fuzzy. But I'd be stunned if there was not a T/SQL function that lets you initiate an HTTP request as part of a T/SQL procedure. You could call a URL within a CF app that way and have it do something. I know there is a similar function available to do this in Oracle.
|