Consider the following scenario. You have a query that contains the
SPACE function. The
SPACE function uses a collation that differs from the collation of the current database.
You specify a value that is larger than 1 for the parameter of the
SPACE function. Then, you run the query in Microsoft SQL Server
2000. In this scenario, the
SPACE function always returns one space.
This problem does not
occur in Microsoft SQL Server 2005.
Back to the top
Hotfix information
A supported hotfix is now 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 SQL Server 2000 service pack that contains this hotfix.
To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:
Note If additional issues occur or 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. To create a separate service request, visit the following Microsoft Web site:
Prerequisites
You must have SQL Server 2000 Service Pack 4 installed to apply
this hotfix. For more information about how to obtain
SQL Server 2000 Service Pack 4, click the following article number to view the
article in the Microsoft Knowledge Base:
290211 (http://kbalertz.com/Feedback.aspx?kbNumber=290211/)
How to obtain the latest SQL Server 2000 service pack
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 2000, 32-bit version
| File name | File version | File
size | Date | Time | Platform |
|---|
| Dtsui.dll | 2000.80.2271.0 | 1,593,344 | 11-Feb-2008 | 04:36 | x86 |
| Impprov.dll | 2000.80.2271.0 | 102,400 | 11-Feb-2008 | 04:36 | x86 |
| Msgprox.dll | 2000.80.2271.0 | 94,208 | 11-Feb-2008 | 04:36 | x86 |
| Msrpjt40.dll | 4.10.9424.0 | 188,473 | 11-Feb-2008 | 04:36 | x86 |
| Mssdi98.dll | 8.11.50523.0 | 239,104 | 11-Feb-2008 | 04:36 | x86 |
| Ntwdblib.dll | 2000.80.2271.0 | 290,816 | 11-Feb-2008 | 04:36 | x86 |
| Odsole70.dll | 2000.80.2271.0 | 69,632 | 11-Feb-2008 | 04:36 | x86 |
| Osql.exe | 2000.80.2271.0 | 57,344 | 11-Feb-2008 | 04:36 | x86 |
| Pfclnt80.dll | 2000.80.2271.0 | 430,080 | 11-Feb-2008 | 04:36 | x86 |
| Qrdrsvc.exe | 2000.80.2271.0 | 192,512 | 11-Feb-2008 | 04:36 | x86 |
| Replmerg.exe | 2000.80.2271.0 | 163,840 | 11-Feb-2008 | 04:36 | x86 |
| Replprov.dll | 2000.80.2271.0 | 237,568 | 11-Feb-2008 | 04:36 | x86 |
| Replrec.dll | 2000.80.2271.0 | 315,392 | 11-Feb-2008 | 04:36 | x86 |
| Replsub.dll | 2000.80.2271.0 | 270,336 | 11-Feb-2008 | 04:36 | x86 |
| Rinitcom.dll | 2000.80.2271.0 | 278,528 | 11-Feb-2008 | 04:36 | x86 |
| Semexec.dll | 2000.80.2271.0 | 856,064 | 11-Feb-2008 | 04:36 | x86 |
| Semmap.dll | 2000.80.2271.0 | 53,248 | 11-Feb-2008 | 04:36 | x86 |
| Snapshot.exe | 2000.80.2271.0 | 61,440 | 11-Feb-2008 | 04:36 | x86 |
| Sqlagent.exe | 2000.80.2271.0 | 323,584 | 11-Feb-2008 | 04:36 | x86 |
| Sqldiag.exe | 2000.80.2271.0 | 118,784 | 11-Feb-2008 | 04:36 | x86 |
| Sqldmo.dll | 2000.80.2271.0 | 4,362,240 | 11-Feb-2008 | 04:36 | x86 |
| Sqldumper.exe | Not
Applicable | 22,528 | 11-Feb-2008 | 04:36 | x86 |
| Sqlevn70.rll | 2000.80.2271.0 | 45,056 | 11-Feb-2008 | 02:12 | Not
Applicable |
| Sqlfth75.dll | 2000.80.2271.0 | 102,400 | 11-Feb-2008 | 04:36 | x86 |
| Sqlservr.exe | 2000.80.2271.0 | 9,183,232 | 11-Feb-2008 | 04:36 | x86 |
| Sqlsort.dll | 2000.80.2271.0 | 589,824 | 11-Feb-2008 | 04:36 | x86 |
| Sqlvdi.dll | 2000.85.2101.0 | 122,368 | 11-Feb-2008 | 04:36 | x86 |
| Stardds.dll | 2000.80.2271.0 | 176,128 | 11-Feb-2008 | 04:36 | x86 |
| Svrnetcn.dll | 2000.80.2271.0 | 110,592 | 11-Feb-2008 | 04:36 | x86 |
| Ums.dll | 2000.80.2271.0 | 35,840 | 11-Feb-2008 | 04:36 | x86 |
| Xpstar.dll | 2000.80.2271.0 | 311,296 | 11-Feb-2008 | 04:36 | x86 |
Back to the top
To work around this problem, use the COLLATE clause to
explicitly cast the collation that the
SPACE function uses to be the same as the collation of the current database. For
example, run the following statement that uses the COLLATE clause.
SELECT Corrected='*' COLLATE database_default + SPACE(12) + '*'
Back to the top
Microsoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section.
Back to the top
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:
822499 (http://kbalertz.com/Feedback.aspx?kbNumber=822499/)
New naming schema for Microsoft SQL Server software update packages
For more information about software update terminology, click the
following article number to view the article in the Microsoft Knowledge Base:
824684 (http://kbalertz.com/Feedback.aspx?kbNumber=824684/LN/) Description of the standard terminology that is used to describe Microsoft software updates
For more information about the COLLATE clause, see the
"COLLATE" topic in SQL Server 2000 Books Online.
Back to the top