Usa una sintassi leggermente diversa:
Select case WHEN userID = '12345' And status = 'Active' Then '12' Else userID End
from userInformation
Usa una sintassi leggermente diversa:
Select case WHEN userID = '12345' And status = 'Active' Then '12' Else userID End
from userInformation