Presentation is loading. Please wait.

Presentation is loading. Please wait.

© 2016, Mike Murach & Associates, Inc.

Similar presentations


Presentation on theme: "© 2016, Mike Murach & Associates, Inc."— Presentation transcript:

1 © 2016, Mike Murach & Associates, Inc.
Chapter 12 © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

2 © 2016, Mike Murach & Associates, Inc.
Objectives © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

3 The Products table in a Halloween database
Primary key Columns Rows © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

4 © 2016, Mike Murach & Associates, Inc.
Concepts © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

5 The relationship between two tables
Foreign key Primary key © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

6 Relationship concepts
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

7 The design view window for the Products table
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

8 Common SQL Server data types
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

9 The tables that make up the Halloween database
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

10 Simplified syntax of the SELECT statement
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

11 A SELECT statement that retrieves and sorts selected columns and rows
The result set defined by the SELECT statement © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

12 The syntax of the SELECT statement for joining two tables
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

13 A SELECT statement that joins data from two tables
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

14 The result set defined by the SELECT statement
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

15 The syntax of the INSERT statement for adding a single row
A statement that adds a single row to a table © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

16 The syntax of the UPDATE statement
A statement that changes the value of one column for a selected row © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

17 The syntax of the DELETE statement
A statement that deletes a specified category © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

18 A statement that creates a view named CustomersMin
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

19 A SELECT statement that uses the view
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

20 The virtual table that’s created from the view
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

21 The result set that’s created from the virtual table
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

22 A statement that creates a stored procedure named spCustomersByState
The result set when the stored procedure is executed with variable set to ‘CA’ © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

23 © 2016, Mike Murach & Associates, Inc.
Basic ADO.NET objects © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

24 Two users who are working with copies of the same data
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

25 What happens when two users try to update the same row
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

26 ADO.NET components for accessing a database directly
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015


Download ppt "© 2016, Mike Murach & Associates, Inc."

Similar presentations


Ads by Google