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.
Q&A for professional and enthusiast programmers
DECLARE @QID int = ##QuestionID## SELECT Post.ViewCount FROM Posts AS Post WHERE Post.Id = @QID