IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What's the DataType of NULL


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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
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
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
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
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

Global Moderator


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

PostPosted: Thu Mar 31, 2005 7:19 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
No new posts Uploading from desktop, a CSV file, s... DB2 2
No new posts How to handle NULL in COBOL program COBOL Programming 8
No new posts Change NULL indicator in UNLOAD utility DB2 2
Search our Forums:

Back to Top