WHAT IS A NULL VALUE IN SQL?

547 viewsSQLSQL
0

WHAT IS A NULL VALUE IN SQL?

Saraswat World Changed status to publish June 14, 2023
0
NULL VALUE in SQL
NULL VALUE in SQL

A field having NULL value is one that has been left blank during record creation, NULL value field means field with no value.

IS NULL

IS NULL operator in SQL is used to test for NULL Values .

Syntax-

SELECT column_name1, column_name2..column_nameN

FROM <table_name>

WHERE<column_name> IS NULL;

IS NOT NULL

IS NOT NULL operators in SQL is used to test for NOT NULL or non-empty values.

Syntax-

SELECT column_name1, column_name2..column_nameN

FROM <table_name>

WHERE<column_name> IS NOT NULL;

Saraswat World Changed status to publish June 14, 2023
Write your answer.

Posted

in

Tags:

Comments

Leave a Reply

Ganesh Ji Arti A Tribute to Dilip Kumar