Debugging SSIS scripts is not the easiest of all things. Below we propose a number of ways to debug which we've seen in a presentation by Alan Mitchell - SQL Server MVP.
1. MsgBox messages - good during development, but not any good for production environments since once the MsgBox pops up it WILL wait for user input before the task proceeds.
2. Fire Events - the Progress / Output windows can also be used to ouput your debugging information.
Imports Microsoft.SQLServer.DTS.RunTime
DTS.Events.FireInformation
DTS.Events.FireBreakPointHit
DTS.Events.FireCustomEvent
DTS.Events.FireError
DTS.Events.FireProgress
DTS.Events.FireQueryCancel
DTS.Events.FireWarning
OR
Me.ComponentMetaData.Fire<...>
3. Using Windows tracing events - System.Diagnostics.Trace.WriteLine, and then use a program such as Sysinternals DebugView to watch for this information.
Monday, 19 January 2009
Debugging SQL Server Integration Services Scripts
Posted by
dattard
at
09:53
Subscribe to:
Post Comments (Atom)

4 comments:
酒店 ,酒店經紀 ,酒店公關 ,酒店兼職,酒店小姐, 酒店上班,酒店喝酒,酒店工作,酒店兼差,酒店打工
A片下載|成人影片下載|免費A片下載|日本A片|情色A片|免費A片|成人影城|成人電影|線上A片|A片免費看
米蘭情趣用品|情趣用品|情趣|飛機杯|自慰套|充氣娃娃|AV女優.按摩棒|跳蛋|潤滑液|角色扮演|情趣內衣|自慰器|穿戴蝴蝶|變頻跳蛋|無線跳蛋|電動按摩棒|情趣按摩棒|
.,.,
自慰套,自慰器,情趣,自慰套,情趣,視訊交友,充氣娃娃,性感丁字褲,AV,按摩棒,電動按摩棒,情趣按摩棒,按摩棒,變頻跳蛋,跳蛋,無線跳蛋,
男女,潤滑液,
SM,情趣內衣,內衣,性感內衣,角色扮演,角色扮演服,吊帶襪,丁字褲,情趣用品,情趣用品,飛機杯,自慰套
There are a lot of good tool for work with MS SQL Server.But I know one not bad tool-repair mdf.It helped me many times as far as I remember.Tool has free status and moreover it can can save recovered data as SQL scripts and supports data extraction via the local area network.
Post a Comment