Relation Properties - Cardinality - "Identifying" vs. "Target Optional"

Version 3.0.0 build 653
Using the logical design, within the "Relation Properties" > "Cardinality" dialog,
the "Identifying" and "Target Optional" checkboxes are mutually exclusive.
Can somebody explain that to me?
The help defines "Identifying" as:
"Controls whether this is an identifying relationship. When there is an identifying relationship between a parent entity and a child entity, when the relational model is generated, the following occurs in the child table: *the foreign key to the parent becomes part of the primary key of the child.* (In non-identifying relationships, the foreign key to the parent table is just another column in the child table and is not part of the primary key.)"
and "Target Optional" as:
"Controls whether the *target entity in the relation must contain one or more instances*. If this option is enabled, there can be zero target instances; if this option is disabled, one or more target instances are required."
Just because a target entity's PK includes the source entity's PK,
why would that require an instance of the target entity to exist?
I'm trying to model a parent/child relationship where an instance of the child entity can't exist without the parent instance (no orphans) but that shouldn't make an instance of the child entity required.
I'm far from a data modeling guru so thanks in advance to whomever can explain what I'm missing.

Hi Jeff,
relationship has two ends - if one end is optional that means it can exists on its own (related foreign key columns will allow nulls); if it's mandatory then it can exist only in the context of other end (entity) of relationship.
"Identifying" goes little bit further - FK columns become part of primary key which implies not null columns.
Just because a target entity's PK includes the source entity's PK,
why would that require an instance of the target entity to exist?it doesn't require instance of source entity to exists, however foreign key constraint is created and it requires existence of related instance of source entity.
I'm trying to model a parent/child relationship where an instance of the child entity can't exist without the parent instance (no orphans) you just need to set related child entity as mandatory, no need to use identifying for that. Foreign key will be created for defined relationship when you engineer to relational model and delete rule will be set:
- "no action/restrict" if parent entity is optional;
- "cascade" if parent entity is mandatory;
Philip

