dbTalk Databases Forums  

MDX Query

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


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



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

Default MDX Query - 05-21-2004 , 02:45 PM






Hi,

We have an MDX query to get the data ( columns are
calculated members) from the cube and would like to get it
in an array for further processing. Currently we use ADO
Recordset to get the data and rs.getrows to transfer to an
array. The performance is very slow. Can anyone suggest
how to improve the performance?

strSource = "SELECT { [data].[Average],[data].[10th
Percentile]," & _
"[data].[25th Percentile],[data].[75th Percentile],
[data].[90th Percentile]}" & _
" ON COLUMNS ,{ [data].AllMembers } ON ROWS " & _
.....
rs.Open strSource, conn, adOpenStatic, adLockReadOnly,
adCmdText
... array1 = rs.GetRows



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 - 2013, Jelsoft Enterprises Ltd.