Select from following answers:- Returns records which has values in profession column
- Gives an error.
- Does not retrieve any records even if profession column contains values
- None
- All Above
because of WHERE (Profession <> NULL) condition the query returns NO records..
Reason: Any condition against the NULL will becomes false and also notice that we have set ANSI_NULLS ON;
If there is ANSI_NULLS OFF then we can get the result which satisfy our condition...
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator