473,394 Members | 1,787 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Is there a 'non-mandatory' relationship in DB2 8 for Z/OS?

BD
I'm working with a data model which is managed in the AllFusion ERwin
tool.

Within the modeler, some of the FK relationships are 'non-mandatory' -
which is to say that for a given child value, a parent value is
optional. This is different from an optional child key, where the
child table allows null values - in this case it's the relation itself
that is optional. Strikes me as rather contrary to the principles of
RI...

From what I can find, there is no such provision in DB2. I generated
DDL from within the tool with a specific relation set as Mandatory,
and then as Optional - there was no difference in the generated RI
DDL, suggesting that this provision within the ERwin tool is
effectively ignored.

I did scour the online db2 documentation, checking as many different
books as I could find relevant references in the Master Index - and
found no reference to any provision like this.

Can anyone confirm whether such 'non-mandatory' RI exists within DB2?

Thanks,

BD
Jul 25 '08 #1
2 2133
"BD" <ro*********@gmail.comwrote in message
news:1b**********************************@y22g2000 prd.googlegroups.com...
Thanks for the response. Puts me somewhat at ease to hear a
confirmation that I wasn't missing something fundamental. Thanks!!
I am not sure if DB2 for z/OS has implemented it yet, but DB2 for LUW has
foreign keys that can be defined as (or altered to) "not enforced".
Jul 25 '08 #2
BD
On Jul 25, 1:30*pm, "Mark A" <nob...@nowhere.comwrote:
"BD" <robert.d...@gmail.comwrote in message

news:1b**********************************@y22g2000 prd.googlegroups.com...
Thanks for the response. Puts me somewhat at ease to hear a
confirmation that I wasn't missing something fundamental. Thanks!!

I am not sure if DB2 for z/OS has implemented it yet, but DB2 for LUW has
foreign keys that can be defined as (or altered to) "not enforced".
According to the documentation, yes, the z/OS variant has had that
since version 8.

It looks as if the 'Allow nulls' option within the RI relationship in
ERwin isn't having any effect on the generated DDL. Looks like all
constraints are enforced by default. I'm not 100% positive that this
particular dialog in the tool is supposed to have this particular
effect on the DDL - but so long as I know what to expect, I guess it's
okay. ;)

Thanks!
Jul 25 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: klaus triendl | last post by:
hi, recently i discovered a memory leak in our code; after some investigation i could reduce it to the following problem: return objects of functions are handled as temporary objects, hence...
3
by: Mario | last post by:
Hello, I couldn't find a solution to the following problem (tried google and dejanews), maybe I'm using the wrong keywords? Is there a way to open a file (a linux fifo pipe actually) in...
25
by: Yves Glodt | last post by:
Hello, if I do this: for row in sqlsth: ________pkcolumns.append(row.strip()) ________etc without a prior:
32
by: Adrian Herscu | last post by:
Hi all, In which circumstances it is appropriate to declare methods as non-virtual? Thanx, Adrian.
8
by: Bern McCarty | last post by:
Is it at all possible to leverage mixed-mode assemblies from AppDomains other than the default AppDomain? Is there any means at all of doing this? Mixed-mode is incredibly convenient, but if I...
14
by: Patrick Kowalzick | last post by:
Dear all, I have an existing piece of code with a struct with some PODs. struct A { int x; int y; };
11
by: ypjofficial | last post by:
Hello All, So far I have been reading that in case of a polymorphic class ( having at least one virtual function in it), the virtual function call get resolved at run time and during that the...
2
by: Ian825 | last post by:
I need help writing a function for a program that is based upon the various operations of a matrix and I keep getting a "non-aggregate type" error. My guess is that I need to dereference my...
399
by: =?UTF-8?B?Ik1hcnRpbiB2LiBMw7Z3aXMi?= | last post by:
PEP 1 specifies that PEP authors need to collect feedback from the community. As the author of PEP 3131, I'd like to encourage comments to the PEP included below, either here (comp.lang.python), or...
12
by: puzzlecracker | last post by:
is it even possible or/and there is a better alternative to accept input in a nonblocking manner?
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.