Select SUM(CFD_PrincipalAmount) where AP_Indicator="A" AND Column_date between Prior_date('yyyy/mm/dd') AND Getdate('yyyy/mm/dd')
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)