Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

What's the DataType of NULL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
ganga

New User


Joined: 16 Mar 2005
Posts: 7

PostPosted: Wed Mar 16, 2005 10:31 am    Post subject: What's the DataType of NULL
Reply with quote

Hai,
i am new member to this group.Null is the what data type.
options are:
1.character
2.integer
3.Binary large objects
Back to top
View user's profile Send private message

rick

New User


Joined: 18 Jun 2004
Posts: 59
Location: Chennai

PostPosted: Thu Mar 17, 2005 6:20 pm    Post subject:
Reply with quote

Hi,

I thinks NULL doesn't belong to any data type.
Back to top
View user's profile Send private message
ovreddy

Active User


Joined: 06 Dec 2004
Posts: 211
Location: Keane Inc., Minneapolis USA.

PostPosted: Sat Mar 19, 2005 6:57 pm    Post subject:
Reply with quote

Hi Ganga,

NULL means nothing to enter or not applicable. For example take a table for storing employee information as EMPNO,ENAME,JOB, SAL,COMMISSION and DEPTNO. But only sales department people will have COMMISSIONS then what will be the value of COMM for others? that is NULL. The same situation can be applied for CHAR, VARCHAR or DATE types also. SO THERE IS NO SPECIFIC DATA TYPE FOR A NULL.

Bye,
Reddy.
Back to top
View user's profile Send private message
ganga

New User


Joined: 16 Mar 2005
Posts: 7

PostPosted: Thu Mar 31, 2005 2:40 pm    Post subject:
Reply with quote

Hai ovreddy
thank you
regards
ganga
Back to top
View user's profile Send private message
learnmf

Active User


Joined: 14 Mar 2005
Posts: 123

PostPosted: Thu Mar 31, 2005 7:13 pm    Post subject: Re: What's the DataType of NULL
Reply with quote

HI ganga
Can you post rest of your Doubt as another posting.,another subject.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Thu Mar 31, 2005 7:19 pm    Post subject: Re: What's the DataType of NULL
Reply with quote

learnmf wrote:
HI ganga
Can you post rest of your Doubt as another posting.,another subject.

The new posts have been split out to their appropriate forums.

ganga, please read the guidelines of this forum.
Back to top
View user's profile Send private message
learnmf

Active User


Joined: 14 Mar 2005
Posts: 123

PostPosted: Thu Mar 31, 2005 7:22 pm    Post subject:
Reply with quote

Hi supark
You put me in a great confussion.Suddenly i can't understand any thing what u did.Strange..............

Thanks
Learnmf
Back to top
View user's profile Send private message
learnmf

Active User


Joined: 14 Mar 2005
Posts: 123

PostPosted: Thu Mar 31, 2005 7:23 pm    Post subject:
Reply with quote

Hi supark
it is better if you can split it with the respective answer.

Thanks
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Syncsort - NULL in Integer field chec... nartcr SYNCSORT 4 Thu Oct 06, 2016 6:47 am
No new posts Converting NULL column into NOT NULL ... Raghu navaikulam DB2 5 Sat Aug 06, 2016 3:45 pm
No new posts GetObjectArrayElement returns NULL Majid Hussain Java & MQSeries 2 Wed Mar 30, 2016 2:59 am
No new posts Query to select Null row on priority RahulG31 DB2 24 Thu Jan 21, 2016 5:45 pm
No new posts Null Indicator value -2 means in Embe... deepak_shrivastava DB2 2 Wed Jan 06, 2016 10:27 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us