dbTalk Databases Forums  

MDX Comment

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


Discuss MDX Comment in the microsoft.public.sqlserver.olap forum.



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

Default MDX Comment - 11-15-2003 , 02:45 PM






Both in Sql2K as well as Yukon beta the following MDX fails because of
the ' in Coor's Beer.
//============================================
With
Member [Measures].[aMeasure] as
'
// Coor's Beer
1'
Select [Measures].[AllMembers] on 0
From [aCube]
//============================================

John

Reply With Quote
  #2  
Old   
Sanka
 
Posts: n/a

Default MDX Comment - 11-15-2003 , 05:50 PM






Guess thats a good catch.

But these work correctly..

With Member [Measures].[aMeasure] as '
// Coor''s Beer
1'
Select [Measures].[AllMembers] on 0
From [aCube]

With Member [Measures].[aMeasure] as
// Coor's Beer
'1'
Select [Measures].[AllMembers] on 0
From [aCube]

Cheers,
Sanka

Quote:
-----Original Message-----
Both in Sql2K as well as Yukon beta the following MDX
fails because of
the ' in Coor's Beer.
//============================================
With
Member [Measures].[aMeasure] as
'
// Coor's Beer
1'
Select [Measures].[AllMembers] on 0
From [aCube]
//============================================

John
.


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.