select PostId as [Post Link], 'http://stackoverflow.com/p...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select 
   PostId as [Post Link], 
   'http://stackoverflow.com/posts/' + cast(p.Id as varchar(100)) + '/revisions', 
   Text
   from PostHistory ph
join Posts p on p.Id = ph.PostId
where PostHistoryTypeId = 2
and Text  = upper(Text) COLLATE SQL_Latin1_General_CP1_CS_AS
and ph.CreationDate > (select CreationDate from Posts where Id = (select max(Id) from Posts)) - 30
and p.PostTypeId in (1,2)

Enter Parameters

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