dbTalk Databases Forums  

XMLA/ASSL help AS2005

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


Discuss XMLA/ASSL help AS2005 in the microsoft.public.sqlserver.olap forum.



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

Default XMLA/ASSL help AS2005 - 12-06-2005 , 08:56 PM






Hi ,

Is there a way to add a database dimension to a cube using XMLA script?
something like ALTER Table ADD statement in SQL.

I have a database dimension that I would like to add to the cube without
going through the BI dev studio.

Also, I would like to add the dimension/fact tables to the data source view
using the XMLA script.

if it is possible can someone please post some examples?


Thanks,

Sanjay



Reply With Quote
  #2  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: XMLA/ASSL help AS2005 - 12-07-2005 , 06:02 PM






Just run SSMS and right click on an existing dimension. Then select
"Script... As CREATE".
There is your sample.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Systems Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Sanjay Khadilkar" <sanjayk_nospam (AT) comcast (DOT) net> wrote

Quote:
Hi ,

Is there a way to add a database dimension to a cube using XMLA script?
something like ALTER Table ADD statement in SQL.

I have a database dimension that I would like to add to the cube without
going through the BI dev studio.

Also, I would like to add the dimension/fact tables to the data source
view using the XMLA script.

if it is possible can someone please post some examples?


Thanks,

Sanjay





Reply With Quote
  #3  
Old   
Sanjay Khadilkar
 
Posts: n/a

Default Re: XMLA/ASSL help AS2005 - 12-08-2005 , 12:27 PM



I know that but it only generates the CREATE script for a Database
dimension and I want to be able to add the existing database dimension to
the Cube. I don't know how to generate the statement to do that.

So, I am looking for something like ALTER CUBE CUBE ADD DIMENSION DIM1

Sanjay


"Dave Wickert [MSFT]" <dwickert (AT) online (DOT) microsoft.com> wrote

Quote:
Just run SSMS and right click on an existing dimension. Then select
"Script... As CREATE".
There is your sample.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Systems Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no
rights.


"Sanjay Khadilkar" <sanjayk_nospam (AT) comcast (DOT) net> wrote in message
news:%231O4ent%23FHA.140 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Hi ,

Is there a way to add a database dimension to a cube using XMLA script?
something like ALTER Table ADD statement in SQL.

I have a database dimension that I would like to add to the cube without
going through the BI dev studio.

Also, I would like to add the dimension/fact tables to the data source
view using the XMLA script.

if it is possible can someone please post some examples?


Thanks,

Sanjay







Reply With Quote
  #4  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: XMLA/ASSL help AS2005 - 12-09-2005 , 01:51 PM



You can click on the dimension object and script out just the dimension
structures. It supports both CREATE and ALTER formats.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Systems Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Sanjay Khadilkar" <sanjayk_nospam (AT) comcast (DOT) net> wrote

Quote:
I know that but it only generates the CREATE script for a Database
dimension and I want to be able to add the existing database dimension to
the Cube. I don't know how to generate the statement to do that.

So, I am looking for something like ALTER CUBE CUBE ADD DIMENSION DIM1

Sanjay


"Dave Wickert [MSFT]" <dwickert (AT) online (DOT) microsoft.com> wrote in message
news:OlxoTr4%23FHA.516 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
Just run SSMS and right click on an existing dimension. Then select
"Script... As CREATE".
There is your sample.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Systems Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no
rights.


"Sanjay Khadilkar" <sanjayk_nospam (AT) comcast (DOT) net> wrote in message
news:%231O4ent%23FHA.140 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Hi ,

Is there a way to add a database dimension to a cube using XMLA script?
something like ALTER Table ADD statement in SQL.

I have a database dimension that I would like to add to the cube without
going through the BI dev studio.

Also, I would like to add the dimension/fact tables to the data source
view using the XMLA script.

if it is possible can someone please post some examples?


Thanks,

Sanjay









Reply With Quote
  #5  
