SlideShare ist ein Scribd-Unternehmen logo
1 von 49
1
Email: mitschmid@hotmail.com
http://www.linkedin.com/in/dennisschmid
2
 Introduction
T-SQL Curriculum
Piggy Bank Project
Mini Adventure Works Project
BlockFlix Project
3
The SetFocus SQL Master’s Program is an intensive,
hands-on, project oriented program where participants
gain knowledge and valuable experience putting the
SQL Server 2008 R2 skill set to use in a simulated work
environment.
This nine week program included six weeks of lecture,
two separate individual project weeks as well as a
team project during the final week of the course.
The curriculum covered Relational Database Design,
Query development using MS SQL Server 2008 R2 T-SQL,
Implementing Databases in MS SQL Server 2008 R2,
Advanced T-SQL Querying, Integration Services (SSIS)
and Reporting Services (SSRS).
4
This textbook was covered
in its entirety during one of
the lecture weeks. In
addition to covering the
chapter exercises during
labs, we completed
‘homework’ assignments of
which some samples follow.
An entire week was also
dedicated to Advanced T-
SQL subjects utilizing
proprietary training material
provided by SetFocus
5
T-SQL Fundamentals Example 1
Write and execute a query to retrieve the member’s full name and member_no
from the member table and the isbn and log_date values from the reservation
table for member numbers 250, 341, and 1675. Order the results by member_no
and log_date. You should show information for these members, even if they have
no books on reserve.
6
T-SQL Fundamentals Example 2
Using joins and a UNION clause, write a query to retrieve a single list of members both adult
and juvenile, who have reserved ISBN number 288. The list must include the isbn, title,
member_no and name (i.e.: Smith, John) of each member who has the reservation.
Additionally, the list should indicate whether the member is an adult or a juvenile. Output
the records by name.
7
T-SQL Fundamentals Example 3
Write the preceding statement again using a CASE statement. You cannot JOIN to the
adult or juvenile tables.
8
The Expired Cards page is a report on credit cards that have expired and credit cards that will
expire soon. Output the customer ID, customer name and expiry date of the card for records
with an expiry date prior to 30 days after the current date (today). Display the records by expiry
date in descending order. Alias as: ‘ID’, ‘Name’, ‘Expires’.
T-SQL Fundamentals Example 4
9
T-SQL Fundamentals Example 5
The 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’.
10
Advanced T-SQL
The Advanced T-SQL portion of the curriculum was a one week course utilizing
SetFocus proprietary training materials. Among the objectives of this week were:
 Expose students to a variety of different database challenges that they may
face in a production environment.
 Present new SQL 2006/2008 features not covered in other segments of the
class.
Provide lab time to write T-SQL queries in response to specific problems.
Provide students with a library of over 100+ T-SQL samples that can be reused in
production environments.
Several examples of items covered during this week are provided in the next
three slides.
11
Advanced T-SQL Class Example 1
Write a query that will take the input variables of @EmployeeID and @RateEffectiveDate and
return the rate for an effective date.
12
Advanced T-SQL Class Example 2
Use nested CTEs to summarize purchase orders and sales orders. Join the two CTEs and Rank
the results in descending POTotal order.
13
Advanced T-SQL Class Example 3
The example below is one of several recursive CTEs that were studied.
14
The Piggy Bank
Project was the
first major project
that we
completed during
the course.
This was a one
week project
where each
student worked
individually from a
common
specification.
Piggy Bank Project
15
 Students were provided with a relational database and a six page
specificatiion describing information regarding Customers, Accounts
and Transaction Types
 Additional requirements included Triggers, Views, ATM Procedures,
Statement Procedures, Search Engine Queries, Test Requirements and
Test Script Requirements.
 My project deliverable included a set of Stored Procedures to
