110
Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017 1 PRACTICAL NO. 01 AIM :- Installation of Oracle 11g Release 2 SOFTWARE :- Oracle 11g Release 2 PROCEDURE :- In this Practical we will install Oracle 11g Release 2. STEPS :- Click on Oracle 11g Release 2 setup Then it will ask for email ID & Password Skip this step Click on Next Button The whole installation process will take nine steps as given in following screen shots.

Data warehousing PRACTICAL (Sem - VI)

Embed Size (px)

Citation preview

Page 1: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

1

PRACTICAL NO. – 01

AIM :- Installation of Oracle 11g Release 2

SOFTWARE :- Oracle 11g Release 2

PROCEDURE :- In this Practical we will install Oracle 11g Release 2.

STEPS :- Click on Oracle 11g Release 2 setup

Then it will ask for email ID & Password

Skip this step Click on Next Button The whole installation process will take nine steps as given in following screen shots.

Page 2: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

2

Page 3: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

3

Page 4: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

4

Page 5: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

5

Page 6: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

6

Page 7: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

7

PRACTICAL NO. – 02

AIM :- Show the Configuration of Listener

SOFTWARE :- Oracle 11g Release 2

PROCEDURE :- In this Practical we will configure the Listener.

STEPS :- Run the Net Configuration Assistance as shown in below Fig to

Configure the Listener & Then follow the below screen shots to

Create Listener named as MY_LISTENER_01.

Page 8: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

8

Page 9: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

9

Page 10: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

10

Page 11: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

11

Page 12: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

12

Page 13: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

13

PRACTICAL NO. – 03

AIM :- Show the Creation of Database

SOFTWARE :- Oracle 11g Release 2

PROCEDURE :- In this Practical we will Create the New Database.

STEPS :- Run the Database Configuration Assistance as shown in below Fig to

Create the Database & Then follow the below screen shots to create

Database named as Satyendra.

Page 14: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

14

Page 15: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

15

Page 16: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

16

For Ease of Access enter a common password for all Account(123456789)

Page 17: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

17

Page 18: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

18

Page 19: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

19

Page 20: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

20

Page 21: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

21

During the installation we will be prompted with following popup with various information.

Click on Password Management button to unlock OWBSYS Schema.

Page 22: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

22

In Password Management window just uncheck the blue tick beside the OWBSYS and

enter the password (123456789) And then click on OK

Page 23: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

23

PRACTICAL NO. – 04

AIM :- Show the Workspace And Repository Configuration

SOFTWARE :- Oracle 11g Release 2

PROCEDURE :- In this Practical we will Configuration Workspace And repository.

STEPS :- Click on the Repository Assistant as shown in the below Screen Shot.

The Repository Assistant enables to create a Warehouse Builder Design

Repository in your database to store the metadata definitions that describe

your sources, targets, and ETL processes.

Page 24: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

24

Page 25: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

25

Page 26: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

26

Enter Password for “SYSTEM” (123456789)

Page 27: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

27

Page 28: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

28

Page 29: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

29

Page 30: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

30

Page 31: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

31

PRACTICAL NO. – 05

AIM :- Creation of Non-Oracle Module (SQL Server)

SOFTWARE :- Oracle 11g Release 2, SQL Server

PROCEDURE :- In this Practical we will create Non-Oracle module using SQL Server .

STEPS :- Open SQL Server 2008 Then the new window will prompt

After that provide the server name if not given (.\SQLExpress)

OR else simply press connect.

Now create New Database & Login ID as follows

Page 32: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

32

Provide Database Name Then press OK

Now create New Login

Go to SecurityRight click on LoginsNew Login

Page 33: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

33

Provide Login name Select SQL server Authentication &

Provide PasswordThen select Enforce password policy

After that Select Default Database(i.e.Satyendra)

Then go to User MappingSelect your Databasepress OK

Page 34: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

34

Now go to Control Panel Select Administrative Tool

After that select ODBC Data Source

Go to System DSN click on Add

Then select SQL Server & Finish

Page 35: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

35

After that provide Data Source Name & Select your Server Next

Now provide Your SQL Server Login ID & Password Next

Then Select your Database as default Database Next FinishOK

Page 36: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

36

Page 37: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

37

Now Go to Design Center Login with your corresponding Account

Now Select your PROJECT Database Non-Oracle ODBCNew

Page 38: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

38

Click on Edit Provide your Username & Password OK

Page 39: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

39

Page 40: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

40

Page 41: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

41

PRACTICAL NO. – 06

AIM :- Creation of Oracle Source User & Source Module.

SOFTWARE :- Oracle 11g Release 2

PROCEDURE :- In this practical we will create a Source User & Source Module.

STEPS :- To Create Source User first Open SQL Plus & follow the steps

First provide Username as system

Then provide the password which was given at the time of creating

Repository Assistance

After that Create Source User by “create user S_user” command

Where S_user is the Source Name

Now provide the Password as “identified by Suser;” where Suser

Is the password for Source User

After creating User provide permission to the user by below command

“grant connect,resource to S_user; “

Now connect to Source by entering your Source Username &

Password as “connect S_user;” & " Suser"respectively

Page 42: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

42

Click On Design Center to create Source Module

Now login with your respective account

Provide the User Name which is same as your Workspace User Name

And provide the same Password which is used in Database

Provide your LOCALHOST name.

Provide the Service Name which is same as your Database Name

Then press OK

Now create the Source Module

Page 43: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

43

Follow the below steps shown in diagram

Provide the name of Source Module & Select Data Source Then Press Next

Page 44: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

44

Now click on Edit

Now provide the User Name i.e Source User Name & It’s Password

Provide Service Name which is given at the time of database creation.

After that click on “Test Connection” if It’s “Successful” then click OK

Page 45: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

45

Click on Next & then Finish

Source Module

Page 46: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

46

Page 47: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

47

PRACTICAL NO. – 07

AIM :- Creation of Oracle Target User & Target Module.

SOFTWARE :- Oracle 11g Release 2

PROCEDURE :- In this practical we will create a Target User & Target Module.

STEPS :- To Create Target User First open Design Center

Now login with your respective account

Provide the User Name which is same as your Workspace User Name

And provide the same Password which is used in Database

Provide your LOCALHOST name.

Provide the Service Name which is same as your Database Name

Then press OK

Now double click on Security

Then right click on User

Click on New

Page 48: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

48

Click On “Create DB User”

Provide DBA Name as “System”& it’s Password

After that provide Target User Name & Password

Page 49: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

49

Now select your Target user from DB user if it’s not selected

& Then press OK

As we can see the Target user is created

Page 50: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

50

Now create “ TARGET MODULE ”

Page 51: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

51

Provide the name of Source Module & Select Warehouse Target Press Next

Page 52: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

52

Now click on Edit Button

Now provide the User Name i.e Target User Name & It’s Password

Provide Service Name which is given at the time of database creation.

After that click on “Test Connection” if It’s “Successful” then click OK

Click on Next & Then Finish

Page 53: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

53

PRACTICAL NO. – 08

AIM :- Importing data from Oracle & creation of Flat File & Metadata.

SOFTWARE :- Oracle 11g Release 2

PROCEDURE :- In this practical we will create a Flat file & Meta data.

STEPS :- Create Notpad File OR Excel File as Follows

Username,Area,Contact_No

Satyendra,Ghatkopar,123456789

Shiva,Kamraj,789456123

Anand,Chembur,987654321

Roshan,Kurla,654987321

Sarvesh,Sion,023165478

Ravi,Dadar,5698321474

Save the file with .CSV (Comma Seperated Value)extension

Page 54: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

54

Click On Design Center to create Source Module

Now login with your respective account

Provide the User Name which is same as your Workspace User Name

And provide the same Password which is used in Database

Provide your LOCALHOST name.

Provide the Service Name which is same as your Database Name

Then press OK

Page 55: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

55

Creation Of Flat File Module

Right click on File Go to New

Then Next Provide Name to the Mapping File

Page 56: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

56

Now click on Edit Button

Page 57: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

57

Click on Browse button ,Then select the location of your file

