select q.title, OwnerDisplayNameCased = case when OwnerD...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Super User

Q&A for computer enthusiasts and power users

select q.title, OwnerDisplayNameCased = case  when OwnerDisplayName is null then 'Null' else 'NotNull' end, 
OwnerDisplayName, 
OwnerUserIdCased = case when OwnerUserId is null then 'Null' else 'NotNull' end, 
OwnerUserId
from posts q where q.id=37449

Enter Parameters

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