How delete Duplicate Rows in Table
Microsoft Net Framework

WITH DeleteDuplicate_Rows
AS (
SELECT 
E.Name
,Row_Number()Over(Partition By E.name Order by Name )AS DuplicateRows

 FROM Employee E)

 Delete from DeleteDuplicate_Rows
 Where DuplicateRows > 1

Share This with your friend by choosing any social account


Upcoming Articles
You may also read following recent Post
Copyright Future Minutes © 2015- 2024 All Rights Reserved.   Terms of Service  |   Privacy Policy |  Contact US|  Pages|  Whats new?
Update on: Dec 20 2023 05:10 PM