I'm not that good with SQL but I'm doing my best. I have been looking for over a week on how to do this but I cannot figure it out. I want the Closed Date and Time to just be the month. How or can this be done?
Thanks in advance
Doug
Code:
SELECT Incident."Incident #", Incident."Open Date & Time", Incident."Close Date & Time", Incident.Escalation, Incident."Priority:", Incident."Group Name", Incident."Department ID"
FROM {oj SDE."GAO NOTIFICATION".Incident Incident LEFT OUTER JOIN SDE.EXTERNAL_SUPPORT."Groups Details" "Groups Details" ON Incident."Open By Group" = "Groups Details".Sequence}
WHERE (Incident."Open Date & Time" Between {ts '2007-03-01 00:00:01'} And {ts '2007-03-31 00:00:01'}) AND (Incident."Group Name"='CLIENT SERVICES')
ORDER BY Incident."Close Date & Time", Incident.Escalation
Thanks in advance
Doug