Microsoft KB Archive/324683

= Order Discount Does Not Operate When Many Discounts Are Applied =

Article ID: 324683

Article Last Modified on 9/27/2005

-

APPLIES TO


 * Microsoft Commerce Server 2000 Standard Edition

-



This article was previously published under Q324683



SYMPTOMS
If a campaign contains more than 100 discounts, the ordering to the discounts is intermittently returned incorrectly. The ordering is not ordered by rank or campaign item ID.



CAUSE
Ordering is not operating as expected because of the underlying SQL operations.



RESOLUTION
To resolve this problem, obtain the latest service pack for Commerce Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

297216 INFO: How to Obtain the Latest Commerce Server 2000 Service Pack

The English version of this fix has the file attributes (or later) 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 tool in Control Panel.

  Date         Time   Version     Size     File name    Platform --  18-Jun-2002  14:07  4.0.3055.0  254,224  Csfcomp.dll  I386



STATUS
Microsoft has confirmed that this is a problem in Commerce Server 2000. This problem was first corrected in Commerce Server 2000 Service Pack 3.



MORE INFORMATION
The problem includes the following operations: conn.Execute(&quot;select * into ##bar from sample order by x&quot;)

conn.Execute(&quot;ALTER TABLE ##bar ADD idx INT IDENTITY&quot;) The hotfix includes the following operations: conn.Execute(&quot;select *, IDENTITY(int,1,1)as idx into ##bar from sample order by x&quot;)

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

273586 BUG: SELECT INTO With ORDER BY Clause Ignores Order By During the Insert

Keywords: kbbug kbfix kbcommserv2000presp2fix kbqfe kbcommserv2000sp2fix kbhotfixserver KB324683

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.