several queries need ran daily w/output to text file

  • I am a noobie to SQL and need some help! I have several select queries I need to run on a daily basis in order to find an issue with our database. Is there a script I can generate that will run these daily with an output to a text or cvs file?

    Any assistance would be greatly appreciated!

    Jason

  • use the sql server agent to schedule the job..

    and you could use a modification of:

    http://www.sqlservercentral.com/articles/Advanced+Querying/tippipequery/175/

    personally.. i'd output to another table in the database but thats just me.. i hate working with text files 🙂

    --------------------------

    I long for a job where my databases dont have any pesky users accessing them 🙂

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply