Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
DECLARE @EmployeeCount int DECLARE @inputID int SET @inputID=2 SELECT @EmployeeCount=COUNT(DISTINCT(intUserID)) from tableSendResponse as theTotal where SendID IS NOT NULL AND (SendID=@inputID) PRINT @EmployeeCount SELECT convert(varchar(30), DATEADD(hh,DATEPART(hh, [ResponseDateTime])), 100) dates, ((CAST(COUNT(intUserID) AS FLOAT)/@EmployeeCount)*100) theCount FROM tableSendResponse where ResponseDateTime IS NOT NULL GROUP BY convert(varchar(30), DATEADD(hh, DATEPART(hh, [ResponseDateTime]), CAST(FLOOR(CAST([ResponseDateTime] AS FLOAT)) AS DATETIME)),100)
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.