|
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and isapprove=1 and (to_days(overdue) - to_days(sysdate())) >0' at line 1 The Query is: SELECT count(*) as rowCount from msw_sndinfo where sndid = and isapprove=1 and (to_days(overdue) - to_days(sysdate())) >0
|