"A. Van Hook" <hook(at)kcp(dot)com> writes:> this worked in 7.2.3> "select sum(cr) from ar where date(tdate) = now() -1 "> but not in 7.3.3> What's the proper syntax for 7.3.3???
Perhaps you want current_date - 1.
regards, tom lane