Get question and aswers by ID

0

Please login or register to vote for this query.

(click on this box to dismiss)

Spanish Language

Q&A for linguists, teachers, students and Spanish language enthusiasts in general wanting to discuss the finer points of the language

DECLARE @PostId int = ##PostId?0##;

SELECT Id, Title, Score, [Body], CreationDate
FROM Posts
Where Id=@PostId
UNION ALL 
SELECT Id, Title, Score, [Body], CreationDate
FROM Posts
Where ParentId=@PostId

Enter Parameters

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