Date1 ="1/3/2012 8:30:00 AM" and Date2 = "1/3/2012 5:44:00 PM"
insert into Table (Date) values ('2005-03-01 08:30:00 AM') insert into Trans (Date) values ('2012-03-01 05:44:00 PM')
SELECT MAX(Date) FROM Table
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)