Hi all,
Do you know how can I count the number of cubes and number of databases
in SQL Analysis Services using T-SQL?
Thanks. 2 2055
To count number of databases use this
select count(catalog_n ame) from information_sch ema.schemata
Madhivanan
Analysis Services is totally separate from MSSQL, so you can't use TSQL
to query it directly. Even if you create a linked server from MSSQL, it
is linked to a single AS database, not to the AS server as a whole. But
there are (at least) a couple of ways to enumerate the databases and
cubes.
First, if you've migrated the metadata repository to an MSSQL database,
then you can use queries like this:
select count(*) from OlapObjects
where objectdefinitio n like '<database%'
select count(*) from OlapObjects
where objectdefinitio n like '<cube%'
If you haven't migrated the repository, you may be able to use an
equivalent query in Access to get the information, but I've never tried
that myself.
Second, you can use the DSO COM interface to enumerate the MDStore
objects. See "Decision Support Objects Architecture" in Books Online
for more details. This is probably a better solution, because the
repository database isn't documented (as far as I know), and DSO is the
standard mechanism for managing AS from code.
If this doesn't help, you could try posting in
microsoft.publi c.sqlserver.ola p.
Simon This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Will |
last post by:
On the subject of Data Warehouses, Data Cubes & OLAP….
I would like to speak frankly about Data Warehouses, Data Cubes and
OLAP (on-line analytical processing). Has it dawned on anyone else
that these buzz words were created by some geek who decided to take a
stab at marketing? Knowing that to the backwoods manager who knows
little of technology that new innovative names for old concepts would
help to sale their products.
I mean...
|
by: Krzyh |
last post by:
How to get data from cubes in analyses manager to MS access using for
example ODBC ? Does existe any other posibilities to get data from cubes
directly to the accees ?
thanks
Kris
|
by: Will |
last post by:
On the subject of Data Warehouses, Data Cubes & OLAP….
I would like to speak frankly about Data Warehouses, Data Cubes and
OLAP (on-line analytical processing). Has it dawned on anyone else
that these buzz words were created by some geek who decided to take a
stab at marketing? Knowing that to the backwoods manager who knows
little of technology that new innovative names for old concepts would
help to sale their products.
I mean...
|
by: Achim K?nstler |
last post by:
Hi,
hat jemand Erfahrungen gemacht in Sachen "virtuelle Cubes" ???
Wir überlgen ein Projekt aufzusetzen, dass ca. 6.000 virtuelle Cubes
enthalten soll?
Wie steht es um die User-Verwaltung ? Ist diese automatisiert möglich
?
has somebody experience in "virtual cubes" ???
|
by: AOstarello |
last post by:
Hi all,
I'm trying to link to some OLAP cubes that were created using the MS
SQL Server Analysis Tools. The cubes reside on an Analysis Server.
I'm trying to find a simple way for users to query the cubes without a
lot of programming overhead.
I can easily get the results I want by using MS Excel 2003. Through
the menus, I choose: Data > Import External Data > New Database Query.
Then I can select the OLAP Cubes tab, create a data...
| |
by: |
last post by:
hi,
i'm working on a project for finacial reporting with
oracle 81.1.7 server and asp.net.
I want to use oracle cubes in my asp.net application but i
have not found anything about this topic in the
documentation. Can I use the mdx object also for oracle
cubes or is there any other way to work with
multidimesional data from oracle in asp.net??
is it possible to load cubes into the dataset object?
where can i find information on this...
|
by: ashu |
last post by:
an armstrong number of three digits is an integer such that the sum of
the cubes of its digits is equal to the number itself. for example,
171 is an armstrong number since 3**3+7**7+1**1=371.
i have try but not succed.kindly help me .
here is what i did :
int main()
{
int a,b,n,s=0;
printf("enter no");
|
by: Deven Oza |
last post by:
Hi All,
I am changing measures property "sum" to "distinct count" but when I am looking at the browser to see the data, its not changing at all, the data value is same as I was getting before. what should be done to make it effect? I have already processed the cubes but still getting same result.
SQL server 2005 analysis server
Thanks in advance!
Thanks,
Deven
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |