0% found this document useful (0 votes)
96 views1 page

DTS Lab F Implementing SQL Solutions

This document provides instructions for loading data into the sales_fact table in the polaris database using SQL Server DTS packages. It outlines resetting the database, restoring DTS packages, executing the sales_fact package to load the table, and verifying the load by running a query to check that 2155 records were inserted into the sales_fact table.

Uploaded by

jbascribd
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
96 views1 page

DTS Lab F Implementing SQL Solutions

This document provides instructions for loading data into the sales_fact table in the polaris database using SQL Server DTS packages. It outlines resetting the database, restoring DTS packages, executing the sales_fact package to load the table, and verifying the load by running a query to check that 2155 records were inserted into the sales_fact table.

Uploaded by

jbascribd
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Lab F: Implementing SQL Solutions

DTS Lab F: Implementing SQL Solutions


Sales_fact is the fact table in the sales star containing sales data by customer,
order date, and product.
In this lab, you will

Reset the polaris database

Restore DTS packages in preparation for loading the fact table.

Load the sales fact table.

If you have trouble completing the lab, please refer to the answer file at
C:\BITechnicalTraining\DTS\AnswerFiles\Lab F sales_fact.dts.

Exercise 1
Loading Sales_fact
To restore the polaris database and reset DTS packages
.1 Ensure that Enterprise Manager and Query Analyzer are not open.
.2 Click Start, click Run, and then click Browse.
.3 Browse to the C:\BITechnicalTraining\DTS\FactTableRestore.cmd file,
click Open, and then click OK.

To open and execute the Sales_fact package


.1 In Enterprise Manager, double-click Data Transformation Services, and
then click Local Packages.
.2 Double-click the sales_fact package.
.3 Click the Execute play button on the toolbar, or click the Package menu,
and then click Execute.
.4 Click OK, click Done, and then close DTS Package Designer.

To verify package results


.1 Click Start, point to Programs, point to Microsoft SQL Server, and then
click Query Analyzer.
.2 In the Connect to SQL Server dialog box, click OK.
.3 Go to the database list in the toolbar and click polaris.
.4 Type the following query:
SELECT * FROM sales_fact

.5 Click the Execute Query play button on the toolbar.


.6 Review data results. You should have 2155 records in the sales_fact table.

APAC BI Technical Training

You might also like