DECLARE @UserId int = ##UserId## SELECT TOP 100 Id AS [U...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity

Q&A for committed Christians, experts in Christianity and those interested in learning more

-- Enter Query Title
-- Enter Query Description

DECLARE @UserId int = ##UserId##
SELECT
    TOP 100
    Id AS [User Link], 
    CAST(DateDiff(dd,CreationDate,getdate()) AS VARCHAR) + ' Days' as MemberFor,
    UpVotes, 
    DownVotes, 
    (UpVotes + DownVotes) AS Total
FROM
    Users
Where Users.Id=@UserId
 

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results