I have these result below and all I want is that days and records of days that there is no count.
Thanks below is the query I used
SELECT dateadd(hour, datediff(hour, 0, date_sent_to_adobe), 0) as TimeStampHour, Count(*) 'Total Count this Hour' FROM [Publication_Data_Management].[AdobeExtract].[Membership_Detail] GROUP BY dateadd(hour, datediff(hour, 0, date_sent_to_adobe), 0) ORDER BY dateadd(hour, datediff(hour, 0, date_sent_to_adobe), 0) desc
is it because the way the query is written it will only show dates in the table , how can I rewrite the query to show date with every hour and also show hours where there is no count of records. see the attached picture.
I want to also date hour of records without a count of records.