Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Eliminating WHERE clauses with NOT
Message
De
04/11/2014 12:43:40
 
 
À
04/11/2014 10:53:22
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2012
Application:
Web
Divers
Thread ID:
01610458
Message ID:
01610477
Vues:
38
>>
>>WHERE Client.NoProvince=@NoProvince AND (Client.NoStatus<>@NoStatus OR Client.ModDate>=@ModDate)
>>
>
>I cannot understand how this would be the same.

NOT (A OR B) --> NOT A AND NOT B
NOT (A AND B) --> NOT A OR NOT B
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform