SELECT *, CASE WHEN ApprovalDate IS NOT NULL THEN 2 Else ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Gardening and Landscaping

Q&A for gardeners and landscapers

SELECT *, 
CASE  
    WHEN ApprovalDate IS NOT NULL THEN 2
    Else 0
END AS Answer
FROM SuggestedEdits
WHERE OwnerUserId = ##UserId##

Enter Parameters

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