Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 dts

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-02-04 : 08:23:16
Robert writes "Hi there,
I was wonderring is there a way to create a dts package that would export data from the table to the file in chunks. For example, if we set the chunk =5k and the table contains 20k rows, then the dts will create 4 files with 5k rows in each.

Thanks"

CactusJuice
Starting Member

46 Posts

Posted - 2005-02-04 : 09:48:30
Yes, write your T-SQL to return your 4 result sets of 5K. Then put this in your DTS package.
Go to Top of Page
   

- Advertisement -