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

Why Foreign key should be declared as NOT NULL WITH DEFAULT?


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kvskris
Currently Banned

New User


Joined: 16 Sep 2006
Posts: 12

PostPosted: Thu Dec 07, 2006 9:21 am
Reply with quote

Hello everybody,

i want to know Why Foreign key should be declared as NOT NULL WITH DEFAULT. please answer it.

thanks and regards,

kumar
Back to top
View user's profile Send private message
ravi17s
Warnings : 1

New User


Joined: 15 Aug 2003
Posts: 57

PostPosted: Fri Dec 08, 2006 5:39 pm
Reply with quote

NOT NULL WITH DEFAULT is not recommended,
Only NOT NULL is recommended to main Referential Intergrity.

Thx,
Ravi
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 Duplicate transid's declared using CEDA CICS 3
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
No new posts Running a Job with the Default User ID JCL & VSAM 2
No new posts Change Default Scroll Setting TSO/ISPF 1
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
Search our Forums:

Back to Top