BUG: LOAD HEADERONLY Does Not Return @@rowcount

ID: Q139550

The information in this article applies to: BUG# NT: 11724 (6.00)

SYMPTOMS

The @@rowcount global variable returns zero (0) for rows affected by the LOAD HEADERONLY command regardless of how many rows are returned.

WORKAROUND

The application can count the rows as they are returned.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: sql6 load headeronly

Keywords          : kbprg SSrvProg kbbug6.00 
Version           : 6.0
Platform          : WINDOWS

Last Reviewed: August 22, 1998