|  |  | 
|  |  | Archives of the TeradataForumMessage Posted: Wed, 02 Jul 2003 @ 21:58:38 GMT
 
 You can use COALESCE for each date to eliminate NULLs: min(coalesce(t1.date1, cast( '19000101' as date format 'YYYYMMDD') ) , ....... 
 | ||||||||||||||||||||||||||||||||||||||||||||||
|  | ||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | ||||||||||||||||||||||||||||||||||||||||||||||||
|   | ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||