Old   
Akshai Mirchandani [MS]
 
Posts: n/a

Default Re: XMLA/ASSL help AS2005 - 12-14-2005 , 03:29 PM



I think Sanjay wants the part that actually adds the DB dimension to a cube.
No, you cannot script out an "add dimension" request.

You can write an AMO program to do that very easily, or you can script out
the entire cube with the dimension added...

Thanks,
Akshai
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"Dave Wickert [MSFT]" <dwickert (AT) online (DOT) microsoft.com> wrote

Quote:
You can click on the dimension object and script out just the dimension
structures. It supports both CREATE and ALTER formats.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Systems Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no
rights.


"Sanjay Khadilkar" <sanjayk_nospam (AT) comcast (DOT) net> wrote in message
news:eK%23HgUC$FHA.1256 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
I know that but it only generates the CREATE script for a Database
dimension and I want to be able to add the existing database dimension to
the Cube. I don't know how to generate the statement to do that.

So, I am looking for something like ALTER CUBE CUBE ADD DIMENSION DIM1

Sanjay


"Dave Wickert [MSFT]" <dwickert (AT) online (DOT) microsoft.com> wrote in message
news:OlxoTr4%23FHA.516 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
Just run SSMS and right click on an existing dimension. Then select
"Script... As CREATE".
There is your sample.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Systems Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no
rights.


"Sanjay Khadilkar" <sanjayk_nospam (AT) comcast (DOT) net> wrote in message
news:%231O4ent%23FHA.140 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Hi ,

Is there a way to add a database dimension to a cube using XMLA script?
something like ALTER Table ADD statement in SQL.

I have a database dimension that I would like to add to the cube
without going through the BI dev studio.

Also, I would like to add the dimension/fact tables to the data source
view using the XMLA script.

if it is possible can someone please post some examples?


Thanks,

Sanjay











Reply With Quote
  #6  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: XMLA/ASSL help AS2005 - 12-14-2005 , 08:12 PM



In re-reading I agree. Sorry all.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Systems Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Akshai Mirchandani [MS]" <akshaim (AT) online (DOT) microsoft.com> wrote

Quote:
I think Sanjay wants the part that actually adds the DB dimension to a
cube. No, you cannot script out an "add dimension" request.

You can write an AMO program to do that very easily, or you can script out
the entire cube with the dimension added...

Thanks,
Akshai
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for
newsgroup
purposes only.

"Dave Wickert [MSFT]" <dwickert (AT) online (DOT) microsoft.com> wrote in message
news:eezKmoP$FHA.1028 (AT) TK2MSFTNGP11 (DOT) phx.gbl...
You can click on the dimension object and script out just the dimension
structures. It supports both CREATE and ALTER formats.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Systems Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no
rights.


"Sanjay Khadilkar" <sanjayk_nospam (AT) comcast (DOT) net> wrote in message
news:eK%23HgUC$FHA.1256 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
I know that but it only generates the CREATE script for a Database
dimension and I want to be able to add the existing database dimension to
the Cube. I don't know how to generate the statement to do that.

So, I am looking for something like ALTER CUBE CUBE ADD DIMENSION DIM1

Sanjay


"Dave Wickert [MSFT]" <dwickert (AT) online (DOT) microsoft.com> wrote in message
news:OlxoTr4%23FHA.516 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
Just run SSMS and right click on an existing dimension. Then select
"Script... As CREATE".
There is your sample.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Systems Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no
rights.


"Sanjay Khadilkar" <sanjayk_nospam (AT) comcast (DOT) net> wrote in message
news:%231O4ent%23FHA.140 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Hi ,

Is there a way to add a database dimension to a cube using XMLA
script? something like ALTER Table ADD statement in SQL.

I have a database dimension that I would like to add to the cube
without going through the BI dev studio.

Also, I would like to add the dimension/fact tables to the data source
view using the XMLA script.

if it is possible can someone please post some examples?


Thanks,

Sanjay













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.