Introduction to SQL Server 2000 Analysis Services: Handling Time Dimensions - Page 3September 19, 2002
To begin the steps of
the lesson, we will create a new database/data source for the FoodMart
2000 database. While many of us may have already set the
database up from the previous lesson, we will perform setup again quickly
for the benefit of anyone who has not. We will call the database the same
name as we used in the previous lesson, so if we already have a database with
the same name, and we perhaps want to recreate it for review purposes, we'll
need to either delete the existing database or simply call the new database
something else. As we
learned in Lesson One,
the OLAP
database we create will organize cubes, roles, data sources, shared dimensions,
and other objects that we will cover in this and later lessons, in addition to
the objects that we are currently using. We will call our OLAP database MyCube2
(be careful here -- you cannot rename a database in the Analysis
Services console once it is created), setting it up initially by
right-clicking on the Server we see at the left of the console. Keep in
mind that, among other objects, the database can contain multiple cubes, each
with a single data source. In addition to setting up our database, we will
link a data source to our database before we start to construct our
cube.
Illustration 1: Right-Click on the Analysis Server
Illustration 2: The Database Dialog Box
Note that MyCube2 appears in the left-side tree, complete with predefined, empty folders for object storage later, as shown in Illustration 3 below.
Illustration 3: The New Database with Directory Structure
Illustration 4: The Data Link Properties Dialog -- Provider Tab
FoodMart 2000.mdb is located, by default, in the [Install Directory]:\Program Files\Microsoft Analysis Services\Samples director; Click on the ellipses (...) button, to navigate to the .mdb as shown in Illustration 5 below.
Illustration 5: Selecting the FoodMart 2000 Database
Illustration 6: The Data Link Properties Dialog -- Connection Tab
Page 4: Preparation for Creating a Dimension (Continued)
|