Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ANSI_NULLS comparison problem
Message
 
 
À
30/01/2007 03:29:33
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01190063
Message ID:
01190409
Vues:
19
You're welcome.

>
>In so many words - Thank's!
>
>>The ELSE in the first example is never executed when SET ANSI_NULLS OFF.
>>SELECT #Temp.*,
>>   CASE WHEN (#Temp.S1 = #Temp.S2) OR COALESCE(#Temp.S1,#Temp.S2) IS  NULL THEN 1
>>        ELSE 2  END AS S3 From #Temp
>>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform