...convert, but that is still not working, below is what I have, I get 0's for both.
Not working.
cast( round( case wh_skid when 0 then 0 else 100 * convert(decimal(9,2), (wh_skid/totalskid)) end, 0 ) as int )
Not working either.
select wh_skid/(select sum(wh_skid) from ipc_warehouse) from...