I have a requirement where I'm pulling large amounts of data from SQL Server and will have to insert this data into Excel files.
Now, each excel file must not have more than 1000 rows. These excel files will have to created on the fly.
Please help
I have a requirement where I'm pulling large amounts of data from SQL Server and will have to insert this data into Excel files.
Now, each excel file must not have more than 1000 rows. These excel files will have to created on the fly.
Please help
I suggest you wrap your logic in a loop container. Logically, it would look like this:
Have a loop container loop on the new variable.
row >= (<variable>-1)*1000 AND row < (<variable>)*1000
"<filename>_" + DT_WSTR <variable> + ".xls"
to get something like dataset_1.xls, dataset_2.xls...