Created
September 23, 2020 20:29
-
-
Save marketingclouded/9c49eebe96b37bc77d393921fc9b218a to your computer and use it in GitHub Desktop.
Tracking Email Performance in SFMC: Overwrites Email_Performance_Sched w _Sent and _Job Info
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT TOP 9223372036854775807 | |
e.EmailName, | |
e.SchedTime AS 'SentTime', | |
e.JobID, | |
COUNT(d.JobID) AS 'Sent' | |
FROM _Job e | |
JOIN _Sent d | |
ON d.JobId = e.JobId | |
WHERE e.TriggererSendDefinitionObjectID IS NULL | |
GROUP BY e.EmailName, e.SchedTime, e.JobId | |
HAVING e.JobID != '' AND COUNT(d.JobId) > 10 | |
ORDER BY e.SchedTime DESC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment