Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Differences

Former Member
0 Likes
526

Hi,

what is meaning of null and not null.

Thanks & regards,

sudhakar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
501

Hi,

NULL means it will check the initial value for the Data Object and NOT NULL means it is having the value other the default value for the DATA Object(Data TYPE)

(i)Undefined value cannot be explicitly stated that is there is no keyword called undefined whereas null value has keyword called null.

(ii)typeof undefined variable or property returns undefined whereas typeof null value returns object.

Regards

Sudheer

4 REPLIES 4
Read only

Former Member
0 Likes
501

Hi,

Null means which has no value

Not NUll means which has some value and is not empty. (Equivalent to <> 0)

Regards,

Suruchi

Read only

Former Member
0 Likes
502

Hi,

NULL means it will check the initial value for the Data Object and NOT NULL means it is having the value other the default value for the DATA Object(Data TYPE)

(i)Undefined value cannot be explicitly stated that is there is no keyword called undefined whereas null value has keyword called null.

(ii)typeof undefined variable or property returns undefined whereas typeof null value returns object.

Regards

Sudheer

Read only

varma_narayana
Active Contributor
0 Likes
501

Hi,

NULL and NOT NULL are used in the context of database .

a NULL values represents a value that has no meaning. It is not 0 or SPACE.

Different databases handle the NULL values in different ways.

Reference variables in ABAP also contain NULL references when a Ref Variable is not Pointing to Any Object.

Regards.

Read only

Former Member
0 Likes
501

Thanks for repiles.

Thanks & regards,

sudhakar