-
Enterprise manager scheduled jobs
Hello,
I have a job scheduled within Enterprise manager. How can I configure this job, within enterprise manager, to generate output files having the current system date and time as part of the output file names.
Regards,
Albert
NB: It is not a backup job just a simple query.
-
You can write script to generate file name by tagging current date time.
then build a string with osql command to pass the query as -Q"" and put filename as -o parameter and execute the string with xp_cmdshell.
exec xp_cmdshell @sqlstring
Last edited by skhanal; 04-16-2007 at 08:08 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|