The data deduplication function removes duplicate data from a column.

Source: Internet
Author: User

The data deduplication function removes duplicate data from a column.
 

DataTable dt_temp = dt. asEnumerable (). cast <DataRow> (). groupBy (p => p. field <string> ("table_names_en ")). select (p => p. firstOrDefault ()). copyToDataTable ();

Source: http://www.cnblogs.com/haofaner/p/5098804.html

 

 

Method 2: Source: http://www.cnblogs.com/yajunLi/p/4598552.html

 

Method 3: Source: http://blog.csdn.net/q107770540/article/details/6252339

 

Method 4: Source http://blog.csdn.net/lee576/article/details/17188809

 

Method 5: Source http://bbs.csdn.net/topics/370044010

Http://bbs.csdn.net/topics/310137345

Method 6: Database deduplication

Http://www.codeisbug.com/Doc/8/1144

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.