Все мои комментарии

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow на русском

Вопросы и ответы для программистов

DECLARE @UserId int = ##UserId##

SELECT 
c.Score,
c.CreationDate 'Comment Date',
c.Text
FROM
    Comments c, PostTypes pt, Posts p
WHERE  UserId = @UserId
  AND  p.PostTypeId = pt.Id
  AND  c.PostId = p.Id
ORDER BY 
    c.CreationDate ASC

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results