dbTalk Databases Forums  

Extract query from cube

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


Discuss Extract query from cube in the microsoft.public.sqlserver.olap forum.



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

Default Extract query from cube - 10-15-2004 , 04:35 AM






Hi,

Is there a way to extract the query out of a cube, just like when you are
right clicking on a table/view in SQL Server and with menu "All
Tasks\Generate SQL Script" you can create the sql script which you can run an
it creates the table/view for you.
If not, anyone can provide me a sample script or point me to a resource of
how to create a cube in code?

Thnx

Stanley

Reply With Quote
  #2  
Old   
Jamie Thomson
 
Posts: n/a

Default RE: Extract query from cube - 10-15-2004 , 04:39 AM






Creating a cube in code is done using Decision Support Objects (DSO) - an API
for administering Analysis Services.

Regards
Jamie Thomson
http://www.conchango.com

"Stanley" wrote:

Quote:
Hi,

Is there a way to extract the query out of a cube, just like when you are
right clicking on a table/view in SQL Server and with menu "All
Tasks\Generate SQL Script" you can create the sql script which you can run an
it creates the table/view for you.
If not, anyone can provide me a sample script or point me to a resource of
how to create a cube in code?

Thnx

Stanley

Reply With Quote
  #3  
Old   
Ramunas Balukonis
 
Posts: n/a

Default Re: Extract query from cube - 10-15-2004 , 06:14 AM



Use meta scripter utility from sql server resource kit.

"Stanley" <Stanley (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

Is there a way to extract the query out of a cube, just like when you are
right clicking on a table/view in SQL Server and with menu "All
Tasks\Generate SQL Script" you can create the sql script which you can run
an
it creates the table/view for you.
If not, anyone can provide me a sample script or point me to a resource of
how to create a cube in code?

Thnx

Stanley



Reply With Quote
  #4  
Old   
Brian Altmann
 
Posts: n/a

Default RE: Extract query from cube - 10-15-2004 , 08:17 AM



You can use the DSO/XML utility:

http://www.microsoft.com/downloads/d...DisplayLang=en

HTh,
Brian
www.geocities.com/brianaltmann/olap.html

"Stanley" wrote:

Quote:
Hi,

Is there a way to extract the query out of a cube, just like when you are
right clicking on a table/view in SQL Server and with menu "All
Tasks\Generate SQL Script" you can create the sql script which you can run an
it creates the table/view for you.
If not, anyone can provide me a sample script or point me to a resource of
how to create a cube in code?

Thnx

Stanley

Reply With Quote
  #5  
Old   
Stanley
 
Posts: n/a

Default RE: Extract query from cube - 10-15-2004 , 08:33 AM



Ok, thnx people!



"Brian Altmann" wrote:

Quote:
You can use the DSO/XML utility:

http://www.microsoft.com/downloads/d...DisplayLang=en

HTh,
Brian
www.geocities.com/brianaltmann/olap.html

"Stanley" wrote:

Hi,

Is there a way to extract the query out of a cube, just like when you are
right clicking on a table/view in SQL Server and with menu "All
Tasks\Generate SQL Script" you can create the sql script which you can run an
it creates the table/view for you.
If not, anyone can provide me a sample script or point me to a resource of
how to create a cube in code?

Thnx

Stanley

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.