range between values
Posted: Thu Sep 24, 2009 8:22 am
hi ,
i have rw=equirement like this...
i got data from 2 tables fields like
table1
if lenth of value is one the multiply by 10
ex :1*10=10
table2 fields like
from to rating
5 10 1
11 20 2
21 30 3
suppose table1 value falls between any of table2 fields from and to corresponding rating value needs to be load into target.
ex :
if tbl1 value is 9 then rating should be 1(range between from and to)
please help
i have rw=equirement like this...
i got data from 2 tables fields like
table1
if lenth of value is one the multiply by 10
ex :1*10=10
table2 fields like
from to rating
5 10 1
11 20 2
21 30 3
suppose table1 value falls between any of table2 fields from and to corresponding rating value needs to be load into target.
ex :
if tbl1 value is 9 then rating should be 1(range between from and to)
please help