this is my code:
select sum(lonhand) from iciloc where loctid = stock,zbond and item=@item
@item is a parameter i passed. I'm not sure about the syntax but there is a table with where item come up twice. one for loctid=stock and one for loctid=bond. I'm trying to add the two together. Cant seem to get it right. Thanks in advance for any help.
Software Engineer
Team Lead
damn bill gates, he has everything
select sum(lonhand) from iciloc where loctid = stock,zbond and item=@item
@item is a parameter i passed. I'm not sure about the syntax but there is a table with where item come up twice. one for loctid=stock and one for loctid=bond. I'm trying to add the two together. Cant seem to get it right. Thanks in advance for any help.
Software Engineer
Team Lead
damn bill gates, he has everything