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
 .NET Inside SQL Server (2005)
 Create New Excel Sheet if current sheet is full(65

Author  Topic 

rohit.kumar.barik
Starting Member

4 Posts

Posted - 2010-08-02 : 05:56:44
Hi All

I have created an excel sheet using create table.[In SSIS Execute SQL task]
I am inserting records into the excel sheet from one table.
It is working file and i can see the values.

But i am getting error when the records is exceeds 65535 i.e. record size per excel sheet.
So i need to create another sheet that will contain rest records dynamically.
[i.e. if record count is more than 65536 than it will create another sheet and store all the records.

Please help me to do it.
thanks in Advance.
Rohit
   

- Advertisement -