Similar Messages

  • Source Optional vs Target Optional

    Using SDDM 3.3.0.747.
    I've got a situation with the Logical Model that is confusing me.  Can anyone shed some light for me?
    I have two Entities (i.e. the things that look like tables) in my logical model.  One table is Orders.  The other is Order Detail.
    If a row exists in the Order Detail table, it must be tied (via a PK/FK) to a row in the Orders table.  In other words, the Order Detail can't just be a random row -- it has to "belong" to an order.  There can be many order detail rows for a given Order (i.e. you can order multiple things on the same order, and each thing is stored on its own row in the Order Detail table).
    However, a single row in the Orders table doesn't necessarily have to be associated with any rows in the Orders Detail table.  For example, perhaps we just started the order and got interrupted before actually adding anything that we wanted to order.  So we can have an order number (PK in the Orders table) that doesn't yet tie to any rows in the Order Detail table.
    What I've just described seems to me to be a 1..0M, meaning that a single Order may be associated with any number of Order Detail rows, or none at all.  If the Orders table is on the left and the Order Detail table is on the right, I THINK I should see this connector: -|-----0<-
    I have set the Relation Properties as follows:
    Source Cardinality
    Source: Orders
    Source to Target Cardinality: - --<-*  (1 Order for many Order Details)
    Source Optional: UNCHECKED
    Target Cardinality
    Target: Order Detail
    Target to Source Cardinality: --1 (1 Order per Order Detail)
    Target Optional: CHECKED
    Now here's where my brain is getting all wonky: The O indicating an optional constraint is located on the Orders end of the connection line.  -|O-----<-   and to me, that feels backwards.  It feels like that's telling me that "multiple Order Detail lines can be connected to either zero or 1 order", and that's not correct.  An order detail line MUST be connected to an Order.  (Sure wish I could include a screenshot or two).
    I feel that the O should be on the Order Detail end of the line, which to me says "one order is associated with any number of detail lines, including zero".
    So to me, the position of the O feels wrong.
    I can move it into what I think is the "correct" position only by reversing the CHECKED and UNCHECKED status of the Source Optional and Target Optional boxes.  When I do that, the O moves, but the relation properties screen now appears wrong to me.
    I know this has to be really basic Data Modeling 101 stuff, but I'm just not getting it.  And I HAVE had my morning Starbucks, so that's not the trouble.
    Any help in getting me thinking straight?

    AH-HAH!!!  Now I get it.  If we forget Orders and Order Details and instead look at a list of Women and a list of Children, it makes more sense.
    There is a one-to-zero-or-many relationship between Women and Children.   I have a list of Women.  For each woman, it is her option to have children or not.  The option rests with the Woman. 
    But a child has no such option. If the child exists, it has no option as to whether or not it had a mother.
    So the words 'Target Optional' do, in fact, mean 'The Target Is Optional'. If I am looking at one woman, it is indeed optional as to whether or not that woman has children.  Children (target) are not required (i.e. they are optional) for every woman (source).  Therefore, there will be an O on the relationship cardinality line, indicating that the relationship is optional.
    What was hard to explain was the positioning of the O on the cardinality line.  The presence of the O simply means that the relationship is optional.  That much is easy.
    But I was expecting the O to be positioned on whichever end of the relationship is the optional one (i.e. children are optional, so the O should be positioned on the children's end of the line), and that is not true.  The position of the O indicates which entity the option rests with.  (Which, I contend, is still backwards, but at least now I can explain it.  I don't like it, but I can explain it.)  The woman may, at her option, have one or more children.  That's the way to translate the cardinality line into spoken words when the O is on the woman's (i.e. source) end of the line. 
    Philip, thank you for hanging in there with me.  Correct Answer awarded.

  • How can I query all the members of a group using querbuilder?  I cannot find any related properties

    How can I query all the members of a group using querbuilder?  I cannot find any related properties describing members under /home/groups/s/sample_group in jcr repository.

    Hi,
    FieldPoint Explorer is no longer used to configure FieldPoint systems. However, I do not think that the configuring your system in FieldPoint Explorer is causing the error.
    FieldPoint systems are now setup in Measurement and Automation Explorer (MAX).  Information on setting up FieldPoint systems in MAX can be found in the MAX help under: Installed Products>> FieldPoint. Also, I recommend upgrading to the latest FieldPoint driver and version of MAX.  The FieldPoint VI's will be slightly different when you upgrade, so there is a good chance that this will eliminate the error.
    Regards,
    Hal L.

  • Not Able to Access the Properties of Workspace and Target

    Hello
    I have install PB 11.2 Build 9027 on my laptop ( Winows 7 (64 bit))). PowerBuilde is open and able to see the existing code.
    But when I am trying to access the properties of Workspace or target for Source code control Setup, Properties will not come and nothing happen, I am not able to view the properties of Workspace and targets.
    One more think I notice ,when I was trying to create new application (File > New > Target Tab > Application)  then window will not open.
    Please provide me some suggestion on this issue.
    Thanks
    Amit Maheshwari

    Hi,
    You might find a much larger audience for technical questions if you open a discussion at the PowerBuilder Developer Center
    PowerBuilder Developer Center
    Thanks,
    Ben

  • Set Exchange Related Properties task gets rejected

    Hi All,
    During exchange account creation one of task ‘Set Exchange Related Properties’ is getting rejected with error ‘ incorrect information provided’.
    I have tried checking all the attributes in process forms but finding all proper.
    Create mailbox task is also getting successful and mailbox for users are getting created properly.
    It does not seem to create any problem but just wanted to know how to track down which information is missing.
    Any ideas please.
    Ritu

    Hi, have you enabled logging for the exchange connector?
    http://docs.oracle.com/cd/E11223_01/doc.910/e11198/deploy.htm#CHDGFDJI

  • Identifying the target system using FM extraction in a Generic Datasource

    Hi all,
    We are using a Generic datasource using FM for extraction from R/3 system to BW system. This Function module picks data from a Z table! After each successful delta extraction from the table, a flag field is set to identify whether the data is pulled or not.
    We are about to use BO data services which is connected to the R/3 system to fetch data. For capturing delta records after the BW run has happened, the table can be added a new flag field to pull delta for Data services.
    Is there any way to identify which target system's extraction is running particularly in the function module (for e.g., if BW extraction is triggered or BODS extraction is triggered) so as to set the respective target flag in the Z table?
    Regards,
    vivek

    Leandro,
    The calling program of your FM should have a local variable I_RLOGSYS which is populated with the BW server ID.
    If you don't know how to access a variable in a program that is in call stack using field symbols, search SDN.
    I haven't tested this, so you may have to explore a little.
    Good luck.

  • [svn:fx-trunk] 9890: Fix bug involving changes to tabbing related properties

    Revision: 9890
    Author:   [email protected]
    Date:     2009-09-01 15:57:01 -0700 (Tue, 01 Sep 2009)
    Log Message:
    Fix bug involving changes to tabbing related properties
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-19577
    Reviewer: Corey
    API Change: No
    Is noteworthy for integration: No
    tests: checkintests mustella/managers/FocusManager
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-19577
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as

  • Waht is compare target option in 10g Database Control

    hi,
    my company use 10g database control (enterprise manager) in host perormance page comare target option i can't understand what is compare target option.

    Allows you to compare the configuration of two targets to each other... How many times have you been asked if two hosts/databases/etc are configured exactly the same because they perform differently.
    If I had a 5 cents for everytime I heard that........ (not that they are always the same.....)

  • Identify the target market of the smart cover  ?

    1-identify the target market of the smart cover  ?
    2-briefly explain the customer characteristic of the target market?
    3-how did apple reach the production ? give one example
    4-how did apple reach the pricing ? give one example
    5-how did apple reach the promoting ? give one example
    6-how did apple reach the distribution ? give one example

    After we've done your homework, is there anything else we can do for you?

  • ERROR Cannot create target (optional) element - SUPPRESS value

    HI, XI/PI experts!
    I am new in PI 7.1 (Ehp1 SP 7), previously work with PI 7.0.
    I faced with problem of mapping optional target element, when queue has just SUPPRESS element. I expected to suppressing mapping of the target element, but mapping program raise exception:
    Cannot create target element
    /ns0:Messages/ns0:Message1/MT_DiadocMethods/ConnectInfo/TraceInfo/Folder.
    Values missing in queue context.
    Target XSD requires a value for this element, but the target-field mapping does not create one.
    Check whether the XML instance is valid for the source XSD,
    and whether the target-field mapping fulfils the requirement of the target XSD
    XSD Folder declaration:
    <xsd:element name="Folder" type="xsd:string" minOccurs="0">
                <xsd:annotation>
                   <xsd:documentation>
                   u043Au0430u0442u0430u043Bu043Eu0433 u0434u043Bu044F u0442u0440u0430u0441u0438u0440u043Eu0432u043Au0438 u0447u0435u0440u0435u0437 u0444u0430u0439u043Bu044B
                   </xsd:documentation>
                </xsd:annotation>
             </xsd:element>
    [http://imagepost.ru/?v=queue_for_optional_element_fol.PNG|http://imagepost.ru/?v=queue_for_optional_element_fol.PNG]
    If put mapWithDeffault with value "hello" between ifWithoutElse and target element Folder, then exceptions not raised, but target element also not created
    15:53:03 Start of test
    Compilation of MM_Diadoc_DownloadNewEvents__DiadocMethods_q successful
    Document start
    Start tag [ns0:Messages]
    Add raw attribute [ xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge"]
    Start tag [ns0:Message1]
    Start tag [MT_DiadocMethods]
    Start tag [ConnectInfo]
    Start tag [trace_level]
    Put value [4]
    Close tag [trace_level]
    Start tag [TraceInfo]
    Start tag [TraceViaMail]
    Close tag [TraceViaMail]
    Close tag [TraceInfo]
    Close tag [ConnectInfo]
    Close tag [MT_DiadocMethods]
    Close tag [ns0:Message1]
    Close tag [ns0:Messages]
    Document end
    Execution of mapping on server took 1160 milliseconds Executed successfully
    15:53:05 End of test
    <Display Queue> show that queue after mapWithDeffault has <null> value:
    [http://imagepost.ru/?v=mapwithdeffault.PNG|http://imagepost.ru/?v=mapwithdeffault.PNG]
    Inserting mapWithDeffault is workaround for this situation, but I am interesting to understand principle of SUPPRESS in 7.1
    Thanks in advance and sorry for my English !

    Hi,
    To understand the Suppress you can refer the below blog
    /people/stefan.grube/blog/2006/01/09/the-use-of-suppress-in-the-xi-30-graphical-mapping-tool

  • How to identify the NoEndDate option in recurrence appointment in sql server

    Hi,
         I am having recurring appointment with no end date option and how i can identify the appointment having no end date option in sql server 2008

    Itis difficult to answer without knowing the table structure and sample data however Something like this should work you:
    SELECT * FROM YourTableName where EndDate is null
    Good Luck! Please Mark This As Answer if it solved your issue. Please Vote This As Helpful if it helps to solve your issue

  • Issue related to "Document Set Version History" option for Video uploaded in Asset library

    Hi,
    When user clicks on ‘Document Set Version History’ option from context menu (ellipsis) of a particular video, ‘Sorry, something went wrong’ message is shown. The error message also says,
    versions are currently disabled for this document library.
    When we enabled version history for the video library, the functionality started working as expected.
    Ideally the context menu of video should not show ‘Document Set Version History’ option. But we are not sure why it is showing that option.
    Can anybody please explain, is it bug in sharepoint ? or any other approach we have to use.

    Hi Sanket,
    We need to configure the send to connections for the corresponding web application in Central Administration and then the locations will be available when clicking the Send To Other Location.
    Please go to Central Administration > General Application Settings > Configure send to connections.
    After configuring the send to connections for the web application where you need to use the Send To Other Location, the location will be available.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Questions related to Disk Images - Image Format Options

    Can anyone tell me a more about using Disc Images? I am with a group of new Mac Users and we're focusing on Disc Images at the moment. Want to create a Keynote Presentation for the group when finished.
    I have found already a few answers here, if someone could help me on the rest?
    In this Thread I focus on the Image Format.
    Disc Utility (using OS 10.5.7) offers the following options when creating a Disc Image:
    sparse Disk Image
    sparse bundle Disk Image
    Unanswered Question:
    1) What is the difference between sparse Disk Image and sparse bundle Disk Image?
    Answered Question (if you have ad-on Informations for the answered Questions feel free to jump in):
    Question: What is sparse disk Image for?
    Answer: "Choose an image format. You can use "sparse disk image" for a disk image that only uses as much space as it needs, rather than a set amount of space. If you're not sure, use "read/write disk image" choice." (Source: How to create a password-protected (encrypted) disk image in Mac OS X 10.3 or later: http://support.apple.com/kb/HT1578)
    Thanks in advance
    Rama

    Thank you both for your Infos so far. In the meantime I've created some Disk Images. What I noticed is, when I choose a small Image Size like 10 MB, then it changes from "Single Partition Map" to "No Partition Map". When I go bigger to 500 MB it changes to "Hard Disk".
    It was already helpful to read the Manual to understand the Single Partition Maps, but what I still don't understand is the difference between using "no partitions map" at all and the other options such as "Hard Disk", "CD/DVD" or "CD/DVD with ISO Data".

  • Printer properties keeps changing 'Mirror Image' option to ON

    I have Word 2003 SP3.
    My multifunction printer is HP Officejet Pro L7700.
    In printer properties - under the 'advanced' tab, I have 'Mirror Image' set
    to OFF.
    However, if I make a change under the 'features' tab in pinter properties,
    the 'Mirror Image' will change to ON, without me wanting it to.
    How can I keep this from happening?
    Thank you,
    Jamie
    This question was solved.
    View Solution.

    Well, I tried this.  As soon as i went into printing shortcuts and changed something, the Mirror Print went back to ON again.
    Anyone else?  Somehow, I believe this started happening when MS Service Pack 3 was installed.

  • Selecting Execution Target Option not appear

    I have the LabView 7.1 on PC. the Real Time is viewable to me in the "Measurement and Automation Explorer" . I can see the the devices which are present in the Chassis, but when I start the LabView 7.1 for prog. the "Execution Target " Selection Combobox is not Appearing on the window. Can any help how to configure this in my LabView so I can connect the Real Time.

    1 cd of Full Dev. System & 2 are Device Drivers .
    It's not a device driver - it won't be on the same CD.
    It's a separate product.
    This link is for the LV 8.0 version - you will have to look around or call your rep for the 7.1 version, or else upgrade your LV 7.1 to 8.0.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

Maybe you are looking for

  • ISight not opening

    Hi Will iSight not open if there's no camerea attatched? when I click on it it seems to open but there's nothing on screen?

  • Problem loading incoming messages. I can send emails.

    All of a sudden my incomming mail stopped. I am able to send emails. I am connected. I have restarted computer but that did not help. Also, I am not able to log out of mail, and have to force quit. Any help would be greatly appreciated.

  • 7.0.2 charts wont display in IE 6 Browser

    I recently upgraded to CF 7.0.2 and now my charts aren't displaying in my IE-6 browser. I saw the individual hot fixes for this problem but it only is mentioned with CF 7.0 and CF 7.0.1. The current cumulative hot fix for 7.0.2 doesn't menion this pr

  • 4K quicktime Movie dropped frames

    I hope somebody can help i have a 32gb Ram Mac Pro Mid 2010 with NVida 32gb Video 1066 mhz. Blackmagic Decklink Studio 4K Card and connected to San storage via fibre channel.  I have a 4k quicktime movie file.  Every time i run in Premiere Pro CC, I

  • Page background, half disappeared?

    Hi gang, This occurs fairly regularly.  I've got a page background (a gradient).  The site is loading fine.  And then, when I sometimes do adjustments to a page ... the page background is not the FULL page, but only a portion of the page. I go back t