Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a View in an SQL Server 2008 database which I need to be exported into a CSV file automatically at the beginning of each month. As I understand, two procedures are needed:

  1. The SQL script to automate the export
  2. Schedule this task in SQL or Windows

How can I do this?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

You can create a job within the SQL server management studio to handle the whole thing.

http://social.msdn.microsoft.com/Forums/en/transactsql/thread/7d2280cf-3b33-46f7-ba82-4131e8a841c0

share|improve this answer
    
Thank you! that looks useful –  Anna Aug 14 '12 at 0:14
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.