FIX: An embedded quotation mark in the MDX ALTER CUBE command removes the character that comes before the quotation mark

Article translations Article translations
Article ID: 830894 - View products that this article applies to.
Bug #: 14166 (Plato7x)
Expand all | Collapse all

On This Page

SYMPTOMS

When you use an ALTER CUBE statement to update a write-enabled dimension in Microsoft SQL Server 2000 Analysis Services, the value that is written to the source column in the relational data souce may be incorrect if the updated value contains an embedded single quotation mark. The value that is written to the source column will be missing the character that comes before the embedded single quotation mark.

Here is an example:
ALTER CUBE [HR] UPDATE DIMENSION MEMBER [Employees].&[1],  Full_Name ='O''Dell, Tina Slone'


Note With MDX syntax, embedded single quotation marks in string parameters must be delimited. Therefore, the two single quotation marks in the command in the example are required in the name O'Dell in order for the single quotation mark to be treated as an embedded quotation mark and not as the end of the string that is assigned to Full_Name.

If you run the command that is in the example, the Full_Name member property for employee #1 that is in the relational data source becomes 'Dell, Tina Slone instead of O'Dell, Tina Slone as expected.

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
290211 How to obtain the latest SQL Server 2000 service pack

Hotfix information

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
   --------------------------------------------------------------
   03-Nov-2003  17:08  8.0.874.0         217,668  Msmdcb80.dll     
   28-Oct-2003  02:58  8.0.0.872       4,059,716  Msmddo80.dll     
   03-Nov-2003  17:08  8.0.874.0       1,032,768  Msmdgd80.dll     
   28-Oct-2003  02:58  8.0.823.0         172,608  Msmdpump.dll     
   28-Oct-2003  02:58  8.0.0.864       9,638,468  Msmdsgn80.dll    
   04-Nov-2003  21:45  8.0.875.0       1,835,588  Msmdsrv.exe      
   03-Nov-2003  17:08  8.0.874.0       2,077,264  Msolap80.dll     
   10-May-2003  08:05  8.0.820.0         213,069  Msolap80.rll

Note Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.

SQL Server 2000 Analysis Services 64-bit

For additional information about a hotfix build that is designed for a server that is running SQL Server 2000 Analysis Services 64-bit, or to find out if a fix is scheduled to be included in SQL Server 2000 Analysis Services 64-bit Service Pack 4, click the following article number to view the article in the Microsoft Knowledge Base:
831653 Availability of Analysis Services 2000 64-bit hotfix build


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.

This problem was first corrected in Microsoft SQL Server 2000 Service Pack 4.

REFERENCES

For additional information, 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 product updates, tools, and add-ons

Properties

Article ID: 830894 - Last Review: November 21, 2006 - Revision: 3.2
APPLIES TO
  • Microsoft SQL Server 2000 Analysis Services
Keywords: 
kbqfe kbhotfixserver kbsqlserv2000presp4fix kbfix kbbug KB830894

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com