Brug en lidt anden syntaks:
Select case WHEN userID = '12345' And status = 'Active' Then '12' Else userID End
from userInformation
Brug en lidt anden syntaks:
Select case WHEN userID = '12345' And status = 'Active' Then '12' Else userID End
from userInformation