lac portfolio
TRANSCRIPT
![Page 2: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/2.jpg)
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
![Page 3: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/3.jpg)
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
![Page 4: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/4.jpg)
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
![Page 5: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/5.jpg)
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:
![Page 6: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/6.jpg)
PiggyBank ER DiagramForeign Key-Primary Key RelationshipsHandling the Many to Many Scenario
![Page 7: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/7.jpg)
Transfer Funds
![Page 8: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/8.jpg)
Create New Account
Cont’d
![Page 9: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/9.jpg)
ViewsA Current Month Bank Statement
Utilizing Concatenation , Joins & Date Functions
![Page 10: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/10.jpg)
T-SQL QueriesThe Merge Statement
New in 2008: Insert & Update in One
![Page 11: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/11.jpg)
Merge Results
Taking advantage of Output $Actionto review the results of the Merge
![Page 12: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/12.jpg)
T-SQL QueriesRecursive CTE’s
And again…
![Page 13: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/13.jpg)
Recursive CTE Results
![Page 14: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/14.jpg)
T-SQL QueriesApply
2005 feature that allows us to ‘apply’ the results of a UDF to all the rows in a table
The function
![Page 15: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/15.jpg)
Apply with Results
![Page 16: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/16.jpg)
T-SQL QueriesThe Pivot Statement
![Page 17: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/17.jpg)
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:
![Page 18: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/18.jpg)
SSISDynamic Import Products
![Page 19: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/19.jpg)
Import Orders
Inserts into the Details & Header TablesA mail task to relay results
![Page 20: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/20.jpg)
SSISImport Orders DataFlow
![Page 21: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/21.jpg)
SSRS Stored Procedure for Required Report
Utilizes Cross Apply and Rank Function
![Page 22: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/22.jpg)
SSRSReport Results from the Stored Procedure
![Page 23: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/23.jpg)
SSRS Matrix Report
![Page 24: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/24.jpg)
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
![Page 25: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/25.jpg)
Central Database
Store DataBa
se
Store DataBase
Store DataBase
KioskDatabase
KioskDatabase
KioskDatabase
KioskDatabase
KioskDatabase
KioskDatabaseKiosk
Database
KioskDatabase
OnlineStore
Database Structure
StoreDatabase
Store DataBase
![Page 26: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/26.jpg)
All online transactionsMoviePurchases
Membership sign-up
Utilizes Central Database
Online Store
Central Database
![Page 27: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/27.jpg)
ER-DiagramPrimary Key- Foreign Key Relationships
![Page 28: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/28.jpg)
SSISInsert Existing Titles Into Inventory
Control Flow : Moves processed files to a new locationSend Tasks to relay success or failure
![Page 29: Lac portfolio](https://reader036.vdocuments.site/reader036/viewer/2022062319/555e7b5ad8b42abd468b4713/html5/thumbnails/29.jpg)
SSIS