implement the required functionality for the bank as well as 4 views, 1
DDL Trigger, 2 DML Triggers, and 94 individual test scripts to test the
delivered functionality.
Piggy Bank Project
Entity Relationship Diagram
16
Stored Procedures and Views
17
Withdrawal Transaction
18
Withdrawal Transaction
19
Begin Try / End Try
Logic is used
Withdrawal Transaction
20
Error
Processing
Withdrawal Transaction
21
Withdrawal Transaction
22
Withdrawal Transaction
23
Withdrawal Transaction
24
Withdrawal Transaction
25
Process Deposit Transaction
26
ATM Get Balance
27
28
The company Mini-Adventure Works (Mini-AD) 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.
29
Project Specifications
Entity Relationship Diagram
30
SSIS Control Flow for Import Orders
31
SSIS Data Flow for Header Record
32
SSIS Data Flow for Detail Record
33
SSRS Report – Vendor Sales By Year
34
Processing Options and Subscriptions
35
36
Project Team:
Jessica Herndon
Martin Johnson
Dennis Schmid
In addition to completing technical tasks related to this assignment
the team was required to develop a management presentation
describing all project deliverables.
Blockflix – Team Project
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, 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.
37
Project Specifications
38
Team Deliverables
 Design a database to support central, store and kiosk locations
 Populate the database with data sufficient to support testing of
all developed processes
 Develop Stored Procedures for all processing and to support all
reports
 Develop SSIS package to support the processing of movie inventory
data as it is pushed to various BlockFlix locations.
 Develop sample reports in SSRS
 Present results to management
39
Database Design
40
Database Design
41
Database Design
42
Database Design
43
Database Design
44
SSIS Package Control Flow
45
SSIS Data Flow to Load Movie/Talent data
46
SSIS Data Flows to Load Movie/Talent data
47
XML file used to support the addition
of movie information to inventory
48
Four SSRS Reports were created per spec
One report is shown below as rendered in SSRS as well as in PDF format
49
About me
 In 2008 I moved to Suwanee, GA. with my wife and three children
after falling in love with the area during a family visit two years earlier.
My only regret is that we did not do this sooner!
 I have made a living in the Information Technology field
throughout my career in both technical and management roles
although my greatest job satisfaction has come from coding solutions
to problems presented to my team for review.
 I have worked principally in the fields of database administration,
system performance management and capacity planning.
As a recent graduate of the SetFocus SQL Master’s program I am
seeking an opportunity to apply these skills in a SQL Server environment.

Weitere ähnliche Inhalte

Was ist angesagt? (20)

Kasinathan_P-Resume
Kasinathan_P-ResumeKasinathan_P-Resume
Kasinathan_P-Resume
 
Resume
ResumeResume
Resume
 
CHETHAN RESUME_MSBI DEVELOPER
CHETHAN RESUME_MSBI DEVELOPERCHETHAN RESUME_MSBI DEVELOPER
CHETHAN RESUME_MSBI DEVELOPER
 
Supreet Resume
Supreet ResumeSupreet Resume
Supreet Resume
 
Maharshi_Amin_416
Maharshi_Amin_416Maharshi_Amin_416
Maharshi_Amin_416
 
Sudeshna Ghosh Dastidar-Resume
Sudeshna Ghosh Dastidar-ResumeSudeshna Ghosh Dastidar-Resume
Sudeshna Ghosh Dastidar-Resume
 
SenaritraMSBI_Resume
SenaritraMSBI_ResumeSenaritraMSBI_Resume
SenaritraMSBI_Resume
 
Bhargavi_MSBI
Bhargavi_MSBIBhargavi_MSBI
Bhargavi_MSBI
 
simha msbi resume
simha msbi resumesimha msbi resume
simha msbi resume
 
PG_resume (2)
PG_resume (2)PG_resume (2)
PG_resume (2)
 
BusinessIntelligence_SQL_Developer
BusinessIntelligence_SQL_DeveloperBusinessIntelligence_SQL_Developer
BusinessIntelligence_SQL_Developer
 
Shashi.Kiran_CV
Shashi.Kiran_CVShashi.Kiran_CV
Shashi.Kiran_CV
 
