In the spirit of OOP and n-tier processing, I would like to write a UDF or
Stored Procedure that will export the data from SQL Server to an Excel file
on a local PC by sending parameters via a C#.Net webform app. DTS seems to
offer the capability via a wizard but I would like to automate the process
via a UDF or sp.