Thanks Lewisp!
date in the table doesn't have time. and i just want to return one row based on my condition. if the parameter passing matches with the table date then return that date else if it doesn't match then return the latest date in the table
Thanks,
Hi friends,
i have a cursor in which I am passing two parameters (eff_dt and empl_id).
In a table there can be more than one record for a employee with the diff effective date.
I want to do a select on a table when eff_dt is not null and table column effective date = parameter eff_dt then select...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.