dbTalk Databases Forums  

creating a local cube by code

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


Discuss creating a local cube by code in the microsoft.public.sqlserver.olap forum.



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

Default creating a local cube by code - 04-23-2004 , 01:10 PM






This may be a funny one...
I want to write a program that creates a local cube but I only find
references to the
'CREATE GLOBAL/SESSION CUBE...' ddl statements syntax.
I don't understand to whom should I assign this statement??
My hunch is that it should be an instance of pivot table services?
Can you give some reference to its api??
Thanks alot
Rea



Reply With Quote
  #2  
Old   
Rea Peleg
 
Posts: n/a

Default Re: creating a local cube by code - 04-24-2004 , 07:30 AM






OK
I found the vbAdoCreateCube sample in the AS samples which uses
ADODB connection to an ole db for olap provider to run 'CREAT CUBE' +
'INSERT CUBE'
ddl statements.
I need now a way to replace these statements with the 'CREATE GLOBAL CUBE'
statement.
I tried replacing "CREATECUBE=CREATE CUBE Sample( ...)" with
I tried replacing "CREATEGLOBALCUBE=CREATE GLOBAL CUBE Sample( ...)"
but it did not work...
Any suggestions will be appriciated!
10X
Rea

"Rea Peleg" <reapeleg (AT) barak-online (DOT) net> wrote

Quote:
This may be a funny one...
I want to write a program that creates a local cube but I only find
references to the
'CREATE GLOBAL/SESSION CUBE...' ddl statements syntax.
I don't understand to whom should I assign this statement??
My hunch is that it should be an instance of pivot table services?
Can you give some reference to its api??
Thanks alot
Rea





Reply With Quote
  #3  
Old   
Tim Peterson
 
Posts: n/a

Default Re: creating a local cube by code - 05-20-2004 , 12:53 PM



Our product automates the generation of local cube files, for both the
CREATE LOCAL CUBE syntax and the CREATE GLOBAL CUBE syntax. It also will
create VB files that generate these local cube files. We offer a free 30-day
full-featured demo, so that you can see how the VB code that you can use
without purchasing anything.

Tim Peterson
www.localcubetask.com

"Rea Peleg" <reapeleg (AT) barak-online (DOT) net> wrote

Quote:
OK
I found the vbAdoCreateCube sample in the AS samples which uses
ADODB connection to an ole db for olap provider to run 'CREAT CUBE' +
'INSERT CUBE'
ddl statements.
I need now a way to replace these statements with the 'CREATE GLOBAL CUBE'
statement.
I tried replacing "CREATECUBE=CREATE CUBE Sample( ...)" with
I tried replacing "CREATEGLOBALCUBE=CREATE GLOBAL CUBE Sample( ...)"
but it did not work...
Any suggestions will be appriciated!
10X
Rea

"Rea Peleg" <reapeleg (AT) barak-online (DOT) net> wrote in message
news:eml#8VVKEHA.3596 (AT) tk2msftngp13 (DOT) phx.gbl...
This may be a funny one...
I want to write a program that creates a local cube but I only find
references to the
'CREATE GLOBAL/SESSION CUBE...' ddl statements syntax.
I don't understand to whom should I assign this statement??
My hunch is that it should be an instance of pivot table services?
Can you give some reference to its api??
Thanks alot
Rea







Reply With Quote
  #4  
Old   
Michael Vardinghus
 
Posts: n/a

Default Re: creating a local cube by code - 05-20-2004 , 01:50 PM



does it include calc measures from the cube ?


"Tim Peterson" <tpeterson (AT) sdgcomputing (DOT) com> skrev i en meddelelse
news:uPjTvNpPEHA.3452 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
Quote:
Our product automates the generation of local cube files, for both the
CREATE LOCAL CUBE syntax and the CREATE GLOBAL CUBE syntax. It also will
create VB files that generate these local cube files. We offer a free
30-day
full-featured demo, so that you can see how the VB code that you can use
without purchasing anything.

