• You could use a WINDOWS scheduled task calling a bcp out command with a trusted connection.

    Regarding details for bcp please see BOL (BooksOnLine, the SQL Server help syste usually installed together with SQL Server).

    Another option would be using a SQL Server job and xp_cmdshell but that should require additiona lsteps to avoid making xp_cmdshell available for every user (which would open a security hole of unknown depth).

    A third solution would be a SSIS package called.

    I, personally, would use either the first or the second option.



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]