我是SSIS的新手。我创建了一个包含少量序列容器和少量任务的包。该软件包将计划自动运行,因此我想捕获运行时错误和状态,如插入/更新/删除到SQL数据库中我自己的日志表中的行数。SSIS登录到SQL Server
我正在考虑使用SSIS Logging to SQL Server功能将条目记录到默认表中,然后创建一个SQL Task将其插入到我自己的日志表中。这是做这件事的好方法吗?或者你建议其他更好的方法?
另外我无法让SSIS日志记录正常工作。我发现了一个在线博客 How to create an error log or custom error log within an SSIS Package?,它描述了使用SSIS日志记录将条目记录到SQL Server的过程。但是,与博客中的解释不同,
我看不到在我的SQL Server数据库中创建的dbo.sysssislog
或dbo.sp_ssis_addlogentry
表。我必须做错什么?以下是我遵循的步骤 -
1. Went to SSIS Logging
2. Selected Provider Type as SQL Server
3. Added the OLEDB connection for Configuration
4. Went to the Detail tabs on each sequence container and chose appropriate events
5. Clicked "Save..."
6. Provided the location and name for the XML file
7. Saved the package and ran it.
仍然无法在数据库中看到那些ssis表或过程。我正在使用SQL 2008R2。
任何意见和建议非常感谢。
在此先感谢。
的存储过程和模板日志表将被复制到你的目录在msdb数据库中当前存在 – billinkc