FIX: Count(*) May Not Return Result SetID: Q152690
|
Count(*) may not return a result set. This problem occurs on tables with 34
or more columns. When a query is executed, it may return the following
message:
This command did not return data, and it did not return any rows
You can use the following query instead of the Count(*) on the table
select rows from sysindexes where name like 'My_Table_name'
insert Destination_Table select * from Source_Table
Microsoft has confirmed this to be a problem in Microsoft SQL Server
version 6.5. This problem has been corrected in U.S. Service Pack 1 for
Microsoft SQL Server version 6.5. For more information, contact your
primary support provider.
Keywords : kbprg SSrvProg kbbug6.50 kbfix6.50.sp1
Version : 6.5
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: March 29, 1999