SQL Server 2014, Part 9 of 9: T-SQL Working with Data
Interactive

SQL Server 2014, Part 9 of 9: T-SQL Working with Data

Biz Library
Updated Feb 04, 2020

When you retrieve data with a SELECT statement, SQL returns a result set. However, any actions you take on that data (besides just looking at it) involve data manipulation queries that use one of the following three T-SQL statements: INSERT, UPDATE, or DELETE. SQL queries that use these statements are sometimes known as action queries. You’ll learn about the basic uses of these statements. When you modify data in SQL Server, it is important to understand how isolation levels and locking can affect performance and concurrency. You’ll learn about these concepts and how they can affect T-SQL code you write, as well as mitigating measures you can take to avoid problems.


Lesson 1:

  • Inserting Data
  • Demo: Column Data Types
  • Demo: INSERT
  • Demo: NOCOUNT
  • Retrieving Identity Values
  • Demo: Identity Values
  • Demo: Inserting Quotes
  • Demo: Inserting Multiple Rows
  • Demo: Row Constructor
  • Demo: SELECT INTO.

Lesson 2:

  • Demo: Temp Tables
  • Uses for Temp Tables
  • Global Temp Tables
  • Demo: Global Temp Tables
  • Inserting With OUTPUT
  • Demo: Inserting With OUTPUT
  • Using Bulk Copy to Insert Data
  • Demo: BULK INSERT statement.

Lesson 3:

  • Updating Data
  • Demo: Updating Data
  • Demo: Dynamic Updates
  • Demo: Updating Large Values
  • Demo: CHARINDEX
  • Deleting Data
  • Demo: Deleting Data
  • Demo: TRUNCATE.

Lesson 4:

  • Isolation Levels
  • Blocking and Deadlocks
  • Deadlocks
  • Deadlock Resolution
  • Demo: Deadlock
  • Demo: Deadlock Resolution
  • Using Snapshot Isolation
  • Snapshot Isolation Caveats
  • Demo: Snapshot Isolation.