Solved

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

Posted on 2004-08-16
1
758 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 12

Accepted Solution

by:
kselvia earned 125 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
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.

739 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