OUTPUT query

5 pts.
Tags:
OSQL
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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following