Database Journal
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Tips Database Forum Rss Feed

» Database Journal Home
» Database Articles
» Database Tutorials
MS Access
SQL Scripts & Samples
» Database Forum
» Slideshows
Free Newsletters:

News Via RSS Feed

Rss Feed

Database Journal |DBA Support |SQLCourse |SQLCourse2

Featured Database Articles


Posted Aug 25, 2003

Introduction to MSSQL Server 2000 Analysis Services: Build a Web Site Traffic Analysis Cube: Part II - Page 3

By William Pearson

  1. Select / type in the appropriate Server name in Box 1.
  2. Make the appropriate selection, and enter any authentication information required by your local environment, to log on to the server in Box 2.
  3. Click the Allow Saving Password checkbox, to check it for this exercise.
  4. Select the WebTrafficAnalysis_DB database in Box 3.

The Data Link Properties Dialog - Connection Tab appears similar to that shown in Illustration 5, except for the environmental differences we have noted.

Illustration 5: The Data Link Properties Dialog - Connection Tab

  1. Click the Test Connection button in the bottom right hand corner of the Connection tab.

We should get a verification dialog confirming that the source has been established in our definition (as depicted in Illustration 6).

Illustration 6: Verification of the Connection to the FoodMart 2000 Database

  1. Click OK, and the Microsoft Data Link verification dialog box closes.

We will leave all the other Data Link Properties at their default setpoints for now.

  1. Click the OK button on the Data Link Properties dialog.

The Data Link Properties dialog closes, and a Security Warning dialog appears, as shown in Illustration 7.

Illustration 7: Security Warning Dialog

For purposes of this lesson, we will overlook the warning and proceed. Keep in mind that most real-world environments would likely not allow for the luxury of this flexibility, and to take steps to secure any embedded passwords, etc., as appropriate.

  1. Click the OK button on the Security Warning dialog.

The Security Warning dialog closes.

  1. Expand the Data Sources folder, within which we have created the source, if necessary.

We can see that the new source appears under the Data Sources folder in the tree area, again on the left side of the Analysis Manager Console. The data source displays the actual file name, a composite of the server and database names, and as shown in Illustration 8.

Illustration 8: Initial Tree View of Our Newly Created Data Source

Let's rename the file to be a bit more concise.

  1. Right-click the new data source.
  2. Click Copy.
  3. Right-click the Data Sources folder.
  4. Select Paste from the context menu that appears.

This causes Analysis Services to indicate that a duplicate has been detected, and to prompt us for a unique name. We will respond to the new name request with WebTrafficSource, using the dialog box that appears (as shown in Illustration 9).

Illustration 9: Changing the Name of the Duplicated Data Source as a Means of Renaming

  1. Type WebTrafficSource into the Name box of the Duplicate Name dialog.
  2. Click OK to close the Duplicate Name dialog.

Once we click OK, the Duplicate Name dialog disappears, and the newly named data source appears under the Data Sources folder. All that remains is to delete the original data source, from which we cloned WebTrafficSource.

  1. Right-click the original data source.
  2. Select Delete on the context menu that appears.
  3. Click the Yes button, to confirm the deletion.

Our tree should now resemble that shown in Illustration 10.

Illustration 10: WebTrafficSource Appears in the Tree

In Lesson One, as well as in other lessons, we used the Cube Wizard, together with the specialized "sub-wizards" (including the Dimension Wizard), as called by the Cube Wizard, to rapidly create a simple cube to explore the various aspects and steps of the process from a relatively high level. In this lesson, we will create a simple cube from the table we created in our last lesson, using the DTS package we created to perform extraction, transformation and load of the original data source, the sample Server Access Log.

Our preparation for the lesson is complete. We now have an Analysis Services database in place, linked to a valid data source (the WebTrafficAnalysis_DB database, containing the ServerAccessLog table, created via the DTS package in our last lesson). Next, we will initialize the Cube Editor, and begin creating our cube.

MS SQL Archives

Latest Forum Threads
MS SQL Forum
Topic By Replies Updated
SQL 2005: SSIS: Error using SQL Server credentials poverty 3 August 17th, 07:43 AM
Need help changing table contents nkawtg 1 August 17th, 03:02 AM
SQL Server Memory confifuration bhosalenarayan 2 August 14th, 05:33 AM
SQL Server Primary Key and a Unique Key katty.jonh 2 July 25th, 10:36 AM