Application of mutually exclusive

Hi all

Could you please help me in this problem.

CREATE TABLE TEST_VERSION (VERSION_ID NUMBER, SUBVERSION VARCHAR2 (100));

insert into TEST_VERSION VALUES(1,null);

insert into TEST_VERSION VALUES(1,'Alpha');

insert into TEST_VERSION VALUES(1,'Internal Beta');

insert into TEST_VERSION VALUES(1,'Technical Preview');

insert into TEST_VERSION VALUES(1,'RTM');

insert into TEST_VERSION VALUES(2,null);

insert into TEST_VERSION VALUES(2,'Alpha');

insert into TEST_VERSION VALUES(3,'Internal Beta');

insert into TEST_VERSION VALUES(4,'Technical Preview');

SELECT * FROM TEST_VERSION;

Select rules:

for given version_id:

(1) if there is a SUBVERSION = 'RTM' or the lines in the game and also a line with SUBVERSION = NULL ignore the

line with SUBVERSION = NULL, and then select all of the other lines, including RTM

(2) if there is a SUBVERSION row = NULL and there is no line with SUBVERSION = "RTM" then select all the

lines, including SUBVERSION = NULL

In essence, row with SUBVERSION = NULL cannot coexist with SUBVERSION = "RTM" for the same

version_id. They are mutually exclusive. RTM has a higher priority.

873797 wrote:

Ramin thanks for your response.

Your answer works partially.

For a = 1, it returns the correct values, removed B = NULL row

For the test of the ranks, he returned only a single line for a = 2. Rest of the lines for a = 3 and a = 4 has disappeared.

Hello. Okay, I think that now I understand you. Try

t (a, b) as)

Select 1, null of union double all the

Select 1, 'Alpha' from dual union all

Select 1, 'Internal Beta' dual Union all

Select 1, 'Technical Preview' from dual union all

Select 1, 'RTM' from dual union all

Select 2, union null value double all the

Select 2, 'Alpha' from dual union all

Select 3, 'Internal Beta' dual Union all

Select option 4, "Technical Preview" of double)

Select * from)

Select t.*,

sum (case when b is null then 1 when b = "RTM" then 1 end) on (partition one) c

t

)

