Page views by question ID

0

Please login or register to vote for this query.

(click on this box to dismiss)

Returns page views for given question ID as of last database update. Can be useful for seeing if there was a sudden spike in page views recently.

Stack Overflow

Q&A for professional and enthusiast programmers

DECLARE @QID int = ##QuestionID##

SELECT
  Post.ViewCount
FROM Posts AS Post
WHERE Post.Id = @QID

Enter Parameters

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