The below commnand ran successfully when i click the respective button but no changes on the database
SqlCommand command = new SqlCommand("select distinct * into #tmp From bounce delete from bounce insert into bounce select * from #tmp drop table #tmp)", connection);
connection.Close();
MessageBox.Show("Cleared Duplicates");
Note: Table bounce having only one column called email to remove the duplicates I created this button function
Uttam ChaturvediPosted Feb 28, 2018, 4:57 PM
Tushar DikshitPosted Feb 28, 2018, 10:02 AM
Nitin SontakkePosted Feb 28, 2018, 7:49 AM
Ravi SangtaniPosted Feb 28, 2018, 2:34 AM
Piyush PansuriyaPosted Feb 28, 2018, 2:15 AM
Shankar MPosted Feb 28, 2018, 2:08 AM
Piyush PansuriyaPosted Feb 28, 2018, 2:02 AM
Shankar MPosted Feb 28, 2018, 1:58 AM
Piyush PansuriyaPosted Feb 28, 2018, 1:51 AM
Shankar MPosted Feb 28, 2018, 1:47 AM
Shankar MPosted Feb 28, 2018, 1:40 AM
Piyush PansuriyaPosted Feb 28, 2018, 1:33 AM