Ir para o conteúdo principal

List Tickets Created on the Weekend

em Example Reports
Lista de autores
Publicado: 22 de mai. de 2018|Última atualização: 3 de nov. de 2022

Requirement: create a report that lists all the titles of all tickets created on a weekend, using Eastern Standard Time.

This example uses the SQL WEEKDAY function.

Note the use of + INTERVAL 5 HOUR to adjust the time zone from UTC to EST.

SELECT tickets.subject FROM tickets WHERE WEEKDAY(tickets.date_created + INTERVAL 5 HOUR) IN (5,6)
copy
ÚtilNão útil
próxima páginaLinks to all Tickets each Agent resolved Last Month
página anteriorExporting User Data

Por favor, faça login ou registre-se para enviar um comentário.