I have a C# assembly I've created that I wish to run inside SQL Server. Since SQL Server doesn't support SMO inside of it, does anyone have any suggestions on how I might execute a SQL Server job in my assembly?
Thanks - Amos.
Using SMO in CLR:
http://sqlblogcasts.com/blogs/simons/archive/2007/03/14/Using-SMO-from-within-SQLCLR.aspx
Alternatively you can start the job using the sp_start_job procedure.
Jens K. Suessmeyer
http://www.sqlserver2005.de
No comments:
Post a Comment