Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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 DB2 NULL Values display V S Amarendra Reddy DB2 3 Thu Sep 07, 2017 6:59 pm
No new posts Select numeric portion from CHAR data... balaji81_k DB2 6 Sat Aug 19, 2017 1:51 am
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts VALIDATE NULL VALUE IN DB2 CASE STATE... useit DB2 5 Thu Feb 09, 2017 4:34 pm
No new posts Syncsort - NULL in Integer field chec... nartcr SYNCSORT 4 Thu Oct 06, 2016 6:47 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us