Solved

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

Posted on 2001-07-24
3
276 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 50 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
For months I had no idea how to 'discover' the IP address of the other end of a link (without asking someone who knows), and it drove me batty. Think about it. You can't use Cisco Discovery Protocol (CDP) because it's not implemented on the ASAs.…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

772 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