Posts containing some of the given texts in revision history


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow на русском Meta

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

SELECT DISTINCT TOP ##num?100## p.Id AS [Post Link], 
  p.OwnerUserId AS [User Link], p.CreationDate, p.LastActivityDate, p.Score,
  url = 'site://posts/' + CAST(p.Id AS varchar)+'/revisions'
  FROM Posts p JOIN PostHistory ph ON (ph.PostId=p.Id)
  cross join string_split(##words:string?e,a##, ',')
  WHERE text like concat('%', value ,'%')
  ORDER BY p.CreationDate DESC

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results