Guest User

Untitled

a guest
Jun 25th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. select * from tableName
  2. where columnName = CASE WHEN (condition) THEN NULL ELSE columnName END
  3.  
  4. select * from tableName
  5. where ((condition) AND columnName IS NULL) Or (Not (condition))
Add Comment
Please, Sign In to add comment