?
Solved

Is it possible to deactivate the display of "Row affected"

Posted on 2001-07-24
3
Medium Priority
?
296 Views
Last Modified: 2006-11-17
Hi,

I would like to know if it is possible to dynamically deactivate the display of the messages like n Row affected ?

In fact, I store in a log file all the information thanks the option -o of isql but because I use variables and I set them with a SELECT statement I have extra "Row affected" I don't want to see.

Any ideas ?
0
Comment
Question by:Richard Coffre
  • 2
3 Comments
 
LVL 5

Expert Comment

by:amitpagarwal
ID: 6313487

set nocount on
0
 
LVL 5

Accepted Solution

by:
amitpagarwal earned 200 total points
ID: 6313525
or you can even follow another appraoch

cat LOGFILE | grep -v "Row affected" > NEWLOGFILE
mv NEWLOGFILE LOGFILE
0
 
LVL 1

Author Comment

by:Richard Coffre
ID: 6316316
Thanks a lot and especially for the other approach.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Often times it's very very easy to extend a volume on a Linux instance in AWS, but impossible to shrink it. I wanted to contribute to the experts-exchange community a way of providing a procedure that works on an AWS instance. It can also be used on…
Moore’s Law has proven itself time and time again since it was first introduced. So what’s next? Will Moore’s law continue to remain relevant, or will new technology take over and bring us the next big advancement in computing?
Loops Section Overview
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

839 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