dbTalk Databases Forums  

Creating an Extract File

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


Discuss Creating an Extract File in the microsoft.public.sqlserver.olap forum.



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

Default Creating an Extract File - 05-13-2004 , 07:21 PM






I want to create an extract file from a Cube ... but I want to use the field
code / key in the extract not the description / name.

Looking at Foodmart I want something like the following:

Select

{ [Measures].[Unit Sales] }

on columns,

--non empty

crossjoin

(

{

descendants( [Customers].&[Canada] )

},

{

descendants( [Product].&[Beer] , , leaves )

}

)

on rows

FROM Sales

This gives the long names in the output, .keys is little use as the levels
are not known in advance, and I don't want both name and key by using
DIMENSION PROPERTY before the "on rows" - the file would be too big.

Any help appreciated.



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.