jessica herndon sql portfolio

42
SQL Server 2008 R2 Portfolio JESSICA HERNDON Phone: (732) 996-2186 Email: [email protected] Resume: LinkedIn

Upload: jessicalherndon

Post on 20-Jun-2015

543 views

Category:

Documents


0 download

DESCRIPTION

SQL Server 2008, SSIS, SSRS

TRANSCRIPT

Page 1: Jessica Herndon Sql Portfolio

SQL Server 2008 R2 PortfolioJESSICA HERNDON

Phone: (732) 996-2186Email: [email protected]: LinkedIn

Page 2: Jessica Herndon Sql Portfolio

TABLE OF CONTENTSIntroduction………………... 3

JungleBooks………………. 4

Library……………………… 7

PiggyBank…………………. 10

MiniAdventureWorks2008.. 26

BlockFlix…………………… 33

About Me…………………... 42

Page 3: Jessica Herndon Sql Portfolio

INTRODUCTIONThe following portfolio contains examples of my development skills in MS SQL Server 2008 R2. It is a direct result of my work during a 9-week hands-on involvement with the SetFocus SQL Master’s Program.

SetFocus utilizes Microsoft Official Curriculum in conjunction with its own materials to produce some of the following coursework:

Querying using Transact SQL

Implementing and maintaining a MS SQL Server 2008 R2 Database

Designing an MS SQL Server 2008 R2 Infrastructure

Designing Security for MS SQL Server 2008 R2

Designing High Level Availability Database Solutions using MS SQL Server 2008 R2

Troubleshooting and Optimizing Database Servers using MS SQL Server 2008 R2

SQL Server 2008 R2 Integration Services

SQL Server 2008 R2 Reporting Services

In addition to the coursework and programming labs, the program included challenging real-world projects where I have applied the skills practiced in class.

Page 4: Jessica Herndon Sql Portfolio

JUNGLEBOOKS PROJECT JungleBooks is a book company which has a database consisting of Books, Authors, Orders and Customers. A database diagram is given and the database is created according to the diagram.

It is assumed, we are working with an application programmer who is building a client application using the .NET environment. We are asked to create queries for different forms of the application.

Page 5: Jessica Herndon Sql Portfolio

JUNGLEBOOKS SEARCH FOR AUTHORSFor example, The ‘Search for Authors’ form allows a user to search for Authors with a last name starting with a particular letter. The user inputs ‘B’ in the txtLastName form field we are asked to return ID, and Name. Making the assumption compound names are hyphenated (i.e. Billy-Bob Hicks).

Page 6: Jessica Herndon Sql Portfolio

JUNGLEBOOKS LARGE ORDERS PAGEThe Large Orders page is a report displaying the largest number of items sold per order. Display the Order ID, Customer ID and Name along with the total number of items they ordered. Display the record with the largest quantity first. Alias as ‘Order ID’, ‘Cust ID’, ‘Customer’ and ‘# of Items’.

Page 7: Jessica Herndon Sql Portfolio

LIBRARY PROJECTThe Library Database was created to support the principal functions of a library’s daily operations. Create SQL Scripts using Union, Case Statements, Temporary Tables and Aggregates according to the diagram.

Page 8: Jessica Herndon Sql Portfolio

LIBRARY GET ADULT/JUVENILE RESERVATIONS IThis query uses a Union to combine the results of Adults and Juveniles who have reserved ISBN 288.

Page 9: Jessica Herndon Sql Portfolio

LIBRARY GET ADULT/JUVENILE RESERVATIONS IIThis query returns the same result set as the previous slide using a Case Statement instead of a Union.

Page 10: Jessica Herndon Sql Portfolio

PIGGY BANK PROJECTThe Piggy Bank Database simulates bank operations such as Overdraft Accounts, Customer and Account relationships and Transactions.

Create a Normalized Database.

Create Tables with Primary Keys, Foreign Keys, Identity Columns, Check Constraints, Un-clustered Indexes, Triggers preventing deletion/modification of data.

Create Stored Procedures with parameter validation and error handling using Begin Try / End Try, Begin Catch / End Catch.

