dbTalk Databases Forums  

AS2005 Calculated Member & OLE DB

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


Discuss AS2005 Calculated Member & OLE DB in the microsoft.public.sqlserver.olap forum.



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

Default AS2005 Calculated Member & OLE DB - 07-20-2006 , 03:59 AM






After session calculated member created with CREATE MEMBER statement,
schema rowset MDSCHEMA_MEMBERS doesn't contains newly created member,
why?
Is this by design or bug

Example:

Using RowSetViewer (Microsoft Data Access SDK application) to test

Execute create command

CREATE MEMBER [Direct Sales].[Measures].[g1] as 1

to test what g1 exists we execute select command

SELECT FROM [Direct Sales] WHERE ([Measures].[g1])

test - ok

In same session in RowSetViewer get MDSCHEMA_MEMBERS rowset with
restrictions CUBE_NAME=Direct Sales
DIMENSION_UNIQUE_NAME=Measures

But resulting rowset doesn't contain g1 member

Note that MDSCHEMA_MEASURES rowset does contain g1


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

Default Re: AS2005 Calculated Member & OLE DB - 07-23-2006 , 10:14 PM






I can reproduce this behavior in Data Warehouse Explorer (DWE)
Newly created calculated member in Direct Sales cube don't displayed

build 2153

Vladislav Beliaev

VBeliaev писал(а):

Quote:
After session calculated member created with CREATE MEMBER statement,
schema rowset MDSCHEMA_MEMBERS doesn't contains newly created member,
why?
Is this by design or bug

Example:

Using RowSetViewer (Microsoft Data Access SDK application) to test

Execute create command

CREATE MEMBER [Direct Sales].[Measures].[g1] as 1

to test what g1 exists we execute select command

SELECT FROM [Direct Sales] WHERE ([Measures].[g1])

test - ok

In same session in RowSetViewer get MDSCHEMA_MEMBERS rowset with
restrictions CUBE_NAME=Direct Sales
DIMENSION_UNIQUE_NAME=Measures

But resulting rowset doesn't contain g1 member

Note that MDSCHEMA_MEASURES rowset does contain g1


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.