הצטרפו לקבוצות שלנו לקבלת עדכונים מרוכזים פעם בשבוע:

ווטסאפ:
http://wa.dwh.co.il
טלגרם:
http://telegram.dwh.co.il

איך מוסיפים הערות ל LOG ב SSIS

More
18 years 7 months ago #740 by eldad
בתהליכי SSIS מורכבים אני תמיד מוסיף LOG לתהליך, הבעיה היא שה LOG האוטומטי
לא נותן לנו את כל האינפורמציה שאנו צריכים כמו מה הערך של הפרמטרים שלנו
בכל נקודה.
ישנן שתי שיטות לבצע זאת,
א. ביצוע שאילתת insert:

INSERT INTO sysdtslog90 (event, computer, operator, source, sourceid, executionid, starttime, endtime, datacode, databytes, message)
  VALUES (@event, @computer, @operator, @source, @sourceid, @executionid, @starttime, @endtime, @datacode, @databytes, @message);

ב. השיטה המועדפת עלי היא שימוש ב script:

Dim dataBytes(0) As Byte

Dts.Log("My custom message here", 0, dataBytes)

Please התחברות to join the conversation.

Moderators: eldad
Time to create page: 0.244 seconds