Create User Defined Data Types, Functions and Views.

Page 11: Jessica Herndon Sql Portfolio

PIGGY BANK ENTITY RELATIONSHIP DIAGRAM

Page 12: Jessica Herndon Sql Portfolio

PIGGY BANK CREATE A WITHDRAWAL / CHECK / PURCHASE STORED PROCEDURE

Withdrawal – Purchase and Transfer actions prevent negative balance that exceeds 0, $400 for general overdraft, or that of 0 for accounts with an overdraft account. Apply fees immediately against remaining overdraft amount (fees are automatic even if it causes a negative balance, or one that exceeds overdraft limits).

Page 13: Jessica Herndon Sql Portfolio

PIGGY BANK CREATE A WITHDRAWAL / CHECK / PURCHASE STORED PROCEDURE continued

Page 14: Jessica Herndon Sql Portfolio

PIGGY BANK CREATE A WITHDRAWAL / CHECK / PURCHASE STORED PROCEDURE continued

Page 15: Jessica Herndon Sql Portfolio

PIGGY BANK CREATE A WITHDRAWAL / CHECK / PURCHASE STORED PROCEDURE continued

Page 16: Jessica Herndon Sql Portfolio

PIGGY BANK CREATE A WITHDRAWAL / CHECK / PURCHASE STORED PROCEDURE continued

Page 17: Jessica Herndon Sql Portfolio

PIGGY BANK CREATE A WITHDRAWAL / CHECK / PURCHASE STORED PROCEDURE continued

Page 18: Jessica Herndon Sql Portfolio

PIGGY BANK CREATE A WITHDRAWAL / CHECK / PURCHASE STORED PROCEDURE continued

Page 19: Jessica Herndon Sql Portfolio

PIGGY BANK CREATE A WITHDRAWAL / CHECK / PURCHASE STORED PROCEDURE continued

Page 20: Jessica Herndon Sql Portfolio

PIGGY BANK CREATE A WITHDRAWAL / CHECK / PURCHASE STORED PROCEDURE continued

Page 21: Jessica Herndon Sql Portfolio

PIGGY BANK CREATE A WITHDRAWAL / CHECK / PURCHASE STORED PROCEDURE continued

Page 22: Jessica Herndon Sql Portfolio

PIGGY BANK CREATE A WITHDRAWAL / CHECK / PURCHASE STORED PROCEDURE continued

Page 23: Jessica Herndon Sql Portfolio

PIGGY BANK CREATE A WITHDRAWAL / CHECK / PURCHASE STORED PROCEDURE continued

Page 24: Jessica Herndon Sql Portfolio

PIGGY BANK CREATE A VIEW CUSTOMER ACCOUNT HISTORY BY MONTH

Customer Account History for any month (full month) – pass in month year and account id.

Page 25: Jessica Herndon Sql Portfolio

TRANSACTION TABLE DELETE TRIGGERTo protect the integrity of the Transaction Table an after delete Trigger was created to prevent deletions to the table, by rolling back the transaction

Page 26: Jessica Herndon Sql Portfolio

MINIADVENTUREWORKS2008 R2 PROJECTThe MiniAdventureWorks2008 project allowed us to work with SQL Server Integration Services (SSIS) and SQL Server Reporting Services (SSRS).

The company Mini-AD (short for Mini-AdventureWorks) is interested in taking historical spreadsheet (CSV) data for their list of products, vendors, and purchase order history, and loading the data into a SQL Server database.

Mini-AD wants the load process to work on a go-forward basis, so that new / modified products/vendors/orders can be loaded in SQL Server as well

Mini-AD’s load process for orders should validate that any incoming orders with product numbers or vendor numbers that do not match an existing product/vendor number should NOT be written to the SQL Server database. Instead, this data should be written to an exception file and emailed.

Mini-AD also wishes to build two reports : one for top vendor and product sales, and the second for sales by vendor and ship method across years.

Page 27: Jessica Herndon Sql Portfolio

SSIS PROCESS IMPORT ORDERS DATAImport the contents of each .csv file (base name PODATA_*.csv) into the PurchaseOrderHeader and