Abdul ETL Resume
Abdul ETL ResumeAbdul ETL Resume
Abdul ETL Resume
 
satya_-_Infy
satya_-_Infysatya_-_Infy
satya_-_Infy
 
jerry_wen_resume
jerry_wen_resumejerry_wen_resume
jerry_wen_resume
 
Zaheer's Resume
Zaheer's ResumeZaheer's Resume
Zaheer's Resume
 
Mukhtar resume etl_developer
Mukhtar resume etl_developerMukhtar resume etl_developer
Mukhtar resume etl_developer
 
Fl2008 b3mileyluzardoportfolio
Fl2008 b3mileyluzardoportfolioFl2008 b3mileyluzardoportfolio
Fl2008 b3mileyluzardoportfolio
 
Shane_O'Neill_CV_slim
Shane_O'Neill_CV_slimShane_O'Neill_CV_slim
Shane_O'Neill_CV_slim
 
Mohd_Shaukath_5_Exp_Datastage
Mohd_Shaukath_5_Exp_DatastageMohd_Shaukath_5_Exp_Datastage
Mohd_Shaukath_5_Exp_Datastage
 

Andere mochten auch (10)

Mini-projects maxi-learning-curs_estiu_APAC_July2016_session5
Mini-projects maxi-learning-curs_estiu_APAC_July2016_session5Mini-projects maxi-learning-curs_estiu_APAC_July2016_session5
Mini-projects maxi-learning-curs_estiu_APAC_July2016_session5
 
Mini projects maxi-learning-curs_estiu_july2015_session2
Mini projects maxi-learning-curs_estiu_july2015_session2Mini projects maxi-learning-curs_estiu_july2015_session2
Mini projects maxi-learning-curs_estiu_july2015_session2
 
Mandela chapter 6
Mandela chapter 6Mandela chapter 6
Mandela chapter 6
 
Mini project bi
Mini project biMini project bi
Mini project bi
 
Miniproject bisem5
Miniproject bisem5Miniproject bisem5
Miniproject bisem5
 
Presentation mini project
Presentation mini projectPresentation mini project
Presentation mini project
 
Mini Research Project
Mini Research ProjectMini Research Project
Mini Research Project
 
Complete-Mini-Project-Report
Complete-Mini-Project-ReportComplete-Mini-Project-Report
Complete-Mini-Project-Report
 
Mini project complete
Mini project completeMini project complete
Mini project complete
 
College management project
College management projectCollege management project
College management project
 

Ähnlich wie Dennis Schmid Portfolio

SQL Server 2008 Portfolio for Saumya Bhatnagar
SQL Server 2008 Portfolio for Saumya BhatnagarSQL Server 2008 Portfolio for Saumya Bhatnagar
SQL Server 2008 Portfolio for Saumya Bhatnagar
sammykb
 
CV_Mudit IBM MCA 10+ years MSBI, SQL, .NET
CV_Mudit IBM MCA 10+ years MSBI, SQL, .NETCV_Mudit IBM MCA 10+ years MSBI, SQL, .NET
CV_Mudit IBM MCA 10+ years MSBI, SQL, .NET
Mudit Saxena
 
Alok_Patle_Resume
Alok_Patle_ResumeAlok_Patle_Resume
Alok_Patle_Resume
alok patle
 

Ähnlich wie Dennis Schmid Portfolio (20)

My SQL Portfolio
My SQL PortfolioMy SQL Portfolio
My SQL Portfolio
 
Nithin(1)
Nithin(1)Nithin(1)
Nithin(1)
 
RahulParwekar_Resume
RahulParwekar_ResumeRahulParwekar_Resume
RahulParwekar_Resume
 
Munish Gupta_CV
Munish Gupta_CVMunish Gupta_CV
Munish Gupta_CV
 
SQL Server 2008 Portfolio for Saumya Bhatnagar
SQL Server 2008 Portfolio for Saumya BhatnagarSQL Server 2008 Portfolio for Saumya Bhatnagar
SQL Server 2008 Portfolio for Saumya Bhatnagar
 
