We are using 3rd party software that allows us to create processing steps using Ad-hoc sql. This is the scenario;
Here's table 1: (Lookup table - *compound PK)
*Key *Key Rate minimum months of service
PTO1 .527 24
PTO1 .123 48
PTO1 .458...
I need to lookup up a value based on a range to determine length accrual rate based on length of employment. Example below.
1st table; Person reflects 27 months length of service using code 1.
2nd table; code 1 has 3 records. If 168 minimum months of service they get rate A, if 84 minimum...
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.