Dear Friends:
I have this case and i don't know if there's a solution for it.
I have the following units table
ID NAME SUBUNIT CONVERSION
1 Kg 1 1
2 Ton 1 1000
3 Each 3 1
4 Pack*2pc 3 2
5 Box*8Pck 4 8
I want to get all units where have a link with 'Each' like:
Each-Pack*2pc-Box*8Pck
and if i choose Kg show me: Kg-Ton
in case I want to select the Pack*2pc show me: Pack*2pc-Box*8Pck
the search has to go from bottom to top.
Any SQL that does this?
Thanks in advance.
John Vai
I have this case and i don't know if there's a solution for it.
I have the following units table
ID NAME SUBUNIT CONVERSION
1 Kg 1 1
2 Ton 1 1000
3 Each 3 1
4 Pack*2pc 3 2
5 Box*8Pck 4 8
I want to get all units where have a link with 'Each' like:
Each-Pack*2pc-Box*8Pck
and if i choose Kg show me: Kg-Ton
in case I want to select the Pack*2pc show me: Pack*2pc-Box*8Pck
the search has to go from bottom to top.
Any SQL that does this?
Thanks in advance.
John Vai