รับการประทับเวลากิจกรรมสำหรับผู้ใช้ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Get activity timestamps for a user.It is not neccessary to use all the tables.
 TagSynonyms:  Id [ number]  SourceTagName [ text]  TargetTagName [ text]  CreationDate [ time]  OwnerUserId [ number]  AutoRenameCount [ number]  LastAutoRename [ time]  Score [ number]  ApprovedByUserId [ number]  ApprovalDate [ time] 
WITH alldata AS (SELECT CreationDate, ROW_NUMBER() OVER (ORDER BY CreationDate) AS row FROM (SELECT CreationDate FROM Comments WHERE UserId = '##UserId##' UNION ALL SELECT CreationDate FROM PostHistory WHERE UserId = '##UserId##' UNION ALL SELECT CreationDate FROM Votes WHERE UserId = '##UserId##') AS T) SELECT CreationDate FROM alldata WHERE row >= '##StartRow:INT?1##' AND row <= '##EndRow:INT?50000##' ORDER BY CreationDate DESC