I am attempting to write a query to select records from a table that are identical except for the effective date of the records. The table looks somthing like this:
UICDR PARA LIN Auth EffDate
WBTAAA 101 02 3 2003/10/17
WBTAAA 101 02 3 2002/09/18
WBTAAA 101 02 3 2000/10/16
WFYTAA 102 01 2 2002/09/16
WFYTAA 102 01 2 2001/08/28
As you can see, some of the records have EffDate values that have not yet come to pass, and as such, I need to filter out these records. Others have multiple EffDate values that have already passed, and as such I need to filter them out as well. I want to select only those records with the most recent effective date, based on today's date.
Can anyone help me?
Thanks,
Captain_D
UICDR PARA LIN Auth EffDate
WBTAAA 101 02 3 2003/10/17
WBTAAA 101 02 3 2002/09/18
WBTAAA 101 02 3 2000/10/16
WFYTAA 102 01 2 2002/09/16
WFYTAA 102 01 2 2001/08/28
As you can see, some of the records have EffDate values that have not yet come to pass, and as such, I need to filter out these records. Others have multiple EffDate values that have already passed, and as such I need to filter them out as well. I want to select only those records with the most recent effective date, based on today's date.
Can anyone help me?
Thanks,
Captain_D