Lac portfolio

Post on 22-May-2015

165 views 2 download

Tags:

Transcript of Lac portfolio

SQL Server 2008R2

Lezlee Coulterlezlee99@comcast.net

linkedin.com/pub/lezlee-coulter443-871-5557

Table of Contents

Introduction Why SetFocus?

Piggy BankDeveloping and Implementing a Sql Server Database for a Banking Institution

T-SQL QueriesSample T-SQL queries to include Merge, Recursice CTE’s, Pivot, Cross Apply

Mini-AdventureWorksImplentation of Database Development, SSIS packages & SSRS Reports

Putting It All TogetherBLOCK FLIX • Adhering to RDBMS core concepts through design and development of a

database for a movie rental company. • Import and export of data to and from central, store and kiosk databases

through SSIS. • Utilizing SSRS to create and distribute marketing & finance reports

Why SetFocus?

Drawn to the intense nature of the course work and the high caliber instruction, I came to SetFocus to start on a new career path. “I want to live and breathe SQL Server”, was my request. They did not disappoint. The eight-week SQL Master’s Program delivered real world application of the skills needed in today’s work force. From Normalization to Reporting, from Stored Procedures to Integration, SetFocus provided me with an invaluable education.

But who am I? That’s what you really want to know. I am a person who decided that life is too short not do something I want to do. I wanted to know how they pull up my balance at the bank or find my information when I swipe my card at the grocery store. And I wanted to be able to do it myself. That’s why I’m here. That’s why I chose this path.

I’ve included some samples of my work and I hope you enjoy them. Please feel free to contact me with any questions.

Lezlee Coulter

SQL Server Master’s Curriculum

RDBMS Concepts MS SQL Server 2008R2 T-SQL Implementing a Microsoft SQL Server

2008R2 Database Advanced SQL Querying and

Programming Microsoft SQL Server

2008R2 Integration Services Microsoft SQL Server 2008R2

Reporting Services

Piggy BankFollowing our RDBMS and T-SQL instruction, we

were given a banking scenario and data that the bank may want to utilize.

Normalize the data through Codd’s rules

Write Stored Procedures to create customers and accounts.

Write Stored Procedures to initialize and complete standard banking transactions.

Create Views to access ATM and statement balances and transaction history.

The Task:

PiggyBank ER DiagramForeign Key-Primary Key RelationshipsHandling the Many to Many Scenario

Transfer Funds

Create New Account

Cont’d

ViewsA Current Month Bank Statement

Utilizing Concatenation , Joins & Date Functions

T-SQL QueriesThe Merge Statement

New in 2008: Insert & Update in One

Merge Results

Taking advantage of Output $Actionto review the results of the Merge

T-SQL QueriesRecursive CTE’s

And again…

Recursive CTE Results

T-SQL QueriesApply

2005 feature that allows us to ‘apply’ the results of a UDF to all the rows in a table

The function

Apply with Results

T-SQL QueriesThe Pivot Statement

Mini-AdventureWorksWorking in BIDS

Create a small database using the AdventureWorks model

Build SSIS Packages to import data from flat files

Design and deploy SSRS Reports to Report Server

Create linked reports from multi-parameterized reports and make available through subscriptions

The Task:

SSISDynamic Import Products

Import Orders

Inserts into the Details & Header TablesA mail task to relay results

SSISImport Orders DataFlow

SSRS Stored Procedure for Required Report

Utilizes Cross Apply and Rank Function

SSRSReport Results from the Stored Procedure

SSRS Matrix Report

Block-FlixPutting It All Together

The Task:

A movie rental company needs a new database to function with store, kiosk & online rentals & sales

As a group, design and implement the database

Develop the necessary packages in SSIS to import inventory

Create reports for the finance & marketing departments

Present our work to management

Group RolesProject Lead: Lezlee CoulterDevelopers: James Vaughn

Theresa RiceIrina Zibermanas

Central Database

Store DataBa

se

Store DataBase

Store DataBase

KioskDatabase

KioskDatabase

KioskDatabase

KioskDatabase

KioskDatabase

KioskDatabaseKiosk

Database

KioskDatabase

OnlineStore

Database Structure

StoreDatabase

Store DataBase

All online transactionsMoviePurchases

Membership sign-up

Utilizes Central Database

Online Store

Central Database

ER-DiagramPrimary Key- Foreign Key Relationships

SSISInsert Existing Titles Into Inventory

Control Flow : Moves processed files to a new locationSend Tasks to relay success or failure

SSIS