in

TimberLandChapel.com
Community Stage

Untiring efforts and inspiration of the moment...
TimberLandChapel.com supports the engineers who study every day.

タスク処理で3回失敗したらエラー処理

Last post 火, 6 30 2009 21:51 by timberlandchapel. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 木, 6 25 2009 16:36

    • Kogepan
    • Top 25 Contributor
    • Joined on 木, 6 25 2009
    • Posts 2

    タスク処理で3回失敗したらエラー処理

    こげパンです。

    続けて、もうひとつ質問いたします。

    SSISのタスクのエラー処理で、3回失敗したら、ログ出力とエラー内容をメール送信
    ということを実現したいと考えてます。

    この「3回失敗したら」という処理を、どのように実装したらよいかを悩んでいます。

    Forループタスク等で、うまいこと簡潔にできないものでしょうか。
    あるいは、やはりスクリプトタスクを組むしかないでしょうか。


    また、スクリプトタスクで実現しようとする場合は、スクリプト内で他のタスクを
    呼び出さなければなりませんが、その実装方法をお教えいただけますでしょうか。

    ご教授のほど、よろしくお願いいたします。

    環境: SQL Server 2005 SP2

     

    Filed under:
  • 火, 6 30 2009 21:51 In reply to

    Re: タスク処理で3回失敗したらエラー処理

    TimberLandChapel です。

    MaximumErrorCount ではだめですか?

    エラー回数を格納する変数をつくって,エラー処理イベント内で工夫をすることも候補でしょうか。

    <-------------------------
     TimberLandChapel
     TimberLandChapel.com Community Stage Administrator
    --------------------------->
Page 1 of 1 (2 items)
©TimberLandChapel.com all right reserved 2005-2011.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems