Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

defining "Export to Excel" as a job which runs frequently Expand / Collapse
Author
Message
Posted Saturday, January 23, 2010 12:14 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Saturday, January 23, 2010 12:08 AM
Points: 1, Visits: 0
Hi
I'm just looking for a way to define a job in SQLServer2008 to export the data of some tables frequently to excel sheet.

Post #852478
Posted Saturday, January 23, 2010 3:07 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 1:20 PM
Points: 7,161, Visits: 13,229
Step 1:
get the Export working outside of the job using your preferred way (e.g. from SSMS and save the export as SSIS package or use bcp or whatever).
Step 2: wrap that code in a sproc
Step 3: create a job calling the sproc.

If you need a more detailed answer please provide a more detailed description what you're trying to do.




Lutz
A pessimist is an optimist with experience.

How to get fast answers to your question
How to post performance related questions
Links for Tally Table , Cross Tabs and Dynamic Cross Tabs , Delimited Split Function
Post #852502
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse