BUG: SQL Admin Not Printing Number of Rows AffectedLast reviewed: April 28, 1997Article ID: Q89936 |
The information in this article applies to:
SYMPTOMSWhen a stored procedure contains multiple SELECT statements, the number of rows affected by the last SELECT statement is not printed. For example, create a stored procedure called "test" as follows:
create procedure test as select * from sysdatabases where 1=2 select * from sysdatabases where 1=2Execute test in a query window by typing:
testThe output produced is:
(0 rows affected)This corresponds to the first SELECT statement. The same message, which must appear for the second SELECT statement, is not printed.
STATUSMicrosoft has confirmed this to be a problem in SQL Server version 4.2 for OS/2. We are researching this problem and will post new information here as it becomes available.
|
Additional query words: stored procedures
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |