WHAT IS A NULL VALUE IN SQL?

475 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

A Tribute to Dilip Kumar