1. Trang chủ
  2. » Công Nghệ Thông Tin

Beginning Visual Basic .NET Database Programming phần 1 ppt

69 183 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 69
Dung lượng 8,07 MB

Nội dung

[...]... 46060 USA 10 00 1- Aug 01 Jack's New England Clam Chowder 1 12 - 12 oz cans 9.65 Jane Doe 12 3 Somewhere St., Anytown, IN 46060 USA 10 00 1- Aug 01 Grandma's Boysenberry Spread 3 12 - 8 oz jars 25 Jane Doe 12 3 Somewhere St., Anytown, IN 46060 USA 10 01 2-Aug 01 Uncle Bob's Organic Dried Pears 1 12 - 1 lb pkgs 30 John Smith 345 Anywhere St., Somewhere, IN 460 01 USA 10 01 2 1- Aug 01 2-Aug 01 Tofu 1 40 10 0 g pkgs... Customer Email (e.g 12 3456) (e.g 12 3 Somewhere St., Anytown, IN 46060 USA) (e.g jdoe@yahoo.com) Customer Telephone Product Identifier for Items Ordered Quantity Ordered (e.g 317 -11 1-2222) (e.g 3) (e.g 12 345 for Tofu) Ordered by Customer Number Order Ship Date Order Number (e.g Aug 3, 20 01) (e.g 10 00) (e.g 12 3456) Order Date (e.g Aug 1, 20 01) 6 Unit Price as Ordered (e.g $23.25) Relational Database Design... CustomerAddress 12 3 Somewhere St., Anytown, IN 46060 USA Text 65 characters CustomerTelepho ne 317 -11 1-2222 Text 12 characters CustomerEmail 10 Example jdoe@yahoo.com Text 50 characters Relational Database Design ORDERS TABLE Field Example Type of Data Estimated Size of Data OrderNumber 10 00 Numeric Positive number with no decimals OrderDate Aug 1, 20 01 Date Valid date ProductIdentifier1 12 345 Numeric... CustomerAddress 12 3 Somewhere St., Anytown, IN 46060 USA Text 65 characters CustomerTelephone 317 -11 1-2222 Text 12 characters CustomerEmail jdoe@yahoo.com Text 50 characters ORDERS TABLE Field Type of Data Estimated Size of Data OrderNumber (PK) 10 00 Numeric Positive number with no decimals OrderDate Aug 1, 20 01 Date Valid date ProductIdentifier1 (FK) 12 345 Numeric Positive number with no decimals PriceItem1 $19 .00... Customer Address Customer Email (e.g 12 3456) (e.g 12 3 Somewhere St., Anytown, IN 46060 USA) (e.g jdoe@yahoo.com) Customer Telephone Product Identifier for Items Ordered Quantity Ordered (e.g 317 -11 1-2222) (e.g 3) (e.g 12 345 for Tofu) Ordered by Customer Number Order Ship Date Order Number (e.g Aug 3, 20 01) (e.g 10 00) (e.g 12 3456) Order Date Unit Price as Ordered (e.g Aug 1, 20 01) (e.g $23.25) What we can do... Data CustomerNumber (PK) 12 3456 Numeric Positive number with no decimals CustomerName Jane A Doe Text 45 characters CustomerAddress 12 3 Somewhere St., Anytown, IN 46060 USA Text 65 characters CustomerTelephone 317 -11 1-2222 Text 12 characters CustomerEmail jdoe@yahoo.com Text 50 characters 13 Chapter 1 ORDERS TABLE Field Example Type of Data Estimated Size of Data OrderNumber (PK) 10 00 Numeric Positive... 10 00 Numeric Positive number with no decimals OrderDate Aug 1, 20 01 Date Valid date ProductIdentifier1 (FK) 12 345 Numeric Positive number with no decimals PriceItem1 $19 .00 Currency $00.00 to $10 ,000.00 QuantityItem1 2 Numeric 0 to 9,999 ProductIdentifier2 (FK) 2345 Numeric Positive number with no decimals PriceItem2 $8.50 Currency $00.00 to $10 ,000.00 QuantityItem2 3 Numeric 0 to 9,999 ProductIdentifier3... one specific type of database – the relational database Don't worry if you don't understand all the database terms at the moment as, by the end of the chapter, you will have a good understanding of: ❑ What a database is ❑ How relational databases compare to flat file databases ❑ The advantages of relational databases ❑ How to analyze business needs to identify what information a database should contain... Relational Database Design In this chapter, we'll cover some of the background details for the design and implementation of a database The great majority of applications, whether developed with Visual Basic NET or some other programming language, involve a database in some capacity, so it is crucial to have a firm understanding of the principles of good database design After a brief introduction to databases... (PK) 12 3456 Numeric Positive number with no decimals CustomerFirstName Jane Text 15 characters CustomerMiddleName A Text 15 characters CustomerLastName Doe Text 25 characters CustomerAddress 12 3 Somewhere St Text 30 characters CustomerCity Anytown Text 20 characters CustomerState IN Text 2 characters CustomerZip 46060 Text 9 characters CustomerCountry USA Text 20 characters CustomerTelephone 317 -11 1-2222 . Unit Price Customer Name Customer Address 10 00 1- Aug- 01 Tofu 1 40 - 10 0 g pkgs 23.25 Jane Doe 12 3 Somewhere St., Anytown, IN 46060 USA 10 00 1- Aug- 01 Jack's New England Clam Chowder 1 12 - 12 oz cans 9.65 Jane Doe 12 3 Somewhere St.,. is not an introduction to Visual Basic .NET. If you are completely new to Visual Basic .NET, you will probably find Beginning Visual Basic .NET (Wrox Press, ISBN 18 610 04966) a better choice to. 46060 USA 10 00 1- Aug- 01 Grandma's Boysenberry Spread 3 12 - 8 oz jars 25 Jane Doe 12 3 Somewhere St., Anytown, IN 46060 USA 10 01 2-Aug- 01 Uncle Bob's Organic Dried Pears 1 12 - 1 lb pkgs 30 John Smith 345

Ngày đăng: 13/08/2014, 12:21

TỪ KHÓA LIÊN QUAN