count decimal places with Access query -
please give me sql count decimal places in unit_price in access 2007 query thank much
select sysadm_part.id, sysadm_part.unit_price sysadm_part;
i think might (but haven't tried it):
select sysadm_part.id, sysadm_part.unit_price, (len([sysadm_part.unit_price]) - instrrev(str([sysadm_part.unit_price]), ".")) decimal_places sysadm_part
this educated guess. assumed unit_price number, thats why have converted string.
apologies, if wrong.
let me know if works, don't have anyway try it!
Comments
Post a Comment