Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

using an sql query to clean up the table

$
0
0

i have a table with such column(user_id,user_name,user_adress,salary) in my DB where user_id is the primary key and an auto-increment field..suppose virus attacked in my databse phpmyadmin..and some of the rows of my table have been copied multiple times and some rows being unchanged..nw i want to clean up the table..can anyone kindly give me a solution writing me a sql query..i have tried it with self join bt can reach the solution..


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>