Database Development

Removing Duplicate Records From DataTable in C#.NET

If a database table contain duplicate records the it is easy to select unique records by using DISTINCT function. but when a .Net DataTable contain duplicate records then, there no built-in function to remove or select unique records from a DataTable.

CASE Expression (T-SQL) Explanation with Examples in SQL SERVER

This article explains, how to use Simple CASE Expression and Searched CASE Epxression in SQL Server (T-SQL) or as a formula of a particular column.