Colin\'s BI Portfolio
Colin\'s BI PortfolioColin\'s BI Portfolio
Colin\'s BI Portfolio
 
Jessica Herndon Sql Portfolio
Jessica Herndon Sql PortfolioJessica Herndon Sql Portfolio
Jessica Herndon Sql Portfolio
 
CV_Mudit IBM MCA 10+ years MSBI, SQL, .NET
CV_Mudit IBM MCA 10+ years MSBI, SQL, .NETCV_Mudit IBM MCA 10+ years MSBI, SQL, .NET
CV_Mudit IBM MCA 10+ years MSBI, SQL, .NET
 
Msbi power bi_ lead
Msbi power bi_ leadMsbi power bi_ lead
Msbi power bi_ lead
 
Chris_Resume_2017
Chris_Resume_2017Chris_Resume_2017
Chris_Resume_2017
 
Chaitra
ChaitraChaitra
Chaitra
 
oracle_2015
oracle_2015oracle_2015
oracle_2015
 
Strayer cis-515-week-7-assignment-6-sql-concepts-and-database-design
Strayer cis-515-week-7-assignment-6-sql-concepts-and-database-designStrayer cis-515-week-7-assignment-6-sql-concepts-and-database-design
Strayer cis-515-week-7-assignment-6-sql-concepts-and-database-design
 
Alok_Patle_Resume
Alok_Patle_ResumeAlok_Patle_Resume
Alok_Patle_Resume
 
Robert Parkin Portfolio
Robert Parkin PortfolioRobert Parkin Portfolio
Robert Parkin Portfolio
 
Saravanan rajalingam
Saravanan rajalingamSaravanan rajalingam
Saravanan rajalingam
 
Saravanan Rajalingam
Saravanan RajalingamSaravanan Rajalingam
Saravanan Rajalingam
 
ChakravarthyUppara
ChakravarthyUpparaChakravarthyUppara
ChakravarthyUppara
 
JKSQL
JKSQLJKSQL
JKSQL
 
Resume - Deepak v.s
Resume -  Deepak v.sResume -  Deepak v.s
Resume - Deepak v.s
 

