A.Asgharian.Portfolio

21
SQLServer Portfolio Name: Ahmad Asgharian Email: [email protected] t Phone: 860-751-8460

description

Portfolio

Transcript of A.Asgharian.Portfolio

Page 1: A.Asgharian.Portfolio

SQLServerPortfolio

Name: Ahmad AsgharianEmail: [email protected]: 860-751-8460

Page 2: A.Asgharian.Portfolio

Table of Contents

Bank Project..........................................3SSIS(MiniAdventureWorks)…………………8SSRS(MiniAdventureWorks)………………..12Movie Project……………………………………..15

Page 3: A.Asgharian.Portfolio

Bank Project• Design, code and implement a bank data base with the following features.• Create/update Customer, Add/ update accounts, Inactivate accounts, overdraft

(general, specific) • Transactions: Deposit, withdrawal, transfer.• ATM procedures ( Get Balance, Show current balance, Display Transactions for

previous months)• Teller inquires (standard inquires for a given month or given year, summary of

all accounts for ageing customer by inputting Customer ID, Account ID .• Search based on Customer information, such as name, phone number and

Account Id.

Page 4: A.Asgharian.Portfolio

Add customer

Page 5: A.Asgharian.Portfolio

Deposit

Page 6: A.Asgharian.Portfolio

Customer info History

Page 7: A.Asgharian.Portfolio

Try/Catch block

Page 8: A.Asgharian.Portfolio

SSIS/SSRS Project (MiniAdventureWorks)

This project involved designing SSIS packages and SSRS reports from products, vendors, and purchase order history tables and related CSV files as input.The following tasks were implemented using SSIS packages.• CreateDatabase.dtsx (Drop/create database objects using SQL Script) • ImportProduct.dtsx(insert data into Product table. Update takes place only if the product

is modified)• ImportVendor.dtsx(insert Vendor if not already in the table, If vendor exists apply

Updates only if other columns are changed)• ShipMethodMaster.dtsx(Insert takes place if input row with a Ship Method name does

not exist in the table)• ImportOrders.dtsx(The product ID and Vendor ID in input CSV files are checked against

the Product and Vendor table before insert into the table. All invalid vendor and Product numbers are written to CSV files and the recipients were notified)

• UpdateproductPrices.dtsx(increase prices by and additional 10% for any given product)

Page 9: A.Asgharian.Portfolio

ImportProducts.dtsx

Page 10: A.Asgharian.Portfolio

ImportOrders.dtsx(control flow)

Page 11: A.Asgharian.Portfolio

ImportOrders.dtsx(Data Flow)

Page 12: A.Asgharian.Portfolio

SSRS (miniAdventureWorks)

• Using SSRS implemented two reports one for top vendor and product sales, and the second for sales by vendor and ship method across the years.

• Utilized Parameters,, linked, snapshots and subscription

features of report manager.

Page 13: A.Asgharian.Portfolio

SSRS Vendor Sales By Year in BIDS

Page 14: A.Asgharian.Portfolio

Report History (Report Manger)

Page 15: A.Asgharian.Portfolio

Movie Project

• Design and implement a real-world video chain with Online access in addition to multiple stores and kiosks locations.

• Use a combination of Views, stored procedure , SSIS package and SSRS services to implement many features of this project.

• Create procedures to handle check in, check out and return movies and games.

• Create packages in SSIS for nightly batch runs• Create reports in SSRS for management use

Page 16: A.Asgharian.Portfolio

ER-Diagram

Page 17: A.Asgharian.Portfolio

SSIS TaskAdd New Customers

Page 18: A.Asgharian.Portfolio

Return Movies and games(Account table updated)

Page 19: A.Asgharian.Portfolio

Return Movies and games(Account table updated)

Page 20: A.Asgharian.Portfolio

SSRS Monthly Report OnDamaged /Lost Movies in BIDS

Page 21: A.Asgharian.Portfolio

SSRS Monthly Report on Membership Type in Report Manager