Created
August 16, 2017 17:15
-
-
Save jonesnc/cc2f56742a011685d2c2bc3cff264c25 to your computer and use it in GitHub Desktop.
Oracle SQL question
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT CASE | |
WHEN column_a IS NULL | |
THEN 'column a missing' | |
WHEN column_b IS NULL | |
THEN 'column b missing' | |
END | |
FROM (SELECT | |
1234, | |
NULL AS column_a, | |
NULL AS column_b | |
FROM dual) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment