$ 0 0 how to dynamically add leading zeros in the below sql query. selectreplace(convert(CHAR(12),CAST(65.90ASDecimal(12,2))),'.','')65.90 is money data type columnI am getting the output like 6590,but i need to get 000000006590.How to do this?