Member of the
LearnItFirst.com Video Training Network
Related Video Training Sites:
·
SQL Server DBA Tutorials
·
Integration Services Training
Create a free account
·
Sign In
Transact SQL Video Tutorial
Home
Subscriber 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
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
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
People Who Downloaded this Video Also Downloaded:
Title
Skill
Download
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 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
·
Corporate Philosophy
·
Advertise With Us
·
Become an Author
·
Contact Us
Video Playback
·
System Requirements
·
TSCC Codec
(to play videos)
·
Troubleshooting/Problems
Subscriptions
·
Pricing/Buy Now
·
Testimonials
·
Privacy
·
Terms of Service
More Video Training
·
SQL Server DBA Tutorials
·
Integration Services Training
·
All of Our Websites
More
·
FAQs
·
Search for videos
·
Site Map
© 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.
9/8/2008 8:52:04 AM