I've written a complex query that I want to have users run on a client site.
However I need them to have as little interaction as possible with SQL Server Query Analyser - they're currently running my script in Analyser and saving the grid results as .csv / .xls and manipulating therein.
Ideally I'd like to be able to set something up that's automated - such that a file is output on their server on a daily / weekly basis as required.
However the query absorbs some parameters which the user will need to input (for example - a date range).
Furthermore I'd like to be able to specify the file location according to a datetime stamp - so two output files never have the same name.
Can this all be done ?
Thanks in advance.
Steve
However I need them to have as little interaction as possible with SQL Server Query Analyser - they're currently running my script in Analyser and saving the grid results as .csv / .xls and manipulating therein.
Ideally I'd like to be able to set something up that's automated - such that a file is output on their server on a daily / weekly basis as required.
However the query absorbs some parameters which the user will need to input (for example - a date range).
Furthermore I'd like to be able to specify the file location according to a datetime stamp - so two output files never have the same name.
Can this all be done ?
Thanks in advance.
Steve