Scrip to export excel file in a Loop

Script to Get Exl Output in a Do while loop. Example taken is Authors table in PUB database, where excel is generated for each state the file in state name.U can modify the script to include filename in u'r format (eg. state + date)

2005-12-02 (first published: )

988 reads

Blogs

Last Weeks Reading (2019-05-26)

By

It was tremendously extensive week for me (a week ago) when I spent time...

Migrating SSIS to Azure – Slidedeck (Techorama 2019)

By

Techorama 2019 is over and it was a blast, as usual. Neatly organised, great...

Containers: Create a Custom Container

By

Creating a custom container is where things get truly exciting. There’s actually a ton...

Read the latest Blogs

Forums

The Change Failure Rate

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Change Failure Rate

Transforming rows into columns

By rkarr7

Hi Everyone, I have a table with the structure as attached in the Table...

Reduce SQL Filestream limit

By lidds

I want to save images into an sql database, and in my situation the...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers