SELECT * FROM (SELECT TOP 1 create_date AS [Voted On], -...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Reverse Engineering Meta

Q&A about the site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation

SELECT * FROM

  (SELECT TOP 1 create_date AS [Voted On], -1 AS [User Link]
   FROM sys.databases 
   WHERE name NOT LIKE '%_Temp'
   ORDER BY create_date DESC) AS last_updated

UNION ALL

SELECT CreationDate AS [Voted On], UserId AS [User Link]
FROM votes
WHERE VoteTypeId = 5 AND PostID = ##PostId##

ORDER BY 1 DESC

Enter Parameters

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