Microsoft로 로그인
로그인하거나 계정을 만듭니다.
안녕하세요.
다른 계정을 선택합니다.
계정이 여러 개 있음
로그인할 계정을 선택합니다.
영어
죄송합니다. 이 문서는 귀하의 언어로 사용할 수 없습니다.

SQL Server 2008

Microsoft distributes Microsoft SQL Server 2008 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 2008 fix release.

SQL Server 2005

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.

For more information about the master list of builds that were released after SQL was released, click the following article number to view the article in the Microsoft Knowledge Base:

957826 Where you can find more information about the SQL Server 2008 builds that were released after SQL Server 2008 and the SQL Server 2005 builds that were released after SQL Server 2005 Service Pack 2

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

You have a view in a database in SQL Server 2005 or SQL Server 2008. In the definition of the view, the SELECT statement meets the following requirements:

  • The SELECT statement uses the TOP (100) PERCENT expression.

  • The SELECT statement uses the ORDER BY clause.

When you query through the view, the result is returned in random order.

However, this behavior is different in Microsoft SQL Server 2000. In SQL Server 2000, the result is returned in the order that is specified in the ORDER BY clause.

SQL Server 2008

The fix for this issue was first released in Cumulative Update 1.

For more information about how to obtain this cumulative update package for SQL Server 2008, click the following article number to view the article in the Microsoft Knowledge Base:



956717

Cumulative update package 1 for SQL Server 2008



Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix.

For more information, click the following article number to view the article in the Microsoft Knowledge Base:



956909

The SQL Server 2008 builds that were released after SQL Server 2008 was released



SQL Server 2005

Two versions of this hotfix exist. One version is designed to be applied to the release version of SQL Server 2005. The other version is designed to be applied to SQL Server 2005 Service Pack 2 (SP2). If you are running the release version of SQL Server 2005, apply the hotfix that is described in this article (build 1554). If you are running SQL Server 2005 SP2, apply cumulative update package 2 for SQL Server 2005 SP2 (build 3175). If you are running SQL Server 2005 Service Pack 1 (SP1), install SQL Server 2005 SP2, and then apply cumulative update package 2 for SQL Server 2005 SP2 (build 3175). Cumulative update package 2 for SQL Server 2005 SP2 (build 3175) is described in Microsoft Knowledge Base article 936305. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

936305 Cumulative update package 2 for SQL Server 2005 Service Pack 2 is available

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.

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, submit a request to 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=supportNote 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

You must have installed the release version of SQL Server 2005 to apply this hotfix.

Restart information

You must restart the SQL Server service after you apply this hotfix.

Registry information

You do not have to change the registry after you apply this hotfix.

Actions after you apply this hotfix

This hotfix introduces trace flag 168. After you apply this hotfix, you must enable trace flag 168. For information about how to enable a trace flag in SQL Server 2005, see the "Remark" section of the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-us/library/ms188396.aspxAdditionally, you must change the compatibility level of the database that contains the view to 80.

To change the compatibility level, follow these steps:

  1. Open SQL Server Management Studio, and then connect to the instance of SQL Server 2005.

  2. Right-click the database that contains the view, and then click Properties.

  3. In the Select a page pane, click Options.

  4. In the Compatibility level list, select SQL Server 2000 (80).

Note Trace flag 168 must be set before the database is migrated to SQL Server 2005. If trace flag 168 is set after the database is migrated, the query result will remain unsorted.

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.

File name

File version

File size

Date

Time

Platform

Logread.exe

2005.90.1554.0

397,088

04-Oct-2006

16:06

x86

Microsoft.sqlserver.replication.dll

2005.90.1554.0

1,608,480

04-Oct-2006

16:06

x86

Microsoft.sqlserver.smo.dll

9.0.1554.0

1,559,328

04-Oct-2006

16:06

x86

Microsoft.sqlserver.sqlenum.dll

9.0.1554.0

895,776

04-Oct-2006

16:06

x86

Msmdlocal.dll

9.0.1554.0

15,626,528

04-Oct-2006

16:08

x86

Msmdredir.dll

9.0.1554.0

3,929,888

04-Oct-2006

16:08

x86

Osql.exe

2005.90.1554.0

51,488

04-Oct-2006

16:04

x86

Replrec.dll

2005.90.1554.0

781,088

04-Oct-2006

16:06

x86

Sqlaccess.dll

2005.90.1554.0

349,472

04-Oct-2006

16:06

x86

Sqldiag.exe

2005.90.1554.0

960,288

04-Oct-2006

16:06

x86

Sqlservr.exe

2005.90.1554.0

28,791,640

04-Oct-2006

16:08

x86

Status

This behavior is by design. This behavior in SQL Server 2005 will remain in the future releases of SQL Server.

SQL Server 2008

For more information about what files are changed, and for information about any prerequisites to apply the cumulative update package that contains the hotfix that is described in this Microsoft Knowledge Base article, click the following article number to view the article in the Microsoft Knowledge Base:

956717 Cumulative update package 1 for SQL Server 2008

SQL Server 2005

If you apply this hotfix to SQL Server 2005 before you migrate an application from SQL Server 2000 to SQL Server 2005, this hotfix will make the application work with SQL Server 2005. For example, you expect to obtain the data in a specific sorted order. To do this, you must use the ORDER BY clause in the SELECT statement that you use to query through the view. After you apply this hotfix and migrate the application, you will obtain a sorted query result.

However, this hotfix is only a temporary resolution. After you migrate the application, you must update the application to work correctly with the new behavior in SQL Server 2005.

After you update the application, you can disable trace flag 168 and change the compatibility level of the database back to 90.

References

For more information about the list of builds that are available after the release of SQL Server 2008, click the following article number to view the article in the Microsoft Knowledge Base:

956909 The SQL Server 2008 builds that were released after SQL Server 2008 was released
For more information about the Incremental Servicing Model for SQL Server, click the following article number to view the article in the Microsoft Knowledge Base:

935897 An Incremental Servicing Model is available from the SQL Server team to deliver hotfixes for reported problems
For more information about the naming schema for SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:

822499New naming schema for Microsoft SQL Server software update packagesFor more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updatesFor more information about the compatibility level of a database in SQL Server 2005, visit the following MSDN Web site:

http://msdn2.microsoft.com/en-us/library/ms178653.aspxFor more information about how to configure server startup options in SQL Server 2005, visit the following MSDN Web site:

http://msdn2.microsoft.com/en-us/library/ms345416.aspxFor more information about how to use the SQL Server service startup options, visit the following MSDN Web site:

http://msdn2.microsoft.com/en-us/library/ms190737.aspx

도움이 더 필요하세요?

더 많은 옵션을 원하세요?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

이 정보가 유용한가요?

사용 경험에 어떠한 영향을 주었나요?
제출을 누르면 피드백이 Microsoft 제품과 서비스를 개선하는 데 사용됩니다. IT 관리자는 이 데이터를 수집할 수 있습니다. 개인정보처리방침

의견 주셔서 감사합니다!

×