Creating a SQL Stored procedure to call a CF function
I need to create a method to migrate data from a DMZ inside a firewall. To do this I was thinking of making a call from the DMZ web server (using CF) to an internal SQL server database stored procedure. The stored procedure would then call a CF template on the internal web server to pull data inside the firewall. Not my first choice on implementation but as a consultant I don’t make the rules I create the code to enforce them... Anyway these are the steps I need to follow.
1.) Call the stored procedure and pass an int value with the call.
2.) The Stored procedure calls a URL and passes the INT with it. I.E. http://Mylocalhost/Xferdata/MyXferTemplate.cfm?MyIntValue=”PASSED IN INT VALUE”
3.) The MyXferTemplate does the actual data migration for me.
My question is how do I create a simple stored procedure to do this on SQL Server 2008??? After looking at the CF documentation I don’t think there will be much of a problem making the call to the stored procedure… its just writing the stored procedure… Any and all help is greatly appreciated!!!
Kurtis ~|:-)
