G
Guest
SELECT SUM (care_charges + other_charges + Pay_late_fee_daily + pickup_late_fee_minute + payment_amount)
FROM payments
WHERE ID = MMColParam AND year(payment_duedate) < year(now()) AND year(other_charges_date) < year(now()) AND year(pay_late_fee_date)
< year(now()) AND year(payment_date) < year(now()) AND year(pickup_late_fee_date) < year(now())
this use to pick up all the right info... now it picks up nothing
any ideas?
thanks!
FROM payments
WHERE ID = MMColParam AND year(payment_duedate) < year(now()) AND year(other_charges_date) < year(now()) AND year(pay_late_fee_date)
< year(now()) AND year(payment_date) < year(now()) AND year(pickup_late_fee_date) < year(now())
this use to pick up all the right info... now it picks up nothing
any ideas?
thanks!