Dennis Schmid Portfolio

  • 2. 2  Introduction T-SQL Curriculum Piggy Bank Project Mini Adventure Works Project BlockFlix Project
  • 3. 3 The SetFocus SQL Master’s Program is an intensive, hands-on, project oriented program where participants gain knowledge and valuable experience putting the SQL Server 2008 R2 skill set to use in a simulated work environment. This nine week program included six weeks of lecture, two separate individual project weeks as well as a team project during the final week of the course. The curriculum covered Relational Database Design, Query development using MS SQL Server 2008 R2 T-SQL, Implementing Databases in MS SQL Server 2008 R2, Advanced T-SQL Querying, Integration Services (SSIS) and Reporting Services (SSRS).
  • 4. 4 This textbook was covered in its entirety during one of the lecture weeks. In addition to covering the chapter exercises during labs, we completed ‘homework’ assignments of which some samples follow. An entire week was also dedicated to Advanced T- SQL subjects utilizing proprietary training material provided by SetFocus
  • 5. 5 T-SQL Fundamentals Example 1 Write and execute a query to retrieve the member’s full name and member_no from the member table and the isbn and log_date values from the reservation table for member numbers 250, 341, and 1675. Order the results by member_no and log_date. You should show information for these members, even if they have no books on reserve.
  • 6. 6 T-SQL Fundamentals Example 2 Using joins and a UNION clause, write a query to retrieve a single list of members both adult and juvenile, who have reserved ISBN number 288. The list must include the isbn, title, member_no and name (i.e.: Smith, John) of each member who has the reservation. Additionally, the list should indicate whether the member is an adult or a juvenile. Output the records by name.
  • 7. 7 T-SQL Fundamentals Example 3 Write the preceding statement again using a CASE statement. You cannot JOIN to the adult or juvenile tables.
  • 8. 8 The Expired Cards page is a report on credit cards that have expired and credit cards that will expire soon. Output the customer ID, customer name and expiry date of the card for records with an expiry date prior to 30 days after the current date (today). Display the records by expiry date in descending order. Alias as: ‘ID’, ‘Name’, ‘Expires’. T-SQL Fundamentals Example 4
  • 9. 9 T-SQL Fundamentals Example 5 The 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’.
  • 10. 10 Advanced T-SQL The Advanced T-SQL portion of the curriculum was a one week course utilizing SetFocus proprietary training materials. Among the objectives of this week were:  Expose students to a variety of different database challenges that they may face in a production environment.  Present new SQL 2006/2008 features not covered in other segments of the class. Provide lab time to write T-SQL queries in response to specific problems. Provide students with a library of over 100+ T-SQL samples that can be reused in production environments. Several examples of items covered during this week are provided in the next three slides.
  • 11. 11 Advanced T-SQL Class Example 1 Write a query that will take the input variables of @EmployeeID and @RateEffectiveDate and return the rate for an effective date.
  • 12. 12 Advanced T-SQL Class Example 2 Use nested CTEs to summarize purchase orders and sales orders. Join the two CTEs and Rank the results in descending POTotal order.
  • 13. 13 Advanced T-SQL Class Example 3 The example below is one of several recursive CTEs that were studied.
  • 14. 14 The Piggy Bank Project was the first major project that we completed during the course. This was a one week project where each student worked individually from a common specification. Piggy Bank Project
  • 15. 15  Students were provided with a relational database and a six page specificatiion describing information regarding Customers, Accounts and Transaction Types  Additional requirements included Triggers, Views, ATM Procedures, Statement Procedures, Search Engine Queries, Test Requirements and Test Script Requirements.  My project deliverable included a set of Stored Procedures to implement the required functionality for the bank as well as 4 views, 1 DDL Trigger, 2 DML Triggers, and 94 individual test scripts to test the delivered functionality. Piggy Bank Project
  • 19. Withdrawal Transaction 19 Begin Try / End Try Logic is used
  • 28. 28
  • 29. The company Mini-Adventure Works (Mini-AD) 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. 29 Project Specifications
  • 31. SSIS Control Flow for Import Orders 31
  • 32. SSIS Data Flow for Header Record 32
  • 33. SSIS Data Flow for Detail Record 33
  • 34. SSRS Report – Vendor Sales By Year 34
  • 35. Processing Options and Subscriptions 35
  • 36. 36 Project Team: Jessica Herndon Martin Johnson Dennis Schmid In addition to completing technical tasks related to this assignment the team was required to develop a management presentation describing all project deliverables. Blockflix – Team Project
  • 37. 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, 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. 37 Project Specifications
  • 38. 38 Team Deliverables  Design a database to support central, store and kiosk locations  Populate the database with data sufficient to support testing of all developed processes  Develop Stored Procedures for all processing and to support all reports  Develop SSIS package to support the processing of movie inventory data as it is pushed to various BlockFlix locations.  Develop sample reports in SSRS  Present results to management
  • 45. 45 SSIS Data Flow to Load Movie/Talent data
  • 46. 46 SSIS Data Flows to Load Movie/Talent data
  • 47. 47 XML file used to support the addition of movie information to inventory
  • 48. 48 Four SSRS Reports were created per spec One report is shown below as rendered in SSRS as well as in PDF format
  • 49. 49 About me  In 2008 I moved to Suwanee, GA. with my wife and three children after falling in love with the area during a family visit two years earlier. My only regret is that we did not do this sooner!  I have made a living in the Information Technology field throughout my career in both technical and management roles although my greatest job satisfaction has come from coding solutions to problems presented to my team for review.  I have worked principally in the fields of database administration, system performance management and capacity planning. As a recent graduate of the SetFocus SQL Master’s program I am seeking an opportunity to apply these skills in a SQL Server environment.