結果 : sql server greatest of two dates