Hello,
I need some direction with searching for a value using two tables.
I need to search for the p.pattern value with the d.itemnmbr
Exmample
SELECT p.pattern, d.itemnmbr, d.itemdesc,
d.qtyorder, d.unitcost, c.cmmttext
FROM pop10100 h
left outer join POP10110 d on d.ponumber=h.ponumber
left outer join pop10550 c on d.ponumber=c.popnumbe
left outer join a_patternlocation P on p.vendor=d.vendorid
where d.itemnmbr like p.pattern
The return results are multiple records for each p.pattern in Table P
Sorry if this a dumb question.
Wzup
I need some direction with searching for a value using two tables.
I need to search for the p.pattern value with the d.itemnmbr
Exmample
SELECT p.pattern, d.itemnmbr, d.itemdesc,
d.qtyorder, d.unitcost, c.cmmttext
FROM pop10100 h
left outer join POP10110 d on d.ponumber=h.ponumber
left outer join pop10550 c on d.ponumber=c.popnumbe
left outer join a_patternlocation P on p.vendor=d.vendorid
where d.itemnmbr like p.pattern
The return results are multiple records for each p.pattern in Table P
Sorry if this a dumb question.
Wzup