shenhengbin
shenhengbin

Reputation: 4294

How can I create a ssis job to export tables to file

Im new to ssis ,

I have a table like ↓

no  tablename
1    table1
2    table2
3    table3

what I want use ssis to do is ....

1, create a folder as name yyyyMMddhhmmss

2, fetch the table names from above table

3, export all the tables to files with their own name.

thanks for your help.

Upvotes: 1

Views: 395

Answers (1)

billinkc
billinkc

Reputation: 61259

The basic pattern I would use would be to iterate through all the tables and invoke BCP against them.

Rough layout would be the following enter image description here

Upvotes: 1

Related Questions