dbTalk Databases Forums  

Cubes/OLAP Databases on the server

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


Discuss Cubes/OLAP Databases on the server in the microsoft.public.sqlserver.olap forum.



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

Default Cubes/OLAP Databases on the server - 06-21-2006 , 01:25 AM






Hi all,

How to find out all the Cubes or OLAP databases available on the
analysis server (in SSAS)? Like, for database engine we can use
sp_databases which returns us all the available databases..

Regards,
Gayatri


Reply With Quote
  #2  
Old   
Jéjé
 
Posts: n/a

Default Re: Cubes/OLAP Databases on the server - 06-21-2006 , 09:38 AM






look at the XML/A commands
or the ADOMD.NET API

"gayu" <gayatri.kulkarni (AT) gmail (DOT) com> wrote

Quote:
Hi all,

How to find out all the Cubes or OLAP databases available on the
analysis server (in SSAS)? Like, for database engine we can use
sp_databases which returns us all the available databases..

Regards,
Gayatri




Reply With Quote
  #3  
Old   
Darren Gosbell
 
Posts: n/a

Default Re: Cubes/OLAP Databases on the server - 07-04-2006 , 05:27 AM



Jeje is right, specifically you can query a schema rowset called
DBSCHEMA_CATALOGS. Either by sending the following XMLA


<Discover xmlns="urn:schemas-microsoft-com:xml-analysis">

<RequestType>DBSCHEMA_CATALOGS</RequestType>

<Restrictions>
<RestrictionList>
</RestrictionList>
</Restrictions>

<Properties>
<PropertyList>
</PropertyList>
</Properties>
</Discover>


....or by using the GetSchemaDataset() method of the AdomdConnection
object from the AdomdClient library.

You can access pretty much all of the metadata available in Analysis
Services through these schema rowset. Most of them are documents to some
extent in BOL or you can issue an DISCOVER_SCHEMA_ROWSETS query and the
server will tell you what schema rowsets it supports. The template
explorer in SSMS has a built-in template for DISCOVER_SCHEMA_ROWSETS.

--
Regards
Darren Gosbell - SQL Server MVP
Blog: http://www.geekswithblogs.net/darrengosbell

In article <OXbvvBUlGHA.4100 (AT) TK2MSFTNGP05 (DOT) phx.gbl>,
willgart_A_ (AT) hotmail_A_ (DOT) com says...
Quote:
look at the XML/A commands
or the ADOMD.NET API

"gayu" <gayatri.kulkarni (AT) gmail (DOT) com> wrote in message
news:1150871102.022673.285650 (AT) g10g2000cwb (DOT) googlegroups.com...
Hi all,

How to find out all the Cubes or OLAP databases available on the
analysis server (in SSAS)? Like, for database engine we can use
sp_databases which returns us all the available databases..

Regards,
Gayatri





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.