My Questions

0

Please login or register to vote for this query.

(click on this box to dismiss)

Reverse Engineering Meta

Q&A about the site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation

-- Dump your own question posts and answer posts (for backup purposes).

DECLARE @UserId int = 19177745;

-- Get my questions
select Id as [Post Link], body, tags, ParentId, OwnerUserId
from Posts 
where OwnerUserId = @UserID AND ParentId IS NULL

UNION 

-- Get my answers
select Id as [Post Link], body, tags, ParentId, OwnerUserId
from Posts 
where OwnerUserId = @UserID AND ParentId IS NOT NULL
ORDER BY OwnerUserId ASC;

Enter Parameters

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