TDV Adapter for Microsoft SQL Server Analysis Services

Build 24.0.9060

Data Model

SQL Server Analysis Services is an OLAP database that exposes data as cubes, which you query with MDX (multidimensional expressions). The adapter models these cubes in relational views that you can query with SQL-92, or MDX.

Accessing Cubes as Views

SQL Server Analysis Services is fundamentally different from a relational database; reflecting these differences, the SQL Server Analysis Services Adapter does not support many SQL-92 features found in a driver for an RDBMS. To bypass any limitations with query translation, you can submit pass-through MDX queries from the adapter.

See Retrieving Analysis Services Data for query limitations and more information on querying SQL Server Analysis Services.

Modeling Views Dynamically

You can query all of the cubes in your SQL Server Analysis Services instance; when you connect, the adapter retrieves the metadata from SQL Server Analysis Services and displays the available dimensions and measures as columns for the views (cubes). The adapter dynamically updates the schemas over subsequent connections.

Measure Attributes

By default, all measure attributes are listed in a 'Measures' view. However, you can set SplitMeasures to 'true' to split the measures view; the result is each measure attribute is included in its respective view based on the Measure Group value. Further classification based on 'Measure Directories' is not included.

Accessing Schema Information

Query the System Tables to access schema information and other adapter metadata.

Dynamic Management Views

Dynamic Management Views (DMVs) are queries that return information about model objects, server operations, and the server health of your Analysis Services instance. These objects can be queried through the adapter by setting UseMDX to 'true' and issuing the desired query:

SELECT * FROM $System.DBSchema_Tables   
WHERE TABLE_TYPE = 'SCHEMA'   
ORDER BY TABLE_NAME ASC  
Note that the DMV query syntax is based on a SQL SELECT statement, but does not support its full syntax. See the Analysis Services documentation on DMVs for more information.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060