CRM On Demand - Administration (MOSC)

MOSC Banner

TIMESTAMPDIFF function when filtered doesnt give proper results

edited Jun 12, 2012 1:58AM in CRM On Demand - Administration (MOSC) 1 commentAnswered
Hi,

I have a requirement to show only those records which were created in the last 12 months from current month. For this i used TIMESTAMPDIFF function with (month parameter,created date,current date). I found that in the table view, the results are shown correctly (numerical values for TIMESTAMPDIFF). For example, current month is June - so for a June 2011 record the difference evaluates to 12 and for a May 2011 record the difference evaluates to 13. Now if i put a filter on this difference and restrict it to <= 12, i can see that some of the records of May

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center