hi there:
On Event handers in SSIS , I've creaed a Execute SQL task to send out email alert when the event is OnError.
In the alert, I'd like to pass the package name ( System::PackageName) to the msdb..sp_send_dbmail .
On Execute SQL task, I've added a varaible System::PackageName as Input Direction and datatype is NVARCHAR, parameter name is 0.
Now, how to pass it to the SQLStatement?
Thanks
Hui
--Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --