Gets the times which a user has been active
Q&A about the site for professional and independent game developers
-- Active Times -- Gets the times which a user has been active select datepart(hh, creationdate) as CC from posts where owneruserid = ##UserId## union all select datepart(hh, creationdate) as CC from comments where userid = ##UserId## order by CC