Article ID: 258974
Article Last Modified on 3/14/2006
APPLIES TO
- Microsoft SQL Server 7.0 Service Pack 2
This article was previously published under Q258974
BUG #: 57799 (SQLBUG_70)
SYMPTOMS
All the rows in a result set are not saved to a file when you use Query Analyzer, if you select the "Results in Grid" option and you run a query, which returns more than 128 rows, and you then try to save the results of the query to a comma separated variable (CSV) file.
WORKAROUND
Use the "Results in Text" option if you want to save the results to a file. When you use the "Results in Text" option, all the rows in the result set are saved to the file.
STATUS
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
274799 INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.
MORE INFORMATION
To reproduce this problem, run the following query:
use pubs go select * from authors, sales
483 rows should return when you run this query. However, if you try to save the results to a CSV file, only the first 128 rows are saved to the file.
Additional query words: Query Analyzer File Save As CSV Grid
Keywords: kbbug kbfix kbqfe kbcodesnippet KB258974