Karen L Rulander SQL Server Portfolio Email: Karen.Rulander@SetFocus.com
IntroductionHello.My name is Karen Rulander. This portfolio is designed to give examples of my development skills with SQL Server 2008.These examples are taken from project assignments completed during the SQL Server 2008 Master’s Program at SetFocus LLC. SetFocus is a certified Microsoft Gold partner and  uses Microsoft certified courses throughout their program.This program is a very intense 13 week course that covers everything about SQL Server 2008. This includes T-SQL code along with administrator responsibilities such as security, mirroring, replication, snapshots, isolation levels. Other services are included as well including SSA, SSIS, SSRS just to name a few.  A more comprehensive listing can be found at the back of this portfolio.Karen L Rulander2
Table Of ContentsIntroduction  .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .   2Jungle Books  .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .   4Library       .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .   7Piggy Bank      .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .  12DBA Practical       .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .   16SSIS     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .   17SSRS    .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .   22SharePoint 2007  .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .   24 SharePoint 2007 - Acme Project    .     .     .     .     .     .     .     .     .     .     .     .     .     .    253 SQL Server 2008 Masters Program Topics      .     .     .     .     .     .     .     .     .     .     .    32  Recommendations  .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .    33
Jungle Books Jungle Books is a book store. Their database keeps track of their complete book inventory. Books can have multiple entries due to revisions which leads to different ISBNs. Books can also have multiple authors. Customers and their orders are also tracked.All of these facts have been addressed in the database.The database diagram follows.  This detail structure of the database shows what information is being captured.4
Jungle BooksDatabase Diagram5
Jungle BooksThis is T-SQL Code that will list the customers based on the number of items sold.The report is sorted in descending order  based on the number of items sold.In this example, customers  will only be listed if they have bought at least 5 books.Sample Listing6Jungle BooksLarge Quantity Orders
LibraryThe Library database has been set up to handle the  daily  activities for a library.The database keeps track of what books each member has checked out.Members are divided into two categories:  Adults and Children.Different information is collected between the categories.Address and other contact information is collected for the adults, whereas, birthdates are collected for the children. The children are associated with their parents. Every book is being tracked. Whether it is in the library, out on loan or on the reservation list; the database shows its location.  The book loan history is also kept. This provides the ability to determine which books are being loaned out more often. This can help determine which classification of books to add to  the library’s collection.7
Library Database  Diagram8
LibraryThis is T-SQL query that lists the addresses of the adult members of the library.Sample of the listing generated from the query.9
Library Database This  T-SQL query lists all members in alphabetical order by last name, first name. Adults and Juveniles are both listed.Sample listing generated from query.10
Library Database T-SQL Query that lists the total reservation count per book .11Sample ListingT-SQL Query – Books With A Minimum  Quantity OrderedSample Listing
Piggy BankPiggy Bank is a client that was in need of a database to keep track of their transactions. I designed and developed this database per the specifications  and business needs of the bank.New features have been added along the way.12
Importing Transactions From an XML file into the database.Sample Of The T-SQL Code usedTo Import The XMLData.13Piggy Bank Database
Customer Transfer Of Funds:After the transfer has been validated, the specified amount is withdrawn from one account and deposited into a second account. The  transfer information is coming from a transaction that was entered by a teller.Piggy Bank Database14T-SQL Code For The Fund Transfer
  Piggy Bank DatabaseAdd An Account To An Existing  CustomerAfter the transaction has been validated,a new account is setup for an existing customer.T-SQL Code For Account Setup.The scope_identity() is the customer’s new account number.This number needs to be linked to the customer.15
