2010-03-25 4 views

Répondre

9

OUI.

essayer avec une requête simple:

SELECT CASE WHEN 2 in (1,2) then 'B' ELSE 'A' END 

SORTIE:

---- 
B 

(1 row(s) affected) 

alors:

SELECT CASE WHEN 3 in (1,2) then 'B' ELSE 'A' END 

SORTIE:

---- 
A 

(1 row(s) affected) 
+1

+1: bel exemple propre – RedFilter

Questions connexes