select top 1000 p.id as [Post Link], p.LastActivityDate, ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for programmers

select top 1000
    p.id as [Post Link], p.LastActivityDate,
    p.*
from posts as p
/*join PostNotices as pn on p.Id = pn.Id*/
where
    p.PostTypeId = 2 and
    p.OwnerUserId = ##USERID## 
/*    and p.DeletionDate IS NULL*/
order by p.CreationDate desc

Enter Parameters

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