General information
Forum:
Microsoft SQL Server
select sum(qtyshp) + @qtyord from pkpro..artran as a inner join icitem as i on a.item = i.item where custno = @custno and i.comcode = 'KR' and a.item like 'X%'
I'm kinda stuck on this one, I'm not sure if this is right. I basically want to make sure that every a.item like 'X%' has a comcode of 'KR'. I think this is right....any help would be great! TIA!!!
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only