‎2010 Mar 23 5:03 PM
Hello Group,
I want to fetch last record in the database table.
select profileid eff_date from dbtable.
as eff_date has the latest date, that has to be fetched.
Please could you advice on this.
Many Thanks,
Jagan.
‎2010 Mar 23 5:12 PM
Hello,
Can you not use the aggregate function MAX with the SELECT stmt ?
E.g.,
select profileid MAX( eff_date ) from dbtable.BR,
Suhas
‎2010 Mar 23 5:12 PM
Hello,
Can you not use the aggregate function MAX with the SELECT stmt ?
E.g.,
select profileid MAX( eff_date ) from dbtable.BR,
Suhas
‎2010 Mar 23 6:40 PM
Thanks for your response.
I already used this, I got a workaround finally.
Many Thanks.
Edited by: jagan.sdn on Mar 23, 2010 7:40 PM