OUTPUT query

5 pts.
Tags:
SQL
hi i have am osql script (.cmd file) with 80 line query in it [code]osql -S xxxxxCC -U uuuuuu -P fefefefe -d proddb ............ C:testmonitroingtest.sql -o C:testdata1hr_data.xls[/code], i run every 1 hours once. i shedule in o/s through task manager. i want the output in different xls every time ie: first xls for first hour second xls for second hour ........ till the last hours that is for hours thanxs

Answer Wiki

Thanks. We'll let you know when a new response is added.

DTS or SSIS would be a more appropriate tool for this task then osql is.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: