Questions with a specific word in the initial body (case insensitive)

1

Please login or register to vote for this query.

(click on this box to dismiss)

Poker Meta

Q&A about the site for serious players and enthusiasts of poker

SELECT TOP(##num?100##)
  p.Id AS [Post Link], 
  ph.Text AS [Initial Title], 
  concat('site://posts/',
        p.Id,
        '/revisions'
        ) [Revisions Link],
  p.OwnerUserId AS [User Link], p.Score, p.Tags, p.CreationDate
FROM Posts p INNER JOIN PostHistory ph ON ph.PostId=p.Id
WHERE (ph.PostHistoryTypeId=2) AND (p.PostTypeId=1) 
  AND (ph.Text Like '%##word?urgent##%' COLLATE Latin1_General_CI_AI) 
ORDER BY p.Id DESC
---PostHistoryTypeId (listed in the PostHistoryTypes table)
---1 = Initial Title - initial title (questions only)
---2 = Initial Body - initial post raw body text

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results