dbTalk Databases Forums  

Re: Can MDX be used to select ...

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


Discuss Re: Can MDX be used to select ... in the microsoft.public.sqlserver.olap forum.



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

Default Re: Can MDX be used to select ... - 08-12-2003 , 03:45 AM






Yes, you can do this by using the OPENROWSET function in t-sql and send a
passthrough MDX query to AS. This is well described in SQL Server Books
Online. You can also do a DTS import using the OLE DB provider to AS.

Jon Jahren

"Polaris" <etpolaris (AT) hotmail (DOT) com> wrote

Quote:
data from a cube and then put those data into a table in SQL Server
Database?

Suppose the table is ready in the database.

Thanks





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

Default Re: Can MDX be used to select ... - 08-13-2003 , 02:27 PM






Thanks. I need to look those up!
"Jon Jahren" <nospam_jon (AT) softscenario (DOT) no> wrote

Quote:
Yes, you can do this by using the OPENROWSET function in t-sql and send a
passthrough MDX query to AS. This is well described in SQL Server Books
Online. You can also do a DTS import using the OLE DB provider to AS.

Jon Jahren

"Polaris" <etpolaris (AT) hotmail (DOT) com> wrote in message
news:ubuo4nFYDHA.1204 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
data from a cube and then put those data into a table in SQL Server
Database?

Suppose the table is ready in the database.

Thanks







Reply With Quote
  #3  
Old   
Mosha Pasumansky [MS]
 
Posts: n/a

Default Re: Can MDX be used to select ... - 08-14-2003 , 12:02 PM



There are 2 other alternatives:

1. You can request flattened rowset as a result of MDX query as opposed to
IMDDataSet (CellSet). In order to do it in ADO, simply use command.Execute
instead of cellset.Execute
2. You can send SQL queries to the OLAP cube directly. First you will need
to issue DBSCHEMA_COLUMNS to discover the names of the columns for levels
and measures, and after that you can build SQL queries.

--
==================================================
Mosha Pasumansky - www.mosha.com/msolap
Development Lead in the Analysis Server team
All you need is love (John Lennon)
Disclaimer : This posting is provided "AS IS" with no warranties, and
confers no rights.
==================================================
"Jon Jahren" <nospam_jon (AT) softscenario (DOT) no> wrote

Quote:
Yes, you can do this by using the OPENROWSET function in t-sql and send a
passthrough MDX query to AS. This is well described in SQL Server Books
Online. You can also do a DTS import using the OLE DB provider to AS.

Jon Jahren

"Polaris" <etpolaris (AT) hotmail (DOT) com> wrote in message
news:ubuo4nFYDHA.1204 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
data from a cube and then put those data into a table in SQL Server
Database?

Suppose the table is ready in the database.

Thanks







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.