/build/static/layout/Breadcrumb_cap_w.png

KACE SQL Report

I am trying to run a report to show the total ticket count  for a specific time frame.  I just need a count for a psecific date range... no other data.  What would the SQL for this look like?

0 Comments   [ + ] Show comments

Answers (1)

Posted by: ondrar 5 years ago
Black Belt
1
This is for tickets created between October 1 and October 9, inclusive, and specific to one queue.


SELECT
  COUNT(ID)

FROM HD_TICKET

WHERE
  DATE(CREATED) BETWEEN '2018-10-01' AND '2018-10-09'
  AND HD_QUEUE_ID = 5

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