TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Anjali Khan
NA
867
224.7k
Remove duplicate record from a table
Sep 29 2017 11:42 AM
Hi frnds How to remove duplicate records from a table? I know from the below query but my table name is employee so y we used tempemp . Remove Duplicate Records by using ROW_NUMBER() WITH TempEmp (Name,duplicateRecCount) AS. ( SELECT Name,ROW_NUMBER() OVER(PARTITION by Name, Salary ORDER BY Name) AS duplicateRecCount. FROM dbo. Employee. ) --Now Delete Duplicate Records
Reply
Answers (
1
)
difference between stored procedure and view's
Why and when we use function in SQL?