where nvl(b,'-1')! = (case when c = 2 then '-1' another '1' end ')

----

Ramin Hashimzade

Tags: Database

Similar Questions

  • Patch S8C2 is mutually exclusive and can not coexist with the patches: ZLNA, EJUW

    Hi all

    I tried to apply the patch from Jan 2016 to the Weblogic Server that runs the RMS Application.

    The version of the Weblogic Server is 10.3.6

    The version of RMS App is 13.2.6

    While applying the patch that has a PATCH-LIST of S8C2 on the Weblogic Server, I encountered the following error:

    [oracle@test-rms-app bsu] $. /BSU.sh - prod_dir = $WLS_HOME / wlserver_10.3 - patch_download_dir = / home/oracle/2016_JAN_CPU_SPU - patchlist = S8C2-verbose - install

    Checking for conflicts...

    Detected A - conflict to solve and run the installation of the patch again

    Conflict condition details below:

    Patch S8C2 is mutually exclusive and can not coexist with the patches: ZLNA, EJUW

    After reading the forums, I followed the suggestion to delete the previous patch: EJUW and who has obtained successfully removed as shown below, when I tried to install the Patch Jan complained conflict ZLNA patch and when trying to remove the ZLNA encountered unrecognized patch ID patch: ZLNA.

    [oracle@test-rms-app bsu] $. /BSU.sh - delete - patchlist = EJUW-prod_dir = $WLS_HOME/wlserver_10.3

    Checking for conflicts...

    No conflict detected

    Removal of the Patch ID: EJUW...

    Result: success

    [oracle@test-rms-app bsu] $. /BSU.sh - prod_dir = $WLS_HOME / wlserver_10.3 - patch_download_dir = / home/oracle/2016_JAN_CPU_SPU - patchlist = S8C2-verbose - install

    Checking for conflicts...

    Detected A - conflict to solve and run the installation of the patch again

    Conflict condition details below:

    Patch S8C2 is mutually exclusive and can not coexist with the patches: ZLNA

    [oracle@test-rms-app bsu] $. /BSU.sh - delete - patchlist = ZLNA-prod_dir = $WLS_HOME/wlserver_10.3

    Encountered unrecognized patch ID: ZLNA

    Any suggestions how to solve and apply the fix successfully Jan would be useful.

    Thank you.

    Hello

    Can you please set the download directory of the fix for MW_HOME/utils/bsu/cache_dir/with the help of Smart updated interface and test again.

    To designate a directory to download the hotfix, follow these steps:

    Start the smart update.

    On the Smart Update main window, choose file > Preferences.

    The Preferences dialog box appears.

    In the section Patch download directory of the Preferences dialog box, specify the path to the download patch directory.

    https://docs.Oracle.com/CD/E14759_01/doc.32/e14143/start.htm

    Thank you

    Aishwarya

  • Using SQL to ensure the matching records are mutually exclusive.

    There are two tables defined in the following way:

    Table A

    Number 1

    Number 2

    Date

    ROWID

    Table B

    Number 1

    Number 2

    Date

    Identifier of the line

    Each table stores a call between number 1 and 2 on a specific date. The goal is to map exactly one entry of table A with exactly the record in table B

    in a mutually exclusive way. So a single call to a table must be associated with exactly one call the other table (the key is here

    A.Number1 is B.Number1 and A.Number2 = B.Number2). Because it is a relationship is many to many (the number of source and destination may be paired multiple)

    (time), I'm not able to build a series of sql statements that will allow me to get a relationship one between pairs of telephone numbers.

    I'm not allowed to develop a PL/SQL procedure, which would easily solve this problem.

    I was able to find a solution using MIN(Number 1) KEEP (DENSE_RANK FIRST ORDER BY Date) to THE (PARTITION BY x) the form x

    using temporary tables, which allows me to reach a breaking successively much many relationships (i.e. three broken bones in a 01:58 after

    an iteration, and after one iteration, I arrive at a one to one relationship). However, I can't break these relations some n number of times because it requires number n

    hard curls. Therefore, I need a sophisticated solution that will allow me to achieve a relationship one by one.

    Example of

    Table A

    Record 1

    Number 1:451923456789

    Number 2:541969432045

    Date: 29/07/2015-09:01

    Worksheet 2

    Number 1: 451923456789

    Number 2: 541969432045

    Date: 29/07/2015-09:03

    Table B

    Record 1

    Number 1: 451923456789

    Number 2: 541969432045

    Date: 29/07/2015-09:04

    Worksheet 2

    Number 1: 451923456789

    Number 2: 541969432045

    Date: 29/07/2015-09:05

    If we unite our table A and B by A.Number1 = B.Number1 and A.Number2 = B.Number2, we have 4 records. I'm looking for exactly two records.

    The criteria is to associate by the minimum of the sum of the date of the table A table B date. Therefore, the final result should match:

    (1) record 1 of table A with record 1 of table B.

    sheet 2) 2 table A with 2 record in table B.

    So we must do something to reduce the 4 records resulting from the join of two records describe as we see above.

    The result of the join:

    1st row: TableA.Record1 with TableB.Record1

    2nd place: TableA.Record1 with TableB.Record2

    Rank 3: TableA.Record2 with TableB.Record1

    4th place: TableA.Record2 with TableB.Record2

    What I'm looking for, which is easily achievable with a slider, but not with SQL:

    1st row: TableA.Record1 with TableB.Record1

    4th place: TableA.Record2 with TableB.Record2

    Note that if the minimum date condition allows us to select the necessary records, we won't get the expected results. In other words, using the minimum date.

    the results will be:

    1st row: TableA.Record1 with TableB.Record1

    Rank 3: TableA.Record2 with TableB.Record1

    (criteria - table a minimum date)

    or

    1st row: TableA.Record1 with TableB.Record1

    2nd place: TableA.Record1 with TableB.Record2

    (criteria - date minimum table B)

    Two of these results to break the rule are mutually exclusive.

    Post edited by: 3000640

    If I understand correctly, something like:

    SQL > with tableA (id, telephone1, telephone2, call_date) as)

    2. Select 1, ' 451923456789 ', ' 541969432045',

    3 to_date (July 29, 2015 09:01 ', 'dd.mm.yyyy hh24')

    4 union double all the

    5. Select 2, ' 451923456789 ', ' 541969432045',

    6 to_date (July 29, 2015 09:03 ', 'dd.mm.yyyy hh24')

    double 7),

    TableB 8 (id, telephone1, telephone2, call_date) as)

    9. Select 1, ' 451923456789 ', ' 541969432045',

    10 to_date (July 29, 2015 09:04 ', 'dd.mm.yyyy hh24')

    11 double Union all the

    12. Select 2, ' 451923456789 ', ' 541969432045',

    13 to_date (July 29, 2015 09:05 ', 'dd.mm.yyyy hh24')

    14 double)

    15 select a.id help, a.phone1 aphone1, a.phone2 aphone2,

    16 a.call_date acall_date, b.id offer, b.phone1 bphone1,

    17 b.phone2 bphone2, b.call_date bcall_date

    18 (select id, telephone1, telephone2, call_date,

    19 row_number() over (partition by numbers1, telephone2

    RN 20 order by call_date)

    tablea 21) a

    22 join (select id, telephone1, telephone2, call_date,

    23 row_number() over (partition by numbers1, telephone2

    RN 24 order by call_date)

    tableb 25) b

    26 on a.phone1 = b.phone1 and

    27 a.phone2 = b.phone2 and

    28 a.rn = b.rn;

    HELP APHONE1 APHONE2 ACALL_DATE BPHONE1 BPHONE2 BCALL_DATE OFFERS

    ---------- ------------ ------------ -------------------- ---------- ------------ ------------ --------------------

    1 451923456789 541969432045 July 29, 2015 09:01 1 451923456789 541969432045 July 29, 2015 09:04

    2 451923456789 541969432045 July 29, 2015 09:03 2 451923456789 541969432045 July 29, 2015 09:05

    John

  • Class BOM with mutually exclusive components option: box is protected from update

    Hi all

    Please refer to the following Nomenclature-

    Article A- User item Type: class of Option ATO

    BOM item type: Option class

    Item B- Finished product

    Section C- Finished product

    Nomenclature of point A is twofold - point B and C article.

    Box each other is protected against editing.

    Please let know if BOM above is properly created. If not, please explain how to create a BOM with mutually exclusive elements.

    Kind regards

    Abhishek

    Hi Abhishek,

    This is a planned feature.

    Mutually Exclusive is set to 'class point Option' in the model bill ATO/PTO.

    Extend your example - if you have a point D, as the model which included the Option class point has... then in the Bill to point D, against article A, we would be setting up the "Mutually exclusive" indicator to "Y" to indicate the system to choose the point B or C of the agenda during the configuration of the model.

    I hope this helps.

    Thank you and best regards,

    REDA

  • A license is required at the VASA? A license is required for each copy? VSI is necessary to have the VASA? They are mutually exclusive? VSI need NOTTM?

    A license is required at the VASA? A license is required for each copy? VSI is necessary to have the VASA? They are mutually exclusive? VSI need NOTTM?

    Thanks in advance.

    Assuming that you are referring to EMC arrays.

    License to the VASA: No.

    VSI required at the VASA: No. they work very well together, but does require that the other.

    VSI allowing VAAI: No. VAAI is active with or without the VSI.

  • report based on elements are mutually exclusive:

    Hi guys,.
    I am creating a parameterized report based on elements are mutually exclusive:

    I have a list select 'P1_Property_type' element that has these values (office, apartment)
    If you choose "desktop" then the report should ONLY the value of the selection list element 'P1_beds '.
    If you choose 'apartment' then the report should be considered AS the value of the selection list "P1_size."
    ----------
    I used this query, but it does not seem to contribute:
    Select * from realestate where
    unit_type = decode (: P1_PROPERTY_TYPE, 'null', unit_type,: P1_property_type)
    and
    (br = decode (: P1_beds, "null", br,: P1_beds) or size = decode (: P1_size, 'null', size,: P1_size))
    ----------------
    I hope my question is clear

    Kind regards
    Fateh

    Assuming you are using the literal string "null" instead of NULL.

    "it doesn't seem to work" because of this:

    (br = decode (: P1_beds, "null", br,: P1_beds) or size = decode (: P1_size, 'null', size,: P1_size))

    Assuming you choose 'office' and: has the value p1_beds and: p1_size is "null", you end up with a statement that is the equivalent of:

    select * from realesate
    where unit_type = 'office'
    and (br = :p1_beds
    or size=size)    <--------------problem
    

    and your: p1_beds restriction is so inefficient.

    I'm not a fan of decode for this logic.
    I prefer a clear statement of the exclusive predicates that the optimizer can sometimes deal more effectively.

    for example, assuming that it is irrelevant, if you choose office or apartment because the relevant parameter: p1_beds or: p1_size will have the appropriate value:

    select * from realestate
    where
          (:p1.property_type is null / = 'null'
    or    (:p1.property_type is not null / != 'null'
    and    unit_type          = :p1_property_type))
    and   (:p1_beds          is null / = 'null'
    or    (:p1_beds          is not null / != 'null'
    and    br                 = :p1_beds))
    and   (:p1_size          is null / = 'null'
    or    (:p1_size          is not null / != 'null'
    and    size               = :p1_size))
    

    Note that I have provided alternatives depending on whether you are actually the NULL or a magic string.

  • County of mutually exclusive

    Here's 4 query, I need mutually exclusive number. I mean all data included in the first query in the second query and the two sets of data excluded in third query and so on... I will be very thank full.

    I need heads of accusation against each query, but mutually exclusive
    SELECT count(*)
      FROM cbainfo.ip_with_employer a
     WHERE (LENGTH (TRIM (a.old_nic_no)) = 13
            OR (LENGTH (TRIM (a.new_nic_no)) = 15
                AND SUBSTR (a.new_nic_no, 1, 5) <> 'DUMMY'))
           AND a.first_name IS NOT NULL
           AND A.EMP_AREA_CODE <> 'ZZZ'
           AND a.date_of_birth IS NOT NULL
           AND A.PRESENT_ADDRESS IS NOT NULL
           AND A.GENDER IS NOT NULL
           AND A.DATE_OF_JOINING_EOBI IS NOT NULL
           AND A.RELATIVE_NAME IS NOT NULL
    SELECT count(*)
      FROM cbainfo.ip_with_employer a
     WHERE (LENGTH (TRIM (a.old_nic_no)) = 13
            OR (LENGTH (TRIM (a.new_nic_no)) = 15
                AND SUBSTR (a.new_nic_no, 1, 5) <> 'DUMMY'))
           AND a.first_name IS NOT NULL
           AND A.EMP_AREA_CODE <> 'ZZZ'
           AND a.date_of_birth IS NOT NULL
           AND A.GENDER IS NOT NULL
           AND A.DATE_OF_JOINING_EOBI IS NOT NULL
           AND A.RELATIVE_NAME IS NOT NULL
    SELECT count(*)
      FROM cbainfo.ip_with_employer a
     WHERE (LENGTH (TRIM (a.old_nic_no)) = 13
            OR (LENGTH (TRIM (a.new_nic_no)) = 15
                AND SUBSTR (a.new_nic_no, 1, 5) <> 'DUMMY'))
           AND a.first_name IS NOT NULL
           AND A.EMP_AREA_CODE <> 'ZZZ'
    SELECT count(*)
      FROM cbainfo.ip_with_employer a
     WHERE A.EMP_AREA_CODE <> 'ZZZ'
    Published by: malhi on May 12, 2011 02:08

    Hi malhi,.

    I do not have your tables, so this is obviously not tested. But I'm sure you get the idea

    SELECT qry, count(*) qry_count
    FROM (
            SELECT CASE
                     WHEN (LENGTH (TRIM (a.old_nic_no)) = 13
                               OR (LENGTH (TRIM (a.new_nic_no)) = 15
                                   AND SUBSTR (a.new_nic_no,1,5) != 'DUMMY'))
                          AND a.first_name IS NOT NULL
                          AND a.date_of_birth IS NOT NULL
                          AND a.present_address IS NOT NULL
                          AND a.gender IS NOT NULL
                          AND a.date_of_joining_eobi IS NOT NULL
                          AND a.relative_name IS NOT NULL
                      THEN
                         'Q1'
                     WHEN (LENGTH (TRIM (a.old_nic_no)) = 13
                               OR (LENGTH (TRIM (a.new_nic_no)) = 15
                                   AND SUBSTR (a.new_nic_no,1,5) != 'DUMMY'))
                          AND a.first_name IS NOT NULL
                          AND a.date_of_birth IS NOT NULL
                          AND a.gender IS NOT NULL
                          AND a.date_of_joining_eobi IS NOT NULL
                          AND a.relative_name IS NOT NULL
                     THEN
                        'Q2'
                     WHEN (LENGTH (TRIM (a.old_nic_no)) = 13
                               OR (LENGTH (TRIM (a.new_nic_no)) = 15
                                   AND SUBSTR (a.new_nic_no,1,5) != 'DUMMY'))
                          AND a.first_name IS NOT NULL
                     THEN
                        'Q3'
                     ELSE
                        'Q4'
                   END
                     qry
            FROM   cbainfo.ip_with_employer a
            WHERE  A.EMP_AREA_CODE != 'ZZZ')
    GROUP BY qry;
    

    Or, using nested CASE

    SELECT qry, count(*) qry_count
    FROM (
            SELECT CASE
                     WHEN (LENGTH (TRIM (a.old_nic_no)) = 13
                               OR (LENGTH (TRIM (a.new_nic_no)) = 15
                                   AND SUBSTR (a.new_nic_no,1,5) != 'DUMMY'))
                          AND a.first_name IS NOT NULL
                     THEN
                        CASE
                           WHEN   a.date_of_birth IS NOT NULL
                              AND a.present_address IS NOT NULL
                              AND a.gender IS NOT NULL
                              AND a.date_of_joining_eobi IS NOT NULL
                              AND a.relative_name IS NOT NULL
                           THEN
                              'Q1'
                           WHEN   a.date_of_birth IS NOT NULL
                              AND a.gender IS NOT NULL
                              AND a.date_of_joining_eobi IS NOT NULL
                              AND a.relative_name IS NOT NULL
                          THEN
                             'Q2'
                          ELSE
                             'Q3'
                          END
                     ELSE
                        'Q4'
                   END
                     qry
            FROM   cbainfo.ip_with_employer a
            WHERE  A.EMP_AREA_CODE != 'ZZZ')
    GROUP BY qry;
    

    Or, even more fit

    SELECT qry, count(*) qry_count
    FROM (
            SELECT CASE
                     WHEN (LENGTH (TRIM (a.old_nic_no)) = 13
                               OR (LENGTH (TRIM (a.new_nic_no)) = 15
                                   AND SUBSTR (a.new_nic_no,1,5) != 'DUMMY'))
                          AND a.first_name IS NOT NULL
                     THEN
                        CASE
                           WHEN   a.date_of_birth IS NOT NULL
                              AND a.gender IS NOT NULL
                              AND a.date_of_joining_eobi IS NOT NULL
                              AND a.relative_name IS NOT NULL
                           THEN
                              CASE
                                 WHEN a.present_address IS NOT NULL
                                    THEN
                                      'Q1'
                                    ELSE
                                      'Q2'
                              END
                          ELSE
                             'Q3'
                          END
                     ELSE
                        'Q4'
                   END
                     qry
            FROM   cbainfo.ip_with_employer a
            WHERE  A.EMP_AREA_CODE != 'ZZZ')
    GROUP BY qry;
    

    Concerning
    Peter

  • Drop-down menus are mutually exclusive

    Hi all:

    I am working on a form in which I need to have a user rates four items 1 to 4 compared to the other. Initially, we were going to use 4 drop downs each menu containing four options allowing the user to choose. The problem is, of course, that the user could choose option 1 four times in a row. So I need a way to allow the user to assess these four points 1 to 4, but in a mutually exclusive way. the image below shows the problem (they are in Spanish, but the text is not important). Here point 1 and section 4 have been selected both as 1, which is what we want to avoid. Any suggestions would be greatly appreciated. Thank you.

    4choices.png

    Hello

    You could have a script of the event preOpen all of the four drop-down menus that would set the display settings, based on the previous selections in the other drop-down menus.

    There is an example here to populate the drop-down menus: http://assure.ly/jcTahK.

    Try this in the DropDownList1 preOpen event:

    Remove the previously selected items

    this.deleteItem (DropDownList2.selectedIndex);

    this.deleteItem (DropDownList3.selectedIndex);

    this.deleteItem (DropDownList4.selectedIndex);

    Hope that helps,

    Niall

  • Mutually exclusive check boxes

    I know that this question is asked a lot and I read through the other posts. My code still does not work. I tried all the variations I've seen here, using null instead of 0, using quotation marks, do not use quotes, double equal signs, no double equal signs... What am I doing wrong? I'm really new to JavaScript, so I'm not sure on the syntax stuff yet.

    assessment. Questions.Questionset.Questiondetail.TFdetail.False_check::click - (JavaScript, client)

    If (this.) RawValue is "1")
    {
    xfa.form.assessment.Questions.Questionset.Questiondetail.TFdetail.True_check.rawValue = 'no l';
    }

    assessment. Questions.Questionset.Questiondetail.TFdetail.True_check::click - (JavaScript, client)

    If (this.) RawValue is "1")
    {
    xfa.form.assessment.Questions.Questionset.Questiondetail.TFdetail.False_check.rawValue = 'he's naked'.
    }

    OK if you check the correct value. Checkboxes are not mutually exclusive... .radioButtons are. You can move these objects to radio buttons and change the appearance of the radio button for a place to make it look like a checkbox, but behave like a radiobutton.

    You can share your form it would make it easier to debug.

    Paul

  • Options of mutually exclusive in a function of the Option

    Hello

    I have an obligation to implement a mutually excluding option feature - for example: there are 10 options depending on the option. The last one is 'None of the above '. In this case, when the user selects 'None of the above', all other options selected must be unselected and vice versa. I can create a logic rule (exclude or deny) to implement, but we do not want the rule violation message. In this case, the only option is a CX rule, I guess. All those put in place this type of requirements using CX? If so, could guide you. Thanks in advance.

    Biju-

    The postValueChange event has an event called changedNode parameter. If your CX is related to the function of the Option and its scope is a subtree of nodes of Base, from the changedNode to your method CX will tell us which Option has been selected (or deselected; your CX should explain deselection as a possible "ValueChange").

    Mathgamain

  • Parameterized based on mutually exclusive elements report

    Hi guys,.

    If you visit:
    http://Apex.Oracle.com/pls/Apex/f?p=59187:1

    You can see that the list item select 'Property_type' few values based on which get made the rest elements.
    How can I write a query to get the correct result according to the values selected?
    In other words,.

    If the value of the "P1_property_type" element is 'Apartment', then the 'P1_beds' element gets rendered and could be discussed in the query.
    (not rendered elements must be ignored in the query)

    If the value of the "P1_property_type" element is 'Villa', then the item "P1_beds" get rendering sould not considered in the query.

    If the value of the "P1_property_type" element is the 'Bureau', then the element 'P1_beds' does not get rendering sould not considered in the query. But the elements "P1_Max_Sqft" and "P1_Min_Sqft" get made and should be considered in the application.

    If the Select Value elements contains default values that should be similar to (select * to srm) the exception 'P1_property_type' has its default value, then the page should not be subject... (there should be an alert)

    Workspace: somefeto
    Username: [email protected]
    Password: Firas
    App: 59187 (the Executive towers)

    I hope my question is clear... and thanks for the help...
    Kind regards
    Fateh

    Fateh,

    The short answer is, Yes, it's possible, but there are several ways to do this and I will offer you two of them.

    1. test null value or the value
    Basically all you do is for each item rather that to check its value compared to the column you check to see if it is null or if it corresponds to the value of a column in this way this entry has no effect on the query if it is null. This approach is fine for sets of data smaller, but maybe not the best for the largest data sets. (of course, it is always case by case)

    select *
      from table
     where (:item1 is null or
            column1 = :item1)
       and (:item2 is null or
            column2 = :item2)
       and (:item3 is null or
            column3 = :item3)
    

    2. function return query
    If your entries have a value then add them to your query predicate. This can be encapsulated in a package/service database. We add 1 = 1 in the first part of the predicate is easier to manage the ing 'and '.

    declare
      v_sql varchar2(32000);
    begin
      v_sql := 'select * from table where 1=1 ';
      if :item1 is not null then
        v_sql := v_sql || 'and column1 = :item1 ';
      end if;
      if :item2 is not null then
        v_sql := v_sql || 'and column2 = :item2 ';
      end if;
      if :item3 is not null then
        v_sql := v_sql || 'and column3 = :item3 ';
      end if;
      return(v_sql);
    end;
    

    These aren't the only options out there, but this should cover many situations. If you want to really crazy, you can create a sql type and who returned from a function in pipeline and expressed in a table. I usually stick to one of these two options well: P.

    See you soon,.
    Janet Tyson

  • mutually exclusive checkbox

    I have two checkboxes B1and B2. I wish that the boxes to be mutually so that if a box is unchecked the other and both can be controlled at the same time. Could someone help?

    Thanks in advance

    Hello

    You can do two checkboxes to opt-out each other by writing the following code

    in the click which is event

    for the B1 box: -.

    If (this.) RawValue == 1)
    {
    B2. RawValue = 0;
    }

    for the B2 box: -.

    If (this.) RawValue == 1)
    {
    B1. RawValue = 0;

    }

    Thank you

    Stéphane.

  • Turn Windows features on or off - games and IE are mutually exclusive?

    When I activate the games help to turn Windows features on or off, IE11 is deleted from my computer and is no longer visible as an option to activate Windows features On or Off.  It is a 2 - day old HP Probook running Windows 7 Professional.

    I need to restore to recover IE11 on my machine.  I did this four times now.  100% reproducible.

    Any ideas?

    Okay, I think that all is well now.

    I turned on the game, uninstalled IE11 from Windows Update and reinstalled IE11 using offline Installer.

    The games and IE11 work.  IE11 appears even to turn features Windows turn on or off.

    Thanks for the help and suggestions!

  • How can we achieve mutually exclusive save file ADF for scenario below

    Hi Experts,

    I have 2 inputText boxes. Click to I should only keep when the condition is valid: -.

    inputText A is null & & inputTextValue B non-null (true - leave record)

    inputText A isn't null & & inputTextValue B is null (set to true allows record)

    A inputText = null and inputText B = null (do not let save)

    A inputText. = null and inputText B! = null (do not let save)

    Thank you roy

    JDEv 12.1.3.0

    Hello

    You can manage at the entity level validation. its very simple to manage it there only. If you sort it handle it might be performance for each record time.

    Approach one:

    Create the entity validation methods of levels two one for two years null text entry send message to apprapriate, and another is for the two input text have values throw apprapriate message fo this.

    Exmple:

    I took the table Employee pay or Manager id must be a single does not exist two and not null;

    code for this

    /**

    The method of validation of employees.

    */

    public boolean validateEmployees() {}

    If (getSalary () == null & getManagerId() == null) {}

    Returns false;

    }

    Returns true;

    }

    /**

    The method of validation of employees.

    */

    public boolean validateEmployees1() {}

    If (getSalary ()! = null & getManagerId()! = null) {}

    Returns false;

    }

    Returns true;

    }

    Second approach:

    You can disbale the compaonents user interface level;

    JSFF code is:

    Salary column

    headerText = "#{bindings." EmployeesView1.hints.Salary.label}"id ="c2">

    label = "#{bindings." EmployeesView1.hints.Salary.label}.

    required = "#{bindings." EmployeesView1.hints.Salary.mandatory}.

    columns = "#{bindings." EmployeesView1.hints.Salary.displayWidth}.

    maximumLength = "#{bindings." EmployeesView1.hints.Salary.precision}.

    Disabled = "#{row." "{Bindings.ManagerID.inputValue not null}".

    partialTriggers = "it7' autoSubmit = 'true '.

    shortDesc = "#{bindings." EmployeesView1.hints.Salary.tooltip}"id ="it6">

    Director column ID

    sortable = "true" headerText = "#{bindings." EmployeesView1.hints.ManagerId.label}"id ="c9">

    autoSubmit = 'true '.

    label = "#{bindings." EmployeesView1.hints.ManagerId.label}.

    required = "#{bindings." EmployeesView1.hints.ManagerId.mandatory}.

    columns = "#{bindings." EmployeesView1.hints.ManagerId.displayWidth}.

    maximumLength = "#{bindings." EmployeesView1.hints.ManagerId.precision}.

    " do disabled =" #{row.bindings.Salary.inputValue, null} "partialTriggers =" it6"

    shortDesc = "#{bindings." EmployeesView1.hints.ManagerId.tooltip}"id ="it7">

    For both null, you need to get the iterator ISO save button action event check lines all go through them all each of any thing find throw the error msg.

    Note: In this approach if the user enters salary after tab Manager ID is disabled, if it wants to enter this line manager id, to remove the value of wages filed and tab out so only the id of Director gets activated conversely to pay also.

    Thank you

    Canada M

  • It is fine if I have 3 mutual exclusive FK in a table

    Hello
    Can you please have a look at this image:
    fam-erp.com/Capture.PNG


    The three paintings, COM_SALE, RES_SALE, PLOT_SALE share the same details in the SALE_DEALS table.
    It is fine to have an FK for each of the tables in the Table SALE_DEALS. Which means that each record in the SALE_DEALS Table has two null values?
    Or should I MAKE IT three corresponding TABLES COM_SALE_DEAL, RES_SALE_DEAL, PLOT_SALE_DEAL for each table of: COM_SALE, RES_SALE, PLOT_SALE... ??

    Keeping in mind that there are another two tables under SALE_DEAL Table: PAYMENTS and DOCS. Which means that if I go with the creation of new tables COM_SALE_DEAL, RES_SALE_DEAL, PLOT_SALE_DEAL-> then I need to create more than 4 tables as follows:

    COM_PAYMENTS and COM_DOCS
    RES_PAYMENTS and RES_DOCS
    PLOT_PAYMENTS and PLOT_DOCS

    I hope that my question is simple... I use Oracle 11 g SOE...

    Kind regards
    Fateh

    Ok

    What I'm working on myself is a database to follow the music, including artists.
    So I make individuals, I also composers and writerss on music, but I also sets.
    Initially, I had people (authors, artists-performers and composers) in a table and sets in another.
    Now, I want to know who contributes to what CD and for a list of contributors that I had to join with the sets and the people.
    It was a disaster, as I expected.

    Thus,.
    I made a table of CONTRIBUTOR, with all the attributes of the two tables (most were common)
    and a PERSON view on top of CONTRIBUTOR and an overview on top of CONTRIBUTOR.

    What I have is an example of several objects that inherit from a common base.
    In OBJECT-oriented programming, this is called polymorphism.

    Your situation is the same.
    You have polymorphism.

    In my case, I need to

    Select * from media,.
    (select...)
    of the person
    Union
    Select * from a set
    )
    separated in the solution with tables.

    You will have the same pain.

    Where my suggestion to merge everything in an underlying table, a single series of FKs and views (RES, COM and GROUND) on the communal table.

    -----------
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for

  • Whats an OP?

    I ask how to get a substantive theme for the new tab page, and the answers say, when the OP opens? So, how do a background theme for the new tab on the page.Thanks people, I love Firefox.

  • Recovery with Satellite C850-B718 problem

    My Satellite C850-B718 fell on some issues. I got it with my recovery disks. The recovery was supposed to be successful. When I restarted the laptop, it still asks me to recover. What should I do?

  • I want to talk to someone about my missing live account is it possible?

    until 2 days ago, I had an account: * address email is removed from the privacy *, then he disappeared. the page told me to create a new account and they would check my answers to personal information to see if I was the owner of the ACTC. I did ever

  • How to run a window of data acquisition and another pane at the same time

    Hello I have a main window for data acquisition and in front panel there are four Sub Vi. When the main window of data acquisition is running and at the same time if I run the Subvi - main window stops data acquisition and the secondary window starts

  • Photosmart C7180 on Windows 7 x 64: big problems

    My Photosmart C7180 faithful went to a near-useless state because I attach to my new desktop running Windows 7 x 64.  I am connected via a wired/usb connection cable. Some of these new antics include: Said solution center it is disconnected when it i