dbTalk Databases Forums  

MDX Unique Names Style property

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss MDX Unique Names Style property in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
James
 
Posts: n/a

Default MDX Unique Names Style property - 11-06-2003 , 09:19 AM






Please can somebody tell me how I can retrieve the setting for the MDX
Unique Names Style property of an Analysis server. I know where to
find it in the registry, but I need to be able to get it by querying
the Analysis server, either via ADO, DSO or a SQL query.

Thank-you!

Reply With Quote
  #2  
Old   
Bas Kersten [MSFT]
 
Posts: n/a

Default RE: MDX Unique Names Style property - 11-10-2003 , 09:57 AM






Hi,

You can use the PivotTable Service Properties, see also BOL for more
information.

MDX Unique Name Style Property
This property determines which algorithm is used to generate unique names.

Property Name
MDX Unique Name Style

Property ID
DBPROP_MSMD_MDXUNIQUENAMES

Remarks
Because members in Microsoft® SQL Server™ 2000 Analysis Services can change
position in a dimension, the method for generating unique names in SQL
Server version 7.0 OLAP Services may result in an unstable unique name over
time. To accommodate this change, you can use this property to specify the
algorithm for generating unique names. Use the following table to specify
which algorithm to use.

Value Description
0 Default. For compatibility with earlier versions, this is the same as
Value 2. The meaning of this default value is subject to change in future
versions.
1 Key path algorithm: [dim].&[k1].&[k2]
2 Compatible with version 7.0, name path algorithm: [dim].[n1].[n2]
3 Compatible with SQL Server 2000 Analysis Services. The algorithm uses
guaranteed unique names, which are stable over time.

This property overrides the following registry setting:

HKEY_CLASSES_ROOT\CLSID\{a07ccd00-8148-11d0-87bb-00c04fc33942}

HTH,
Bas

"This posting is provided "AS IS" with no warranties, and confers no
rights."


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.