Download presentation
Presentation is loading. Please wait.
Published bySilas Parrish Modified over 9 years ago
1
All Powder Board and Ski SQL Server 2000 Workbook Chapter 1 Jerry Post Copyright © 2003
2
Inventory Snowboards ManufacturerMfg IDSizeDescriptionGraphicsList Price QOH Freestyle Pipe Standard Extreme Skis ManufacturerMfg IDSizeDescriptionGraphicsList Price QOH Slalom Cross country-skate Cross country-trad. Telemark Jumping Freestyle Downhill/race
3
Boots and Bindings Boot-Binding Compatibility Manuf.Mfg. IDBoard/SkiBinding/StyleColorPriceCost SizeQOH 34 35 36 …
4
Sales CustomerSale Date First NameLast NameSalesperson PhoneE-MailDepartment AddressShipping AddressCity, State ZIP Male/FemaleSki/Board Age/Date of BirthStyleSkill Level ItemDescriptionNew/UsedSizeQuantityPriceSubtotal Item Total Tax Total Due Method of Payment
5
Rentals CustomerRental Date First NameLast NameExpected Return PhoneE-Mail AddressShipping AddressCity, State ZIP Male/FemaleSki/Board Age/Date of BirthStyleSkill Level ItemDescriptionSizeFeeReturn DateConditionCharges Item Total Tax Total DueAdded Charges Method of PaymentSignature
6
Project Structure Project Title: Sales System for Boards and Skis Customer: All Powder Board and Ski Shop Primary Contact: Katy Goals: Project Description: Primary Forms: Primary Reports: Lead Developer: Estimated Development Time: Estimated Development Cost: Date Prepared:
7
Project Plan Define the project and obtain approval. 1.Analyze the user needs and identify all forms and reports. 2.System Design a.Determine the tables and relationships needed. b.Create the tables and load basic data. c.Create queries needed for forms and reports. d.Build forms and reports. e.Create transaction elements. f.Define security and access controls. 3.Additional Features a.Create data warehouse to analyze data as needed. b.Handle distributed database elements as needed. 4.System Implementation a.Convert and load data. b.Train users. c.Load testing. 5.System review
8
Feasibility Assumptions Annual discount rate0.03 Project life/years5 Costs Present ValueSubtotal One-time DBMS Software Hardware Development Data entry Training
9
Feasibility-2 Ongoing Personnel Upgrades/annual Supplies Support Maintenance Benefits Cost Savings Better inventory control Fewer clerks Strategic Increased sales Other? Net Present Value
10
DBMS Update Microsoft Academic Alliance http://www.msdnaa.net Microsoft Developers Nework http://msdn.microsoft.com Microsoft SQL Server http://www.microsoft.com/sql
11
Enterprise Manager
12
Practice: Create a Table
13
Action Start SQL Server Enterprise Manager. Open the SQL Server Group and log in. Expand the database assigned to you, or create it if necessary. Right click on Tables, select New Table. Enter column names and data types. Click the CustomerID row. Set the Identity value to Yes Click the key icon in the main toolbar. Close the form and name the table Customer.
14
SQL Create Table Main toolbar: Generate SQL Script, Preview
15
Action Right click the table name. Select Open Table/Return all rows Enter the sample data. Close the table.
16
Practice: Add Data
17
Action Start the Visual Studio with a New Project, Windows Application in VB or C#.. Right-click the solution name, Add, Add New Item Select Data Form Wizard, Customer.vb. New Dataset: dsCustomer. New Connection: Server name, user name, password Click the box to Allow saving password. Add the Customer table. Display data: Single record in individual controls. Click the button to Include password.
18
Practice Design a Simple Form Visual Studio: Add New Item, Data Form Wizard
19
Action Switch to Form1. Add a button and set the text and name to Customer. Double-click the button to switch to the code. Add two lines: Dim frmCustomer As Customer = New Customer frmCustomer.Show() Save everything. Build/Rebuild Run the project and click the button.
20
Practice: Create a Simple Form You have to click the Load button created by the wizard to retrieve the first row of data
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.