Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

What does NULL mean?

6 like 0 dislike
Hello
What does NULL mean in SQL server?
please reply me. i am waiting for your reply.
Thanx
asked 1 year ago by eagles11 (179,830 points)

1 Answer

1 like 0 dislike
 
Best answer
The value NULL is a very tricky subject in the database world, so don't be surprised if several applicants trip up on this question.
The value NULL means UNKNOWN; it does not mean '' (empty string). Assuming ANSI_NULLS are on in your SQL Server database, which they are by default, any comparison to the value NULL will yield the value NULL. You cannot compare any value with an UNKNOWN value and logically expect to get an answer. You must use the IS NULL operator instead.
answered 1 year ago by DBA-boss (120,990 points)

Related questions

5 like 0 dislike
1 answer
7 like 0 dislike
1 answer
7 like 0 dislike
1 answer
7 like 0 dislike
1 answer
7 like 0 dislike
0 answers