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
 General SQL Server Forums
 New to SQL Server Programming
 Exporting a big table into different files

Author  Topic 

mageshks
Yak Posting Veteran

59 Posts

Posted - 2009-01-26 : 06:43:02
Hi all,
Is there a way to export a table into different files.I have a table with 60,000 records ?.I wanna split that into 10 different .txt files with 6000 records each.

Thanks in advance















SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-01-26 : 06:51:54
Export using what tool?



E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page

mageshks
Yak Posting Veteran

59 Posts

Posted - 2009-01-26 : 06:54:29
using SQL Query (if possible)..or any tool that are available in sql server 2005/2008
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-01-26 : 08:28:21
you can do it via SSIS export import task using a for each loop container and data flow task
Go to Top of Page
   

- Advertisement -