DBA PracticalImporting Data Via Bulk Insert:  Modifications Had To Be Made To The Format File BEFORE The Data Could Be Imported As Shown Below:16
SQL Server Integrated Services (SSIS)The SSIS Package Developed Was To Import Validated Data Into A Smaller Version Of  The AdventureWorks Database. This New Database Is Named MiniAdventureWorks.   Several Data Source Files Were Provided. The Data In These Source Files Are As Follows: - Shipping Methods.  Various shipping methods/companies available. - Products. The Current Listing of Products Available Along With Its Relevant Information. - Vendors.  The Current Listing of Vendors Along With Their Relevant Information. - Purchase Orders. This Information Is The Most Complex. The Purchase Order Will Only Be   Added To The Database If All Of Its Information Is Correct.     The Vendor And Product(s) Associated With the Purchase Order MUST Exist.   The Purchase Order Information Is Split Into Two Separate Tables.   The First Table Is The Purchase Order Header.  This Table Contains Information About   The Purchase Order As A Whole… Total Price, Date Order Was Placed, Vendor Placing The   Order, And Shipping Information, Just To Name A Few.   The Second Table Is The Purchase Order Detail. This Table Contains The Information About   Each Product That Was Ordered… Quantity Ordered, Price Per Unit, Total Price.   Updates To Product Data And Addition Of New Products were taken into consideration.   For example, When A Product Is Encountered For A Second Time (Update Source File),   The Information Is Checked Against The Current Information In The Database. If The Data   Is Different, The Information Will Be Updated.17
SQL Server Integrated Services (SSIS)Data Flow Task For The Product Import18
SQL Server Integrated Services (SSIS)Control Flow Task For The Purchase Order Data19
SQL Server Integrated Services (SSIS)Data Flow Task For The Purchase Order Header Data20This Step Saves The Validated Data  In A Temporary File. This Provides The Purchase Order Detail Data Flow to Begin Its Process With validated Data.Invalid Data Is Written Out To A Text File (.csv)  for review at a later date.
SQL Server Integrated Services (SSIS)Data Flow Task For The Purchase Order Detail Data21Starts with the validated data from the Purchase Order Header Task That Has Just Completed.
SQL Server Reporting Services (SSRS)Vendor Sales By Year – For Ship Method CARGO TRANSPORT 522
SQL Server Reporting Services (SSRS)Top  X Products For Top Y Vendors  For A Given Date Range23
24SharePoint 2007This Document site  is designed to contain  all of the company-wide documents, announcements  and forms for its employees.Company AnnouncementsShared Documents section
25SharePoint 2007 Acme ProjectAcme, Inc is a large towing services company.  A “Solutions Portal” has been designed for their SharePoint developers to have a central location to manage and organize their projects.This site will also provide support to those employees who use /will use these projects.A solution site template will be created for each project. This template will be the starting point for all project solutions going forward.The quick launch shows the items chosen for the template.The items are Issue Tracking, News & Information and a  Shared Calendar.A WiKI help library is included for all involved in the project to use.
26SharePoint 2007 ProjectA Developer Knowledge Base Has Been Added To the Solution Portal Page As A Central Location For Information To Be Shared Among The Developers.The LinkSet Up As A Wiki Library.All Developers can update the information.
27SharePoint 2007 ProjectThe Solution Site Template to be used for each new (project) solution.The quick launch area displays the available links.
28SharePoint 2007 ProjectThe Solution Site Template  - Issue Tracking Link.Any issues regarding this project will be listed and tracked.
29SharePoint 2007 ProjectThe Solution Site Template  - News & Information Tracking Link.Any news or information for this project will be displayed here.
30SharePoint 2007 ProjectThe Solution Site Template  - Shared Calendar Link.Shared calendar shows schedules for all involved in the project.
31SharePoint 2007 ProjectThe Solution Site Template  - Discussions Link.Any discussions between individuals for this project will be displayed here.
Subjects Included in the SetFocus, LLC Masters Program for SQL Server 2008.32
33 Letters of Recommendations

