Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2004-08-16
1
Medium Priority
?
818 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 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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
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 and will be exposed to the many uses the SELECT statement has.

688 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