# Microsoft SQL Server Analysis Services (SSAS) (Repository) - Export

Availability-note[AWS](https://help.talend.com/r/en-US/Cloud/labels-on-talend-help-center/availability-aws)

AWS-only features are available at any of the following URLs: us.cloud.talend.com, eu.cloud.talend.com, ap.cloud.talend.com

## Bridge Requirements

This bridge:

* is only supported on Microsoft Windows.

* requires the tool to be installed to access its SDK.

## Bridge Specifications

| **Vendor** | **Microsoft** |
| --- | --- |
| **Tool Name** | **SQL Server Analysis Services (SSAS)** |
| **Tool Version** | **9.0 (2005) to 10.5 (2008 r2)** |
| **Tool Web Site** | http://msdn2.microsoft.com/en-us/library/ms141026.aspx |
| **Supported Methodology** | [Business Intelligence] BI Design (RDBMS Source, Dimensional Target, Transformation Lineage, Expression Conversion) via .Net API |

**SPECIFICATIONS**  
**Tool:** Microsoft / SQL Server Analysis Services (SSAS) version 9.0 (2005) to 10.5 (2008 r2) via .Net API  
See http://msdn2.microsoft.com/en-us/library/ms141026.aspx  
**Metadata:** [Business Intelligence] BI Design (RDBMS Source, Dimensional Target, Transformation Lineage, Expression Conversion)  
**Component:** MicrosoftSqlServerRepositoryAs version 12.1.0  
  
**OVERVIEW**  
The bridge exports OLAP Models into a corresponding SQL Server Repository using the SQL Server SDK APIs, including the Analysis Management Objects (AMO).  
  
**REQUIREMENTS**  
In order for this bridge to connect to the SQL Server Repositories and export, it is necessary to ensure that the SQL Server Client Components are installed properly and corresponding services are running locally or in your local network. The bridge uses Windows Authentication to connect to Analysis Services. Please be sure the application is logged into Windows Domain as a User which has appropriate rights to the objects you wish to import.  
  
**FREQUENTLY ASKED QUESTIONS**  
n/a  
  
**LIMITATIONS**  
Refer to the current general known limitations at https://docs.metakarta.com/help/mimb-guide/mimb-known-limitations/  
  
**SUPPORT**  
Provide a troubleshooting package with debug log. Debug log can be set in the UI or in conf/conf.properties with MIR\_LOG\_LEVEL=6  
In order to provide a complete set of source metadata to reproduce the issue, please export and attach the Analysis Databases (XMLA) files.

## Bridge Parameters

| **Parameter Name** | **Description** | **Type** | **Values** | **Default** | **Scope** |
| --- | --- | --- | --- | --- | --- |
| **SQL Server version** | Specifies the version of SQL Server. | ENUMERATED | <table><tr><td>SQL Server 2008</td></tr><tr><td>SQL Server 2005</td></tr></table> | 2008 |  |
| **Host** | Host name or IP address where SQL Server Analysis Services Repository is running. | STRING |  | localhost | Mandatory |
| **Database** | SQL Server Analysis Service database name to be exported. E.g.<br><br>Adventure Works DW Standard Edition | REPOSITORY\_MODEL |  |  | Mandatory |
| **Connection String** | Connection String to Fact Tables database. In most cases to connect to SQL Server database it is enough to use a basic connection string that looks similar to:<br><br>Provider=SQL Client; Data Source= SQL Server host; Integrated Security= Security Package; Initial Catalog= database Name<br><br>where<br><br>'SQL Client'<br><br>The SQL Client Library. Usual value is: SQLNCLI.1<br><br><br><br>'SQL Server host'<br><br>The name or IP address of the server computer.<br><br><br><br>'Security Package'<br><br>Determines the security package to use during the session. Usual value is: SSPI<br><br><br><br>'Database Name'<br><br>The name of the database.<br><br>It is possible to modify the Connection String in exported model using Data Source properties and Connection Manager dialog. | STRING |  |  | Mandatory |
| **Database Export Mode** | Specifies the mode of Analysis Service (AS) database exporting.<br><br><br><br>'Create'<br><br>Creates a new AS database. If the database already exists, an error message is shown.<br><br><br><br>'Update'<br><br>Updates an existing AS database. If the database does not exist, an error message is shown.<br><br><br><br>'Override'<br><br>Overrides an existing AS database. If the database does not exist, the bridge creates new one. | ENUMERATED | <table><tr><td>Create</td></tr><tr><td>Update</td></tr><tr><td>Override</td></tr></table> | Create |  |

## Bridge Mapping

| **Meta Integration Repository (MIR)<br>Metamodel<br>(based on the OMG CWM standard)** | **"Microsoft SQL Server Analysis Services (SSAS) (Repository)"<br>Metamodel<br>MicrosoftSqlServerRepositoryAs** | **Mapping Comments** |
| --- | --- | --- |
|  |  |  |
| **AggregationRule** | **AggregateFunction** | **A string defined in the measure** |
| Rule | Value |  |
| **Cube** | **Cube** |  |
| Description | Description |  |
| Name | Name |  |
| NativeId | ID |  |
| PhysicalName | Name |  |
| **CubeDimensionAssociation** |  | **Defined by containment relationship between Cube and Dimension** |
| **Dimension** | **Dimension** |  |
| Description | Description |  |
| Hide | visible |  |
| Name | Name |  |
| NativeId | ID |  |
| NativeType | Type |  |
| PhysicalName | Name |  |
| **DimensionAttribute** | **DimensionAttribute** |  |
| Description | Description |  |
| Name | Name |  |
| NativeId | ID |  |
| PhysicalName | Name |  |
| **Hierarchy** | **Hierarchy** |  |
| Description | Description |  |
| Name | Name |  |
| NativeId | ID |  |
| PhysicalName | Name |  |
| **HierarchyLevelAssociation** |  | **Defined by containment relationship between hierarchy and level** |
| **Join** | **Relationship** | **Defined by DataSourceView** |
| Description | Description |  |
| Name | Name |  |
| NativeId | ID |  |
| Type | Type |  |
| **JoinRole** |  | **Defined by the relationship** |
| **Level** | **Level** |  |
| Description | Description |  |
| Name | Name |  |
| NativeId | ID |  |
| NativeType | Type |  |
| PhysicalName | Name |  |
| **LevelAssociation** |  | **Defined by the contiainment between Level and Attribute** |
| **LevelAttribute** | **DimensionAttribute** | **Contained by a Level** |
| Description | Description |  |
| Name | Name |  |
| NativeId | ID |  |
| Optional | Usage (Attribute) |  |
| PhysicalName | Name |  |
| **LevelKey** | **ValueColumn** |  |
| Description | Description |  |
| Name | Name |  |
| NativeId | ID |  |
| NativeType | Type |  |
| PhysicalName | Name |  |
| **Measure** | **Measure** |  |
| DefaultAggregation | AggregationString |  |
| Description | Description |  |
| Hide | visible |  |
| Name | Name |  |
| NativeId | ID |  |
| NativeType | Type |  |
| PhysicalName | Name |  |