dbTalk Databases Forums  

& character in unique name

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


Discuss & character in unique name in the microsoft.public.sqlserver.olap forum.



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

Default & character in unique name - 11-17-2005 , 09:53 AM






Hi!

I've noticed some client applications generate MDX in such a way that
members are referenced like [Dimension].[Level].&[Member], or something of
the sort.

What does the & character mean?

Thanks!



Reply With Quote
  #2  
Old   
Deepak Puri
 
Posts: n/a

Default Re: & character in unique name - 11-17-2005 , 03:42 PM






THe "&" references the key, rather than the name of the member. This MS
KB article explains MDX name styles:

http://support.microsoft.com/default...b;en-us;304337
Quote:
INF: How to Control a Member's Unique Name
...
An alternative to the Name Path algorithm is the Key Path algorithm,
where the path is defined by the keys rather than the member names. If
the path is defined by keys, the syntax is

[Time].&[1997].&[Q1].&[1]
...
Quote:

- Deepak

Deepak Puri
Microsoft MVP - SQL Server

*** Sent via Developersdex http://www.developersdex.com ***


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.