Använd en lite annorlunda syntax:
Select case WHEN userID = '12345' And status = 'Active' Then '12' Else userID End
from userInformation
Använd en lite annorlunda syntax:
Select case WHEN userID = '12345' And status = 'Active' Then '12' Else userID End
from userInformation