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: Design Pattern for Finding Duplicate Data - A Simple Way to Spot Non-Unique Rows (Single Column Test)

   Chapter: Design Patterns for Transact-SQL
Download! Skill Level: 300 (Intermediate)
Duration: 14:16
Size: 10.8MB
Versions/Editions Covered: SQL Server 2005 , SQL Server 2008 , SQL Server 2000
Added/Updated: Apr 18, 2006

Download this video
Let's say that you have a Primary Key on "SubscriberId" but you want to locate rows that live in the same Country - how would you do it? This query talks about spotting duplicates in a single column (like "Country" in this case). Primary Keys prevent duplicate data in the table but they don't necessarily prevent duplicates across non-key columns. This video is all about spotting single-column duplicates and it uses subqueries and the EXISTS operator to help you locate the dupes.
Tags for this video: correlated exists simple sub-queries sub-query SUBQUERY  
< 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
Query Analyzer - Beyond the Basics (SQL Server 2000) 200 Download
When to Use HAVING Instead of WHERE - Aggregates, GROUP BY, and the HAVING Claus... 300 Download
JOINs and UNIONs - How Do I Know When to Use a JOIN or a UNION? 300 Download

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!
 
9/8/2008 8:52:04 AM