Hello, I have an SQL statements that uses 3 fiels
This works well but if I want to multiply the pcsper times the quantity it sometimes does the calculations and it sometimes does not. here is the code I am using
the above gives me the following
Not sure why the sql statement won't work with all the rows. kind of stomp on tis one.
any help is much appreciated
Code:
(case when TBC='P' then 1/SRLHU end)as pcsper
Code:
((case when TBC='P' then 1/SRLHU end)*TQCTD)as STDHrs
the above gives me the following
Code:
TBC pcsper SRLHU TQCTD STDHrs
P .00200 500.00 2610
P .00238 419.99 98 .2333
P .00294 339.99 1936
any help is much appreciated