Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ignoring the line "xxx row(s) affected" exporting from Query Analyzer 1

Status
Not open for further replies.

SonOfZeus

Programmer
Mar 6, 2002
53
CA
I'm currently running the Query Analyzer and am able to create an export file, but the issue I'm having is the garbage blank line and xxxx row(s) affected are also appearing in the export file. Is there a setting such that this doesn't occur?
 
Hi,

Before running ur query, put this line.


SET NOCOUNT ON

<your statements>

SET NOCOUNT OFF

Sunil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top