Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

osql.exe  status output... 1>2>3> etc...

Posted on 2004-08-16
1
Medium Priority
?
843 Views
Last Modified: 2008-03-06
I'm using osql.exe to run some script files and I'm having it write a log file.
The script is running fine and is doing with it should....  but the log file ...
Can anyone tell me what its writing to the log?

Its looks like this:

1>2>3>4>5>6>7>8>9>10>1>2>1>2>1>  etc... sometimes numbering up to >95>96>97  range and repeating over and over.
I'll get several paragraphs of this stuff, and the finally It will print (1 row effected)

What is this stuff?


 
0
Comment
Question by:haletjc
1 Comment
 
LVL 12

Accepted Solution

by:
kselvia earned 375 total points
ID: 11816218
That means it is reading and parsing the input script at line 1>, 2>... and so on. You can use the -n switch to eliminate the numbering.
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question