Video description
Also covered in the video is the MERGE statement. You’ll learn how this little used but very useful statement works to make extract, transform, load (ETL) processes much more streamlined. You’ll learn to throw large numbers of rows at your database, letting the MERGE statement sort out which rows represent new data to be inserted, and which represent updates to existing data. You’ll be able to write cleaner load processes for data warehouses, data marts, and other reporting statements using your knowledge of MERGE.
- Add data to your database using INSERT and MERGE statements
- Update data in place without sending it back and forth over the network
- Choose correctly from three possible ways of removing unwanted data
- Streamline ETL process used to load data marts and data warehouses
- Automatically generate primary keys to uniquely identify new records
Table of contents
- Introduction 00:01:37
- What is Data Manipulation Language (DML) 00:02:24
- INSERT Records into a Table 00:04:56
- INSERT Records into an IDENITY field 00:04:56
- INSERT Records using Sequence Objects 00:02:52
- INSERT Records from Existing Tables 00:03:18
- UPDATE Records in a Table 00:03:39
- DELETE Records in a Table 00:02:35
- DELETE vs DROP vs TRUNCATE 00:03:05
- Using the Output Clause 00:03:19
- MERGE Records between Tables 00:07:09
- DML Wrap-Up 00:01:33
Product information
- Title: T-SQL Data Manipulation: Inserting, Updating, Deleting, and Merging in SQL Server
- Author(s):
- Release date: May 2019
- Publisher(s): Apress
- ISBN: 9781484249932
You might also like
video
SQL Server 70-761: Querying Data with Transact-SQL
Nearly 13 Hours of Expert Video Instruction Overview This complete video course guides you hands-on through …
video
SQL Server 70-767: Implementing a Data Warehouse Using SQL
8+ Hours of Video Instruction Prepare for Microsoft Exam 70-767: Implementing a Data Warehouse Using SQL, …
book
SQL Server Data Automation Through Frameworks: Building Metadata-Driven Frameworks with T-SQL, SSIS, and Azure Data Factory
Learn to automate SQL Server operations using frameworks built from metadata-driven stored procedures and SQL Server …
book
T-SQL Querying
T-SQL insiders help you tackle your toughest queries and query-tuning problems Squeeze maximum performance and efficiency …