0

データベースに列とデータの 2 つのテーブルがあります。これらのテーブルのデータは次のようになります。

列:

    ID

    Name

データ:

1 ジョン

2 スティーブ

次のようなcsvファイルを作成するパッケージを作成したいと思います。

ID  NAME
------------
1   John
2   Steve

同じ出力を達成できますか? Googleで検索しましたが、解決策が見つかりませんでした。

私を助けてください....

4

1 に答える 1

1

You can achieve this effect through a script task OR you can create a temporary dataset in SQL Server where you combine the first row of your Column table and append data from the Data table to this. My guess is, you would have to fight with the metadata issues while doing anything of this sort. Another suggestion that I can think of is to dump the combination to a flat file, but again you will have to take care of the metadata conversion.

于 2012-08-01T15:58:20.813 に答える