PurchaseOrderDetail tables in the MiniAdventureWorksDB.

Page 28: Jessica Herndon Sql Portfolio

SSIS DATA FLOW PROCESS PURCHASE ORDER HEADER

Page 29: Jessica Herndon Sql Portfolio

SSIS DATA FLOWPROCESS PURCHASE ORDER DETAIL

Page 30: Jessica Herndon Sql Portfolio

SSRS REPORT VENDOR SALES BY YEAR DESIGNThis report uses two Data Sets. MiniAdventureWorks and dsShipMethod . DsShipMethod is used to create a parameter drop down list box.

Page 31: Jessica Herndon Sql Portfolio

SSRS REPORT VENDOR SALES BY YEAR Vendor Sales by Year Results showing ZY – Express selected from the drop down list box

with annotations for Parameter chosen, Page X of Y, Date Run and Run By.

Page 32: Jessica Herndon Sql Portfolio

SSRS REPORT TOP VENDOR / PRODUCT SALESTop Vendor / Product Sales Report has user to select date range parameters, number of vendors and number of products, will Rank Product within Ranked Vendors. Report shown is for 10/1/2001 thru 10//01/2004 for top 2 vendors and top 2 products.

Page 33: Jessica Herndon Sql Portfolio

Jessica Herndon - NJ

Martin Johnson - VA

Dennis Schmid - GA

BLOCKFLIX TEAM PROJECT

Page 34: Jessica Herndon Sql Portfolio

BLOCKFLIX A TEAM PROJECT REQUIREMENTS

Blockflix is a new and upcoming Movie rental company.

They have opened a few stores nationwide and are in the process of creating a centralized database for tracking inventory, sales, customers and memberships.

They have purchased SQL Server 2008 and need a new database created.

The database will be used to track inventory of movies, customers and their membership types, and payments by customers.

A new website will be created that uses the database to allow customers to rent movies online. This Web site requires the database to be completely functional. All access to the database must be restricted through stored procedures.

Page 35: Jessica Herndon Sql Portfolio

DEVELOPMENT TASKS

Design Database

Create Test Data to ensure programmability and error free environment

Create XML File format to receive data from purchasing department

Create Stored Procedures for processing and lookups

Create SSRS Packages

Create SSIS Packages

Page 36: Jessica Herndon Sql Portfolio

CREATE THE XML FILE FORMAT SAMPLE

Page 37: Jessica Herndon Sql Portfolio

CREATE STORED PROCEDURES Example of the Add Movie Inventory

Page 38: Jessica Herndon Sql Portfolio

CREATE STORED PROCEDURES continued

Page 39: Jessica Herndon Sql Portfolio

CREATE STORED PROCEDURES continued

Page 40: Jessica Herndon Sql Portfolio

SSIS LOAD INVENTORY / TALENT

Page 41: Jessica Herndon Sql Portfolio

SSRS LOST / DAMAGED MOVIES REPORT

Page 42: Jessica Herndon Sql Portfolio

ABOUT MEI am a software developer with over 12 years of experience. I have previously programmed in

VB SCRIPT, VB 6.0, VB.NET, C#.NET, SQL SERVER 7.0 and INFORMIX. I have used the VISIO API, Netviz API, Adobe Photoshop, Illustrator, Dreamweaver and several 3 rd party tools.

My employment history has included, Investment firms, A Card Marketing Company, A Software Vendor, the US Government Department of the Army, Security Clearance - Secret. I have owned and managed a Medical Spa business for several years.

After owning my own Medical Spa business for 7 years an opportunity came along to sell. I am assisting the new owner as necessary while they become familiar with the business.

I was then hired to work on a back-office conversion project with Hudson Securities After completing the project I attended Brookdale Community College and completed a certificate course for Electronic Health Records.

Finding it difficult to find a position in the EHR field, I decided to attend the SetFocus SQL Server 2008 R2 Masters Program to update and improve my skills in SQL Server.

I am currently seeking a Database Developer / Administrator position where I can use the skills I have developed during my previous work experience and the new skills I have learned while attending SetFocus.