Press OK Then Next Finish

Page 58: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

58

Import Flat File to Create Meta Data

Click on File Right click on your Flat File Module Select Import

Page 59: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

59

Now Select Your Flat File Next

Page 60: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

60

Click on sample to see your Metadata

Page 61: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

61

Page 62: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

62

Page 63: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

63

Page 64: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

64

Page 65: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

65

Page 66: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

66

Page 67: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

67

PRACTICAL NO. – 09

AIM :- Using a Target Structure Create a Dimension & Cube

SOFTWARE :- Oracle 11g release2

PROCEDURE :-In this practical we will add table in Source Module & Target Module

Using which we can create Dimension & Cube

STEPS :- Click On Design Center to create Source Module

Now login with your respective account

Provide the User Name which is same as your Workspace User Name

And provide the same Password which is used in Database

Provide your LOCALHOST name.

Provide the Service Name which is same as your Database Name

Then press OK

Now create Source Module & Target Module

Then add Table in both the Module as follows

Page 68: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

68

After creating Source Module double click on Module

Go to Table Right click New

There are Three table in Source Module which is to be added

PRODUCT TABLE STORE TABLE SALES TABLE

Page 69: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

69

Provide the name of the Table as PRODUCT Then go to column & provide

ATTRIBUTE i.e column name Save

For adding two more tables Go to Palette Relational Drag the table from it

After the below window will appear Select create new table Provide name to the table

STORE Then press OK After that add columns

Page 70: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

70

Page 71: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

71

Now add another table named as SALES Repeat the same

Process as above for creating New Table CTRL + S (save) Close the window

CREATING DIMENSION USING TARGET STRUCTURE (MODULE)

Go to Target Module & Create 3 dimensions (Time,Product & Store Dimensions)

Also create a Cube named as Sales_Cube Follow the below steps

First of all Create Time Dimension (T_ModuleDimensions New Using Time Wizard )

Page 72: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

72

Page 73: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

73

Page 74: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

74

Select all the Check Boxes under Normal Hierarchy

Page 75: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

75

After creating Time Dimension Create “Product Dimension”(select using wizard)

As follows

Page 76: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

76

Page 77: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

77

After that add some Attribute i.e.

(PRODUCT_STOCK_PER_UNIT (Make it Business Identifier) , PRODUCT_PRICE)

Page 78: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

78

Now add some levels in PRODUCT_DIM (Department,Category,Product)

Check all the Check Boxes

Page 79: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

79

Page 80: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

80

Page 81: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

81

Using same process create “Store Dimension”

Page 82: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

82

After that add some Attribute i.e.(STORE_NUMBER & STORE_ADDRESS)

Page 83: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

83

Now add some levels in STORE_DIM (STOCK,CITY,STORE_NAME)

Check all the Check Boxes

Page 84: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

84

Page 85: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

85

Page 86: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

86

Dimensions are ready Now create the “CUBE”

In Terget Module Right click on Cube New Using wizard

Page 87: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

87

Page 88: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

88

Now select all the Dimensions from Source Module

Page 89: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

89

After that add some Attributes(SALES_QUANTITY , SALES AMOUNT)

Page 90: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

90

Double Click On "SALES_CUBE"

FINAL OUTPUT

Page 91: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

91

PRACTICAL NO. – 10

AIM :- Creation of Stage Mapping using Mapping editor

SOFTWARE :- Oracle 11g release2

PROCEDURE :-In this practical we will perform mapping on given table

STEPS :- First of all Open Design Center & Login to your corresponding account

After that create Source User And Source Module If it is not created.

Same for Target User and Module

Now add some tables in Source Module as follows

(PRODUCT,STORE,TRANSACTION)

In Target Module add one Table i.e.( TARGET)

Now Go to Target Module And Follow the Steps

Page 92: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

92

Now Go to Oracle on the left side Select your Source Module

In that Drag and Drop all the Source Tables

Now repeat the same process for Target Module Drop your Target table

Page 93: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

93

Now for joining these two tables we require “JOINER”

Just Go to Palette Select JOINER Drag & Drop

