SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Automating batch job monitoring
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

venkidhadha
Starting Member

India
1 Posts

Posted - 10/16/2012 :  02:24:04  Show Profile  Reply with Quote
I have a requirement where I need to login at a stipulated time everyday and just retreive the table output in form of excel and place it in a local folder.

Can this be automated? If yes it would be great if you can provide pointers. I know the basic sql commands and I can try gaining this additional knowledge as per your advice.

-Venki

sunitabeck
Flowing Fount of Yak Knowledge

5155 Posts

Posted - 10/16/2012 :  06:55:42  Show Profile  Reply with Quote
Probably the easiest way to do this is using SSIS (or even Import/Export wizard). Right-click on the database name in the object explorer in SSMS, select Tasks -> Export Data and follow through the wizard. Somewhere along the way, you will be asked whether you want to save the package. Choose to save it (either to the server or disk). You can then use SQL Server Agent to schedule this job at your desired time.

If run into difficulties, reply back, or google for SSIS basics or Import/Export Wizard in SQL Server - there are a lot many articles and tutorials.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000