Posts Tagged SQL

SQL – Find Orphaned Records

I created a quick stored procedure the other day to find orphaned records in a SQL 2000 database:

http://drop.io/SQL_FindOrphans

Add comment July 7, 2008

SQL Query to find duplicates

SELECT [column_a], [column_b], COUNT(*) as NumDuplicates
FROM [tablename]
GROUP BY [column_a], [column_b]
HAVING COUNT(*) > 1

Add comment May 9, 2008


Tags

.Net .Net Events Application Lifecycle Management Book Review Consulting Family Life Me Microsoft Event Project Management Source Control Management SQL

Archives

Feeds