How much rep would you have if there was no reputation cap
Q&A about the site for builders and users of networked sensors and control devices in the contexts of smart homes, industry automation, or environmental sensors
-- A Users total Rep if there was no reputation cap
-- How much rep would you have if there was no reputation cap
DECLARE @UserId int = ##UserId##
WHEN VoteTypeId = 1 THEN 15 -- Accepted answer.
WHEN VoteTypeId = 2 AND PostTypeId = 1 THEN 5 -- Upvoted question
WHEN VoteTypeId = 2 AND PostTypeId = 2 THEN 10 -- Upvoted answer.
WHEN VoteTypeId = 3 THEN -2 -- Downvote.
WHEN VoteTypeId = 9 THEN isnull(BountyAmount,100)
Posts ON Posts.Id = Votes.PostId
Posts.OwnerUserId = @UserId