Solved

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

Posted on 2004-08-16
1
701 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 125 total points
Comment Utility
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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how the fundamental information of how to create a table.

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now