SQL Portfolio

  • 1.
    Karen L RulanderSQL Server Portfolio Email: Karen.Rulander@SetFocus.com
  • 2.
    IntroductionHello.My name isKaren Rulander. This portfolio is designed to give examples of my development skills with SQL Server 2008.These examples are taken from project assignments completed during the SQL Server 2008 Master’s Program at SetFocus LLC. SetFocus is a certified Microsoft Gold partner and uses Microsoft certified courses throughout their program.This program is a very intense 13 week course that covers everything about SQL Server 2008. This includes T-SQL code along with administrator responsibilities such as security, mirroring, replication, snapshots, isolation levels. Other services are included as well including SSA, SSIS, SSRS just to name a few. A more comprehensive listing can be found at the back of this portfolio.Karen L Rulander2
  • 3.
    Table Of ContentsIntroduction . . . . . . . . . . . . . . . . . . . . 2Jungle Books . . . . . . . . . . . . . . . . . . . . 4Library . . . . . . . . . . . . . . . . . . . . . 7Piggy Bank . . . . . . . . . . . . . . . . . . . . 12DBA Practical . . . . . . . . . . . . . . . . . . . 16SSIS . . . . . . . . . . . . . . . . . . . . . . 17SSRS . . . . . . . . . . . . . . . . . . . . . . 22SharePoint 2007 . . . . . . . . . . . . . . . . . . . 24 SharePoint 2007 - Acme Project . . . . . . . . . . . . . . 253 SQL Server 2008 Masters Program Topics . . . . . . . . . . . 32 Recommendations . . . . . . . . . . . . . . . . . . 33
  • 4.
    Jungle Books JungleBooks is a book store. Their database keeps track of their complete book inventory. Books can have multiple entries due to revisions which leads to different ISBNs. Books can also have multiple authors. Customers and their orders are also tracked.All of these facts have been addressed in the database.The database diagram follows. This detail structure of the database shows what information is being captured.4
  • 5.
  • 6.
    Jungle BooksThis isT-SQL Code that will list the customers based on the number of items sold.The report is sorted in descending order based on the number of items sold.In this example, customers will only be listed if they have bought at least 5 books.Sample Listing6Jungle BooksLarge Quantity Orders
  • 7.
    LibraryThe Library databasehas been set up to handle the daily activities for a library.The database keeps track of what books each member has checked out.Members are divided into two categories: Adults and Children.Different information is collected between the categories.Address and other contact information is collected for the adults, whereas, birthdates are collected for the children. The children are associated with their parents. Every book is being tracked. Whether it is in the library, out on loan or on the reservation list; the database shows its location. The book loan history is also kept. This provides the ability to determine which books are being loaned out more often. This can help determine which classification of books to add to the library’s collection.7
  • 8.
  • 9.
    LibraryThis is T-SQLquery that lists the addresses of the adult members of the library.Sample of the listing generated from the query.9
  • 10.
    Library Database This T-SQL query lists all members in alphabetical order by last name, first name. Adults and Juveniles are both listed.Sample listing generated from query.10
  • 11.
    Library Database T-SQLQuery that lists the total reservation count per book .11Sample ListingT-SQL Query – Books With A Minimum Quantity OrderedSample Listing
  • 12.
    Piggy BankPiggy Bankis a client that was in need of a database to keep track of their transactions. I designed and developed this database per the specifications and business needs of the bank.New features have been added along the way.12
  • 13.
    Importing Transactions Froman XML file into the database.Sample Of The T-SQL Code usedTo Import The XMLData.13Piggy Bank Database
  • 14.
    Customer Transfer OfFunds:After the transfer has been validated, the specified amount is withdrawn from one account and deposited into a second account. The transfer information is coming from a transaction that was entered by a teller.Piggy Bank Database14T-SQL Code For The Fund Transfer
  • 15.
    PiggyBank DatabaseAdd An Account To An Existing CustomerAfter the transaction has been validated,a new account is setup for an existing customer.T-SQL Code For Account Setup.The scope_identity() is the customer’s new account number.This number needs to be linked to the customer.15
  • 16.
    DBA PracticalImporting DataVia Bulk Insert: Modifications Had To Be Made To The Format File BEFORE The Data Could Be Imported As Shown Below:16
  • 17.
    SQL Server IntegratedServices (SSIS)The SSIS Package Developed Was To Import Validated Data Into A Smaller Version Of The AdventureWorks Database. This New Database Is Named MiniAdventureWorks. Several Data Source Files Were Provided. The Data In These Source Files Are As Follows: - Shipping Methods. Various shipping methods/companies available. - Products. The Current Listing of Products Available Along With Its Relevant Information. - Vendors. The Current Listing of Vendors Along With Their Relevant Information. - Purchase Orders. This Information Is The Most Complex. The Purchase Order Will Only Be Added To The Database If All Of Its Information Is Correct. The Vendor And Product(s) Associated With the Purchase Order MUST Exist. The Purchase Order Information Is Split Into Two Separate Tables. The First Table Is The Purchase Order Header. This Table Contains Information About The Purchase Order As A Whole… Total Price, Date Order Was Placed, Vendor Placing The Order, And Shipping Information, Just To Name A Few. The Second Table Is The Purchase Order Detail. This Table Contains The Information About Each Product That Was Ordered… Quantity Ordered, Price Per Unit, Total Price. Updates To Product Data And Addition Of New Products were taken into consideration. For example, When A Product Is Encountered For A Second Time (Update Source File), The Information Is Checked Against The Current Information In The Database. If The Data Is Different, The Information Will Be Updated.17
  • 18.
    SQL Server IntegratedServices (SSIS)Data Flow Task For The Product Import18
  • 19.
    SQL Server IntegratedServices (SSIS)Control Flow Task For The Purchase Order Data19
  • 20.
    SQL Server IntegratedServices (SSIS)Data Flow Task For The Purchase Order Header Data20This Step Saves The Validated Data In A Temporary File. This Provides The Purchase Order Detail Data Flow to Begin Its Process With validated Data.Invalid Data Is Written Out To A Text File (.csv) for review at a later date.
  • 21.
    SQL Server IntegratedServices (SSIS)Data Flow Task For The Purchase Order Detail Data21Starts with the validated data from the Purchase Order Header Task That Has Just Completed.
  • 22.
    SQL Server ReportingServices (SSRS)Vendor Sales By Year – For Ship Method CARGO TRANSPORT 522
  • 23.
    SQL Server ReportingServices (SSRS)Top X Products For Top Y Vendors For A Given Date Range23
  • 24.
    24SharePoint 2007This Documentsite is designed to contain all of the company-wide documents, announcements and forms for its employees.Company AnnouncementsShared Documents section
  • 25.
    25SharePoint 2007 AcmeProjectAcme, Inc is a large towing services company. A “Solutions Portal” has been designed for their SharePoint developers to have a central location to manage and organize their projects.This site will also provide support to those employees who use /will use these projects.A solution site template will be created for each project. This template will be the starting point for all project solutions going forward.The quick launch shows the items chosen for the template.The items are Issue Tracking, News & Information and a Shared Calendar.A WiKI help library is included for all involved in the project to use.
  • 26.
    26SharePoint 2007 ProjectADeveloper Knowledge Base Has Been Added To the Solution Portal Page As A Central Location For Information To Be Shared Among The Developers.The LinkSet Up As A Wiki Library.All Developers can update the information.
  • 27.
    27SharePoint 2007 ProjectTheSolution Site Template to be used for each new (project) solution.The quick launch area displays the available links.
  • 28.
    28SharePoint 2007 ProjectTheSolution Site Template - Issue Tracking Link.Any issues regarding this project will be listed and tracked.
  • 29.
    29SharePoint 2007 ProjectTheSolution Site Template - News & Information Tracking Link.Any news or information for this project will be displayed here.
  • 30.
    30SharePoint 2007 ProjectTheSolution Site Template - Shared Calendar Link.Shared calendar shows schedules for all involved in the project.
  • 31.
    31SharePoint 2007 ProjectTheSolution Site Template - Discussions Link.Any discussions between individuals for this project will be displayed here.
  • 32.
    Subjects Included inthe SetFocus, LLC Masters Program for SQL Server 2008.32
  • 33.
    33 Letters ofRecommendations

Editor's Notes

  • #2 Need to ‘dress up’ somehow!
  • #6 Reword the red sentence.