Click here to Skip to main content
15,904,494 members

Comments by Bigprey (Top 22 by date)

Bigprey 8-Nov-16 23:55pm View    
Since they are limiting a lot such as how the images are shown in the Emails strictly, I too thought of getting a copy of the each mails through a BCC to my own Gmail. But's its not allowed, it seems. Anyway, thanks
Bigprey 8-Nov-16 6:34am View    
@F-ES Sitecore You are right... Only the Gmail's BCC are not allowed. I thought since "To" addresses including some gmail ids are going fine, then it should also accept BCC. Anyway, I only thought of knowing how the mail gets shown up in gmail. So, I can't find it through BCC method.

Thanks mate for your help.
Bigprey 8-Nov-16 3:55am View    
I don't receive the BCC mails. It's one of my own email id and it does exist.
Bigprey 17-Oct-16 5:16am View    
For the corrected query

SELECT DISTINCT roo.[Sports], roo.[Name], COUNT(DISTINCT chu.ChatUserLogId) AS TotalUsers, COUNT(DISTINCT liu.[LoggedInUserID]) AS UserOnline

FROM Room AS roo

LEFT JOIN LoggedInUser AS liu ON roo.RoomID = liu.RoomID
LEFT JOIN ChatUserLog AS chu ON roo.RoomID = chu.RoomID AND chu.LoggedInTime >= DATEADD(DAY,-30,GETDATE())

GROUP BY roo.[Sports]

ORDER BY TotalUsers DESC";

I am getting say, Basketball repeated n number of times for n number of Roomnames and Football repeated m number of times for m number of Roomnames in Football category.

What are the mistakes, I have done here?
Bigprey 13-Oct-16 5:48am View    
And have to remove "ChatRoomName" alias as well for roo.[Name], right? It is being used at the last.

One more doubt. Don't I have to use ISNULL for Count, since it has more chance to be coming 0 too?

Thanks