これが私が達成しようとしているものです、
1) Start the loop from 5 years back from current year
2) Check if database for that year is exist if not create new one ?
3) move the tables according to there year of creation into the database of that year ?
このために、私はSSISパッケージを作成しました。接続文字列がデータベースの存在をチェックし、新しいデータベースを作成するときに接続文字列が正常に機能する年のループごとに動的に設定する接続マネージャーを追加しましたが、パッケージがSQLを実行しようとするとデータテーブルを移動するタスクを実行すると、次のようにエラーがスローされます
[Execute SQL Task] Error: Connection manager "dummyserver.dummydatabase2012" does not exist.
どんな助けでも素晴らしいでしょう..