Tim Peterson
www.localcubetask.com

"Rea Peleg" <reapeleg (AT) barak-online (DOT) net> wrote in message
news:%23jXUW8eKEHA.2576 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
OK
I found the vbAdoCreateCube sample in the AS samples which uses
ADODB connection to an ole db for olap provider to run 'CREAT CUBE' +
'INSERT CUBE'
ddl statements.
I need now a way to replace these statements with the 'CREATE GLOBAL
CUBE'
statement.
I tried replacing "CREATECUBE=CREATE CUBE Sample( ...)" with
I tried replacing "CREATEGLOBALCUBE=CREATE GLOBAL CUBE Sample( ...)"
but it did not work...
Any suggestions will be appriciated!
10X
Rea

"Rea Peleg" <reapeleg (AT) barak-online (DOT) net> wrote in message
news:eml#8VVKEHA.3596 (AT) tk2msftngp13 (DOT) phx.gbl...
This may be a funny one...
I want to write a program that creates a local cube but I only find
references to the
'CREATE GLOBAL/SESSION CUBE...' ddl statements syntax.
I don't understand to whom should I assign this statement??
My hunch is that it should be an instance of pivot table services?
Can you give some reference to its api??
Thanks alot
Rea









Reply With Quote
  #5  
Old   
Tim Peterson
 
Posts: n/a

Default Re: creating a local cube by code - 05-20-2004 , 01:52 PM



You can choose to include or exclude each calculated member when using
CREATE LOCAL CUBE syntax. When using CREATE GLOBAL CUBE syntax all the
calculated members are included automatically.




Reply With Quote
  #6  
Old   
Michael Vardinghus
 
Posts: n/a

Default Re: creating a local cube by code - 05-21-2004 , 03:42 AM



Thanks

1) when using global cube does it calculate all possible aggreations - also
for calc members ?
2) is your program a graphical tool for the end user which allows him/her to
choose dimensions and measures or a mdx tool ?

\Michael V.

"Tim Peterson" <tpeterson (AT) sdgcomputing (DOT) com> skrev i en meddelelse
news:uy0J6upPEHA.832 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Quote:
You can choose to include or exclude each calculated member when using
CREATE LOCAL CUBE syntax. When using CREATE GLOBAL CUBE syntax all the
calculated members are included automatically.






Reply With Quote
  #7  
Old   
Tim Peterson
 
Posts: n/a

Default Re: creating a local cube by code - 05-21-2004 , 01:17 PM



1) when using global cube does it calculate all possible aggregations - also
for calc members ?

RESPONSE: Local cubes, whether they are created with CREATE LOCAL CUBE or
CREATE GLOBAL CUBE, do not contain any aggregations. This is not a problem,
as long as the local cubes are not too large. Local cubes perform very well
when browsed. The browsing speed can be even faster than for server cubes
because server cube browsing speed is slowed by network traffic.

2) is your program a graphical tool for the end user which allows him/her to
choose dimensions and measures or a mdx tool ?

RESPONSE: Our program is primarily an administrator's tool for designing,
scheduling the creation of, and distributing local cube files. It generates
the code needed to create local cubes, based on the administrator's
decisions about which parts of the Analysis Server cube should be included.
We also include a simple OLAP client tool that uses the Microsoft Office Web
Components, so that local cubes can be distributed to users who don't have
any other OLAP client tools to use. Our tool also programmatically generates
a simple installation package that includes the simple OLAP client tool and
a local cube file. When this file (which we call a CubeSlice) is opened by
end users, the data in the local cube file is immediately displayed in our
simple OLAP client tool, if the end user's machine has the Microsoft Office
Web Components installed.

I would encourage you to try our free 30-day demo. Our installation program
installs a custom task to DTS and an add-in which appears as a menu choice
in the Analysis Manager. You can design local cubes in the Analysis Manager
and then automate their repeated creation in DTS.

Tim Peterson
www.localcubetask.com



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.