Deleting Duplicate rows on a table with no unique key - Sql Server from tsql row number Watch Video
Preview(s):
Gallery
Play Video: (Note: The default playback of the video is HD VERSION. If your browser is buffering the video slowly, please play the REGULAR MP4 VERSION or Open The Video below for better experience. Thank you!)
Description: Sometimes you have to delete duplicates from a table, but the table does not have a unique key like an identifier to make it easier.The technique shown in this video uses the Row_Number() Window function in TSQL to get around this problem.
Play Video: (Note: The default playback of the video is HD VERSION. If your browser is buffering the video slowly, please play the REGULAR MP4 VERSION or Open The Video below for better experience. Thank you!)