DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 920794 - Last Review: October 9, 2011 - Revision: 2.0

Hotfix Download Available
View and request hotfix downloads
 
Bug #: 858 (SQL Hotfix)
Microsoft distributes Microsoft SQL Server 2005 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2005 fix release.

On This Page

SUMMARY

This article describes the following about this hotfix release:
  • The issues that are fixed by the hotfix package
  • The prerequisites for applying the hotfix package
  • Whether you must restart the computer after you apply the hotfix package
  • Whether the hotfix package is replaced by any other hotfix package
  • Whether you must make any registry changes after you apply the hotfix package
  • The files that are contained in the hotfix package

SYMPTOMS

When you use Database Mail in Microsoft SQL Server 2005 to send query results to users, the size of the e-mail message is very large.

CAUSE

This problem occurs because Database Mail adds spaces to each column in the query results. The added spaces make each column the defined column length.

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for SQL Server 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
913089  (http://support.microsoft.com/kb/913089/ ) How to obtain the latest service pack for SQL Server 2005

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

  • Microsoft SQL Server 2005 Service Pack 1 (SP1)

    For information about how to obtain SQL Server 2005 SP1, click the following article number to view the article in the Microsoft Knowledge Base:
    913089  (http://support.microsoft.com/kb/913089/ ) How to obtain the latest service pack for SQL Server 2005

Restart information

You do not have to restart the computer after you apply this hotfix.

Registry information

You do not have to change the registry.

Hotfix file information

This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain all the files that you must have to fully update a product to the latest build.

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
SQL Server 2005, x86 versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Logread.exe2005.90.2175.0398,11220-Jul-200619:26x86
Microsoft.analysisservices.adomdclient.dll9.0.2175.0543,52020-Jul-200619:26x86
Microsoft.analysisservices.deploymentengine.dll9.0.2175.0138,01620-Jul-200619:26x86
Microsoft.analysisservices.dll9.0.2175.01,215,26420-Jul-200619:30x86
Microsoft.sqlserver.mgdsqldumper.dll2005.90.2175.075,55220-Jul-200619:25x86
Microsoft.sqlserver.sqlenum.dll9.0.2175.0908,06420-Jul-200619:29x86
Msgprox.dll2005.90.2175.0197,92020-Jul-200619:28x86
Msmdlocal.dll9.0.2175.015,701,79220-Jul-200619:31x86
Msmdredir.dll9.0.2175.03,967,77620-Jul-200619:31x86
Mssqlsystemresource.ldfNot Applicable524,28820-Jul-200616:50Not Applicable
Mssqlsystemresource.mdfNot Applicable39,911,42420-Jul-200616:50Not Applicable
Replprov.dll2005.90.2175.0547,61620-Jul-200619:26x86
Replrec.dll2005.90.2175.0782,11220-Jul-200619:29x86
Sqlaccess.dll2005.90.2175.0347,93620-Jul-200619:25x86
Sqlservr.exe2005.90.2175.028,952,92020-Jul-200619:31x86
Sysdbupg.sqlNot Applicable192,34619-Jul-200617:02Not Applicable
Xpstar90.dll2005.90.2175.0292,64020-Jul-200619:40x86
Xpstar90.rll2005.90.2175.0152,86420-Jul-200619:27x86
SQL Server 2005, x64 version
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Logread.exe2005.90.2175.0522,52821-Jul-200602:01x64
Microsoft.analysisservices.adomdclient.dll9.0.2175.0543,52020-Jul-200619:26x86
Microsoft.analysisservices.adomdclient.dll9.0.2175.0543,52021-Jul-200602:02x86
Microsoft.analysisservices.deploymentengine.dll9.0.2175.0138,01620-Jul-200619:26x86
Microsoft.analysisservices.dll9.0.2175.01,215,26420-Jul-200619:30x86
Microsoft.sqlserver.mgdsqldumper.dll2005.90.2175.075,55220-Jul-200619:25x86
Microsoft.sqlserver.mgdsqldumper.dll2005.90.2175.091,42421-Jul-200602:00x64
Microsoft.sqlserver.sqlenum.dll9.0.2175.0875,29621-Jul-200602:01x86
Msgprox.dll2005.90.2175.0259,36021-Jul-200602:01x64
Msmdlocal.dll9.0.2175.015,701,79220-Jul-200619:31x86
Msmdredir.dll9.0.2175.03,967,77620-Jul-200619:31x86
Mssqlsystemresource.ldfNot Applicable524,28820-Jul-200616:50Not Applicable
Mssqlsystemresource.mdfNot Applicable39,911,42420-Jul-200616:50Not Applicable
Replprov.dll2005.90.2175.0745,24821-Jul-200602:02x64
Replrec.dll2005.90.2175.01,008,41621-Jul-200602:01x64
Sqlaccess.dll2005.90.2175.0355,10421-Jul-200602:01x86
Sqlservr.exe2005.90.2175.039,342,88021-Jul-200602:01x64
Sysdbupg.sqlNot Applicable192,34619-Jul-200617:02Not Applicable
Xpstar90.dll2005.90.2175.0540,44821-Jul-200602:02x64
Xpstar90.rll2005.90.2175.0153,37621-Jul-200602:00x64
SQL Server 2005, Itanium architecture version
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Logread.exe2005.90.2175.01,095,45620-Jul-200621:01IA-64
Microsoft.analysisservices.adomdclient.dll9.0.2175.0543,52020-Jul-200619:26x86
Microsoft.analysisservices.adomdclient.dll9.0.2175.0543,52020-Jul-200621:00x86
Microsoft.analysisservices.deploymentengine.dll9.0.2175.0138,01620-Jul-200619:26x86
Microsoft.analysisservices.dll9.0.2175.01,215,26420-Jul-200619:30x86
Microsoft.sqlserver.mgdsqldumper.dll2005.90.2175.075,55220-Jul-200619:25x86
Microsoft.sqlserver.mgdsqldumper.dll2005.90.2175.0163,10420-Jul-200620:59IA-64
Microsoft.sqlserver.sqlenum.dll9.0.2175.0875,29620-Jul-200621:01x86
Msgprox.dll2005.90.2175.0542,49620-Jul-200621:00IA-64
Msmdlocal.dll9.0.2175.048,828,70420-Jul-200621:02IA-64
Msmdredir.dll9.0.2175.06,154,01620-Jul-200621:01IA-64
Mssqlsystemresource.ldfNot Applicable524,28820-Jul-200616:50Not Applicable
Mssqlsystemresource.mdfNot Applicable39,911,42420-Jul-200616:50Not Applicable
Replprov.dll2005.90.2175.01,617,18420-Jul-200621:01IA-64
Replrec.dll2005.90.2175.02,141,47220-Jul-200621:01IA-64
Sqlaccess.dll2005.90.2175.0349,47220-Jul-200621:00x86
Sqlservr.exe2005.90.2175.072,251,16820-Jul-200621:02IA-64
Sysdbupg.sqlNot Applicable192,34619-Jul-200617:02Not Applicable
Xpstar90.dll2005.90.2175.0950,56020-Jul-200621:03IA-64
Xpstar90.rll2005.90.2175.0152,35220-Jul-200620:59IA-64

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in SQL Server 2005 Service Pack 2.

MORE INFORMATION

This hotfix adds the @query_result_no_padding parameter to the sp_send_dbmail stored procedure. When you set the @query_result_no_padding parameter to 1, the query results are not padded.

The @query_result_no_padding parameter is incompatible with other parameters. When you set the @query_result_no_padding parameter to 1, you experience the following issues:
  • If you set the @query_result_width parameter, the @query_result_no_padding parameter overrides the @query_result_width parameter. In this case, no error occurs.
  • If you set the @query_no_truncate parameter, you receive the following error message:
    Msg 22050, Level 16, State 1, Line 0
    Failed to execute the query because the @query_result_no_append and @query_no_truncate options are mutually exclusive.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684  (http://support.microsoft.com/kb/824684/ ) Description of the standard terminology that is used to describe Microsoft software updates

APPLIES TO
  • Microsoft SQL Server 2005 Developer Edition
  • Microsoft SQL Server 2005 Enterprise Edition
  • Microsoft SQL Server 2005 Enterprise Edition for Itanium-based Systems
  • Microsoft SQL Server 2005 Enterprise X64 Edition
  • Microsoft SQL Server 2005 Standard Edition
  • Microsoft SQL Server 2005 Standard X64 Edition
Keywords: 
kbautohotfix kbsql2005sp2fix kbsql2005mail kbHotfixServer kbqfe KB920794
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support