The information in this article applies to:
SYMPTOMS
In a DB-Library (DB-Lib) application that performs SELECT
statements that return large numbers of result rows, the following
procedure is being used to find out how many rows are returned
without processing the entire query.
CAUSEThis functionality is not supported by the Microsoft SQL Server and DB-Library. WORKAROUND
In the case above, the number of rows returned by DBCOUNT() is the
number of rows that were sent to the workstation before the query
was canceled. This also occurs in SAF when the F6 key, which aborts
processing of the query, is pressed before the query completes. A
subsequent "SELECT @@rowcount" shows the number of rows sent to the
workstation before the query was aborted.
Additional query words: dblib Windows NT
Keywords : kbprg SSrvDB_Lib SSrvProg SSrvWinNT |
Last Reviewed: November 5, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |