select sum(cast(SUBSTRING(total,2,(LEN(total)))as int)) as Total from tbl_preorder
select SUM(CAST(SUBSTRING(total, 2,100)AS Decimal)) from tbl_preorder
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)