Member of the LearnItFirst.com Video Training Network Related Video Training Sites: · SQL Server DBA Tutorials · Integration Services Training
   
Transact SQL
                        Training Videos

Transact SQL Tutorial: Pt 3 - How to Delete Duplicate Rows in a SQL Server Table Using the Rank() Function

   Chapter: Design Patterns for Transact-SQL
Download! Skill Level: 500 (Advanced)
Duration: 11:45
Size: 13.5MB
Versions/Editions Covered: SQL Server 2005 , SQL Server 2008 , SQL Server 2000
Added/Updated: Nov 16, 2007

Download this video
This final video on how to delete duplicate rows in a SQL server table via use of the RANK ( ) function will show you an alternative placement of the ranking function.

Highlights:
  • Where can I put the RANK function and where will it accurately work?
  • Reason for JOIN of actual table to duplicates
Tags for this video: delete duplicate function JOIN RANK RANK placement rows table values  
< Back Download this video
AddThis Social Bookmark Button
People Who Downloaded this Video Also Downloaded:
TitleSkillDownload
Subqueries, Nested Queries, and Derived Tables - An Introduction to Advanced SQL... 300 Download
Constraint Keys, Index Keys, Composite Keys, Natural keys, and Surrogate Keys 200 Download
When to Use HAVING Instead of WHERE - Aggregates, GROUP BY, and the HAVING Claus... 300 Download
Query Analyzer - Beyond the Basics (SQL Server 2000) 200 Download
JOINs and UNIONs - How Do I Know When to Use a JOIN or a UNION? 300 Download
This video is part of the following video series: "How to Delete Duplicate Rows In Your SQL Server Tables Using the RANK() Function and Common Table Expressions (CTEs)"
In this three-part series, our SQL author, Scott Whigham, shows you how you can delete duplicate rows in a SQL table using SQL Server 2005/SQL Server 2008.

NOTE: This is an advanced series requiring knowledge of correlated subqueries, HAVING/GROUP BY/AGGs, RANK(), ROW_NUMBER(), derived tables, and recursive Common Table Expressions (CTEs). It depends on you already knowing how to find the duplicates and shows you how you can delete these duplicate rows. For reference, the following videos may help prepare you:
To view all videos in this series, click here

About the Instructor:

Scott Whigham Scott Whigham is the founder of LearnItFirst.com, one of the web's most extensive video training libraries focusing on technical training. Scott is also an experienced consultant, trainer, and author with more than a decade of hands-on experience working with SQL Server databases, writing and debugging applications using Visual Studio, and performance tuning. Scott designed the architecture (websites, class libraries, and database) for the LearnItFirst.com websites and, most re... (Scott Whigham's full bio can be found on the About the Author page)

   
 
About Us Video Playback Subscriptions More Video Training More
 
© Copyright 2004-2008 LearnItFirst.com LLC. All rights reserved. All trademarks remain the property of their respective owners. This site is not affiliated in any way with the Microsoft Corporation. Refer a Friend and Get a Free Subscription!
 
11/20/2008 7:07:20 PM