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 2005 Forums
 Transact-SQL (2005)
 Query/Export on rows amount

Author  Topic 

PBoy
Starting Member

22 Posts

Posted - 2010-05-26 : 18:34:54
HI All,

I'm not sure if this is possible but is there a ways in SQL server to export a query to an excel workbook that created a new sheet after a given amount of rows?

For example run query and export out query to file with sheets of 50k rows, or even export out every 50k rows to a .csv/.txt file?

Cheers
Patrick

pk_bohra
Master Smack Fu Yak Hacker

1182 Posts

Posted - 2010-05-26 : 23:13:02
I feel that it can be done using SSIS package.
Go to Top of Page
   

- Advertisement -