Recent Long Answers


Please login or register to vote for this query.

(click on this box to dismiss)

Database Administrators

Q&A for database professionals who wish to improve their database skills and learn from others in the community

SELECT TOP 100 q.Id AS [Post Link], q.Tags, LEN(a.Body) AS AnswerLength, 
  a.Score, a.OwnerUserId AS [User Link]
  FROM dbo.Posts a
  JOIN dbo.Posts q ON a.ParentId = q.Id
  WHERE a.PostTypeId = 2
    AND a.DeletionDate IS NULL
    AND a.CreationDate >= DATEADD(dd, (-1 * ##DaysBack:int?30##), GETDATE())
    AND a.OwnerUserId NOT IN
      (SELECT TRY_CAST(value AS BIGINT) FROM STRING_SPLIT(##IgnoredUserIds:string?-1,26837,2639##, ','))
-- IgnoredUserIds: Ignored UserIds "Comma-delimited list of IDs to ignore"
-- DaysBack: Days back to search "Integer. The further back you go, the longer this might take."

Enter Parameters

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