idno name first_date second_date -------------------------------------- 001 ivy 22/12/2017 17/11/2017 002 jon 14/03/2017 003 pet 15/09/2017
select idno, name, COALESCE (first_date ,second_date) as DateColumn from YourTableName
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)