Page 94: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

94

Now we have 3 Source Table which is to be join with 1 Target Table

Therefore we require 3 INGROUP and 1 OUTGROUP

First of all double click on INGROUP Then Go to Group

And click on add button to add 3rd

INGROUP

After that provide Name to each INGROUP for proper understanding

& Then simply follow the steps

Now simply drag the arrow from Product Table to Joiner (Product) for connection

Same for Store Table and Transaction Table

Page 95: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

95

After that Connect OUTGROUP of joiner to Target Table

FINAL OUTPUT USING JOINER

Now we have to use the “AGGREGATOR”

Drop the Aggrrgator from palette ,again connect the OUTGROUP of

Joiner to the INGROUP of AGGREGATOR

Page 96: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

96

Now go to the Aggregator property on the left side

Then select Group By Clause

Except ‘ID’ i.e. Product_ID & Store_ID Add all the columns

By simply double click & each column must be separated with comma

After that click on Validate to check whether entered ‘Clause’ is properly validated or not

If it’s properly validated then it will shows the ‘Validation Successful ’ messageOK

After that Double click on OUTGROUP of Aggregator Go to Output Attributes

Then add Sales_Quantity and Sales_Amount If it is not present Then press OK

Page 97: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

97

After that connect Outgroup of Aggregator to the Ingroup of Target Table

One To One Mapping for each field apart from ID which is not present

FINAL OUTPUT USING AGGREGATOR

Page 98: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

98

Page 99: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

99

PRACTICAL NO. – 11

AIM :- Import the data from (SQL SERVER) & Create Pivot Chart & Pivot Table.

SOFTWARE :- SQL Server 2008,Microsoft Excel

PROCEDURE :-In this practical we will create a table in SQL Server using which we create

Pivot Table and Pivot Chart

STEPS :- Open SQL Server 2008 Then the new window will prompted

After that provide the server name if not given (.\SQLExpress)

OR else simply press connect. Then click on New Query

Page 100: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

100

Now create the database by using (create database Satyendradb) command where

‘Satyendradb’ is the database name & Then Execute the command.

After that ‘use’ the database by using(use satyendradb) command

& Then Execute the command

Now create the One Sample table named as Student_Data to make pivot chart and pivot Table

Page 101: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

101

Now display the inserted table data by executing the command

Select * from Student_Data

Open Microsoft Excel

Then go to Data From Other source From SQL Server

After that new window will prompted

Provide Server name which is given initially in SQL server at the time on connection

Page 102: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

102

Now select the Database which was created in SQL Server 2008

Now follow the Steps given below

Select check box

Page 103: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

103

Page 104: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

104

Select a table or range option ,which will open the selection option

Select the Data from Existing table by dragging the mouse over table to create pivot table

Page 105: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

105

Now Select Existing worksheet option

To Drop the table & then press OK

Page 106: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

106

FINAL OUTPUT :- PIVOT TABLE

Repeat the same process for PIVOT CHART (Select Pivot chart instead of Pivot Table)

Page 107: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

107

PRACTICAL NO. – 12

AIM :- Create table in Excel & Create Pivot Chart & Pivot Table.

SOFTWARE :-Microsoft Excel

PROCEDURE :-In this practical we are creating a table in Excel using which we create

Pivot Table and Pivot Chart

STEPS :- Open Microsoft Excel Then create new table & Insert some records

After that Go to Insert tab & click on Pivot Table

Page 108: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

108

Select a table or range option ,which will open the selection option,

Click on button (shown In round circle)

Select the Data from Existing table by dragging the mouse over table to create pivot table

Page 109: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

109

Now Select Existing worksheet option

To Drop the table by clicking on location tab button &

Drag the mouse where we want to display the table

then press OK

Page 110: Data warehousing PRACTICAL (Sem - VI)

Satyendra.Y Singh Data Warehousing (USIT603) 2016 -2017

110

FINAL OUTPUT :- PIVOT TABLE

Repeat the same process for Pivot Chart (Select Pivot chart instead of Pivot Table)

FINAL OUTPUT :- PIVOT CHART