Creating a Data Source (Basic Data Mining Tutorial)


Applies To: SQL Server 2016 Preview

A data source is a data connection that is saved and managed in your project and deployed to your Microsoft SQL Server Analysis Services database. The data source contains the names of the server and database where your source data resides, in addition to any other required connection properties.

System_CAPS_ICON_important.jpg Important

The name of the database is AdventureWorksDW2012. If you have not already installed this database, see the Microsoft SQL Sample Databases page.

To create a data source

  1. In Solution Explorer, right-click the Data Sources folder and select New Data Source.

  2. On the Welcome to the Data Source Wizard page, click Next.

  3. On the Select how to define the connection page, click New to add a connection to the AdventureWorksDW2012 database.

  4. In the Provider list in Connection Manager, select Native OLE DB\SQL Server Native Client 11.0.

  5. In the Server name box, type or select the name of the server on which you installed AdventureWorksDW2012.

    For example, type localhost if the database is hosted on the local server.

  6. In the Log onto the server group, select Use Windows Authentication.

    System_CAPS_ICON_important.jpg Important

    Whenever possible, implementers should use Windows Authentication, as it provides a more secure authentication method than SQL Server Authentication. However, SQL Server Authentication is provided for backward compatibility. For more information about authentication methods, see Database Engine Configuration - Server Configuration.

  7. In the Select or enter a database name list, select AdventureWorksDW2012 and then click OK.

  8. Click Next.

  9. On the Impersonation Information page, click Use the service account, and then click Next.

    On the Completing the Wizard page, notice that, by default, the data source is named Adventure Works DW 2012.

  10. Click Finish.

    The new data source, Adventure Works DW 2012, appears in the Data Sources folder in Solution Explorer.

Creating a Data Source View (Basic Data Mining Tutorial)

Creating an Analysis Services Project (Basic Data Mining Tutorial)

Create a Data Source (SSAS Multidimensional)
Defining a Data Source
Set Impersonation Options (SSAS - Multidimensional)