Problems with joining paths

Could someone please explain why I often get an error message when I try to join two lines? I can't reproduce the error now, but I found the message more to stackexchange:

"To register, you must select two open end points. If they are not on the same path, they can be on any text within graphics paths, and if two of them are grouped together, they must be in the same group. »

Or maybe someone could translate the message in English?

Thank you for your reply Jacob, but I always if sure I select only two anchor points.

And I got a different error message earlier, saying that the selected objects cannot be joined because they are invalid objects (transparent traces, text, graphic objects, live paint group). So, there seems to be many cases where the function works everything simply.

EDIT: I've found a workaround: when the paths cannot be joined because they have a live paint group, this group can be expanded. This closes the gaps that cannot otherwise be closed.

Tags: Illustrator

Similar Questions

  • problem with join

    Hello Experts,

    I'm having a little problem with joining me. its not taking the values that should be
    declare
    l_start_file_name varchar2(50) := 'liab_report_summary_p008_c';
    l_end_file_name varchar2(50)   := '_english.rep';
    l_file_name varchar2(100);
    l_sql varchar(32767);
    refresh_cdc varchar2(10) := '00540';
    
    Begin
    
    l_file_name := l_start_file_name||REFRESH_CDC||l_end_file_name;
    
     l_sql := 'create or replace directory GTECHFILES as ''/ftpfiles/gtechfiles/acct_'||REFRESH_CDC||'''';
      execute immediate l_sql;
    
    
    l_sql :=  ' CREATE TABLE LOTO_LIABILITY_REPORT_temp             '||
              ' (                                                   '||
              '  draw_number       varchar2(50),                    '||
              '  total_winners_amt number,                          '||
              '  paid_today_amt    number,                          '||
              '  total_paid_amt    number,                          '||
              '  expired_today_amt number,                          '||
              '  total_expired_amt number,                          '||
              '  frac_round_amt    number,                          '||
              '  outstanding_amt   number                           '||
              ' )                                                   '||
              ' ORGANIZATION EXTERNAL                               '||
              '   (  TYPE ORACLE_LOADER                             '||
              '     DEFAULT DIRECTORY GTECHFILES                    '||
              '     ACCESS PARAMETERS                               '||
              '       (                                             '||
              '      RECORDS DELIMITED BY NEWLINE                   '||
              '    BADFILE TEMPDIR:''loto_liability_report.bad''    '||
              '    DISCARDFILE TEMPDIR:''loto_liability_report.dis'''||
              '    LOGFILE TEMPDIR:''loto_liability_report.log''    '||
              '      SKIP 8                                         '||    
              '      FIELDS LDRTRIM                                 '||
              '      MISSING FIELD VALUES ARE NULL                  '||
              '       (                                             '||
              '  draw_number       (1:11)  char(11),                '||
              '  total_winners_amt (14:24) char(11),                '||
              '  paid_today_amt    (26:36) char(11),                '||
              '  total_paid_amt    (38:48) char(11),                '||
              '  expired_today_amt (50:60) char(11),                '||
              '  total_expired_amt (62:72) char(11),                '||
              '  frac_round_amt    (74:80) char(7),                 '||
              '  outstanding_amt   (82:92) char(11)                 '||
              '       )                                             '||
              '   )                                                 '||
              '     LOCATION ('''||l_file_name||''')                '||
              ' )                                                   '||
              ' REJECT LIMIT UNLIMITED                              '||
              ' NOPARALLEL                                          '||
              ' NOMONITORING                                        ';
    
             execute immediate l_sql; 
    
    
     l_sql := ' insert into LOTO_LIABILITY_REPORT '||
     ' ( draw_number             , '||
     '   total_winners_amt       , '||
     '   paid_today_amt          , '||
     '   total_paid_amt          , '||
     '   expired_today_amt       , '||
     '   total_expired_amt       , '||
     '   frac_round_amt          , '||
     '   outstanding_amt         , '||
     '   source                  , '||
     '   inserted_DATE           , '||
     '   CDC                     , '||
     '   draw_start_date         , '||
     '   draw_end_date             '||
     ' )                           '||
     '   SELECT                    '||
     '       a.to_number(substr(draw_number,1,instr(draw_number,''/'',1)-1)) , '||
     '       a.total_winners_amt                                             , '||
     '       a.paid_today_amt                                                , '||
     '       a.total_paid_amt                                                , '||
     '       a.expired_today_amt                                             , '||
     '       a.total_expired_amt                                             , '||
     '       a.frac_round_amt                                                , '|| 
     '       a.outstanding_amt                                               , '||  
     '       '''||l_file_name                                           ||''', '||
     '       sysdate                                                         , '||
     '       '''||refresh_cdc                                           ||''', '|| 
     '       b.start_date                                                    , '|| 
     '       b.end_date                                                        '|| 
     '    FROM                                                                 '||
     '       a.LOTO_LIABILITY_REPORT_temp                                     ,'||
     '       b.draws                                                           '||
     '    where                                                                '||
     '       a.draw_number is not null                                         '||
     '    and                                                                  '||
     '       a.total_winners_amt is not null                                   '||
     '    and                                                                  '|| 
     '       a.to_number(substr(draw_number,1,instr(draw_number,''/'',1)-1))= b.num ';
    
     
        dbms_output.put_line(l_sql);
             execute immediate l_sql;           
             
    l_sql :='drop table LOTO_LIABILITY_REPORT_temp';
     
            execute immediate l_sql;
            
    exception
    when others then
    rollback;
    l_sql :='drop table LOTO_LIABILITY_REPORT_temp';
    execute immediate l_sql;
    debug_message('LOTO_LIABILITY_REPORT_temp_UPLOAD/'||REFRESH_CDC,'Unexpected Error '||sqlerrm);
    END LOTO_LIABILITY_REPORT;

    at least

     '    FROM                                                                 '||
     '       LOTO_LIABILITY_REPORT_temp a                                     ,'||
     '       draws b                                                           '||
     '    where                                                                '||
    

    Concerning

    Etbin

  • Problem with current path function screws...

    Hello world...

    Yesterday my application suddenly started to behave in a weird way...

    I have a Sub VI, in which I currently have function of path of screws. I created my app executable. launched and observed the current path of screws gives me some stupid trail all of a sudden.

    It should give me...            Program files\application\app.exe\subVI.vi

    but I'm files\application\app.exe\D:\Application name\sub directory\subvi.vi program

    "D:\Application name\sub directory\subvi.vi", this is the path where the real VI was located on the development computer

    While preparing the exe, I have selected "same as appellant" in the destination domain.

    and you know what?... This occurs only for a project.all other applications are very well... and still I created a test project and tried to reproduce this problem in that. but I'm way in the test EXE project...

    I don't know if I'm the first person to get that kind of weird error with current path of screw...

    I solved my problem at present using the property node: App Dir that I just wanted to know where my EXE is installed...

    Thank you

    Anil

    You're running in one of the new features in LabVIEW 2009. In order to solve the problem where by LabVIEW could end up having tons of screws outside the executable if LVLib or LVClasses was used, NOR changed the internal structure of a LabVIEW EXE to have folders rather than just a flat file list. This is a great advantage if your like me and use classes and lvlibs, but means that the old logic for dynamically calling screws must be changed a bit

    If you want the old behavior, check the advanced settings in the build definition and look for a setting called "8.x File layout" (or something like that).

  • I have a problem with the path, what is? No effect applied, some new preset in Illustrator? I need to disable

    Screen Shot 2015-07-22 at 19.20.13.png

    ferkomrkvicka,

    Two suggestions that may be too far:

    You can try to disable the GPU performance by clicking on the icon of the rocket in the bar of the App, or on the top of the menu bar, deselect the box Performance GPU; You may also uncheck performance GPU in your preferences. There are a few problems with the GPU and Adobe are working on them. They should be resolved with the 19.0.1 patch, but some are not. Link to 19.0.1 release notes:

    https://helpx.Adobe.com/Illustrator/KB/Illustrator-CC-2015-crash-bug-fixes-19-0-1.html

    Try to move or work assigned to scale (a little) and then Ctrl / Cmd + Z to undo, to get it in place. If usable, it is a roundabout way to use until the issue is resolved. or you can turn paste remembers layers in the layers panel, if you can live with the side effects.

  • Problem with the path of the file

    I'm under DW CS4 on a Dell Studio XPS 64-bit.

    Since the update for CS3, I had problem with DW, do not enter the last folder in the string for example.

    When you define a new site, the last folder is never included. I select as follows:

    C:\Users\jeni\Documents\sites\clients\Fred\web

    and DW will not add the \web part. I have to manually type in the area of the local root folder

    This problem also occurs when I insert a gallery of images PVII (one of them). Can I choose the folder of destination OK but I have to type in the last part of the source folder, for example. C:\Users\jeni\Documents\sites\clients\Fred\gallery-pics. I have to type in \gallery-pics.

    It occurs when, for example, I am just inserting an image on the page of my pictures folder in the defined site.

    This is never a problem, I've had in previous versions of DW and I would be very grateful if someone could offer an idea how to solve this problem - it is driving me crazy!

    Jeni

    It is a known problem caused by a change in the Windows operating system since the release of Dreamweaver CS4. Details are here: http://forums.adobe.com/thread/478327.

  • problems with the path to the launchexecutable() file name

    Hello

    I use launchexecutable() to open a .ini file in Notepad.

    If I specify the name of path as launchexecutable (like Notepad. EXE D:\\Documents and Settings\\T0128779\\Bureau\\filename.ini), the file opens perfectly. The problem I have is that I have a string that stores the name of path, but without the two slashes between for example the string contains the name of path as D:\Documents and Settings\T0128779\Bureau\filename.ini

    launchexecutable doesn't seem to work with this string. What I am doing wrong?

    Thank you

    Rohit

    SINNAS wrote:

    launchexecutable "(Notepad. Stringname EXE")

    It will not work. You should have a look at the examples of the BCI using LaunchExecutable. You will find how to do:

    sprintf ('%s' Notepad.exe tempstr, stringname);

    LaunchExecutable (tempstr);

  • Problem with the path of the current script and applescript

    Work in cs3 here

    Here's what I'm trying to achieve. I wrote a script in javascript, but I need the support of shell for some features. I can only run applescript shell so I'm able to run the shell script quite easily to applescript, as long as I have hard the path of the code in the applescript.

    It stops working when I get the activeScript path and then try and pass it in applescript.

    Here's what works

    < code >

    "myScript = 'do shell script \"/users/my_username/myScript.sh\' &------"------" & point 1 of arguments and return. "

    myParams = ['param1'];

    var result is doScript (myScript, ScriptLanguage.applescriptLanguage, myParams);.

    < code >

    It works fine, however I would like to have the shell script live in the same folder as the scripts Panel, so it is easier for others to install

    So here's what I tried to do

    < code >

    myScript = app.activeScript var;

    var thisPath = myScript.path + "/ myShellScript.sh";

    "' myScript =" do shell script------"" + thisPath + "------" &------"------" & point 1 arguments and return. "

    myParams = ['param1'];

    var result is doScript (myScript, ScriptLanguage.applescriptLanguage, myParams);.

    < code >

    It produced an error that says: Indesign can't find the file.

    So I tried to escape all spaces with a replacement of the chain, as follows:

    < code >

    scriptPath var = "\" "+ thisPath.replace(/%20/g,"%5C%5C%20") +" "-" '; "

    < code >

    It still does not work. I also tried to make an object file

    < code >

    scriptPath var = File (thisPath);

    < code >

    Couple other things I've tried include POSIX path in applescript, removing the additional quotes, enveloping the path in quotes.

    It did not work also. Any help would be greatly appreciated that I do not understand what I am doing wrong.

    UPDATE:

    Just after posting, I have corrected this problem. For anyone who wants to know, that's what I did

    scriptPath var = ""' + thisPath.replace(/%20/g,"\\\") "+ '" '; "

  • Problem with joining photos for the Windows 8 library mail program and error message 'create an association in the default program control panel '.

    Original title: E-mail question

    I want to send pictures of the library in Windows 8. Cannot do. He told me to create an association in the default program control panel. Been there, no help.

    Hello Jeff,.

    Please keep us updated on the status of the issue.

    I will certainly help you in the right direction to solve the problem. However, I would be grateful if you could let us know that you have set the email client that you use as default to the Control Panel program to send and receive electronic messages from the computer.

    Please respond with the requested information, in order to help you solve the problem.

    Thank you

  • Problem with join request and left sub ORA-01799

    Hi all

    I am currently working on the following query and I get an error when you use a left join (mandatiry in my case), in good and due place of a join.

    Error message describes the case, but I need to make it work.

    No idea how I can make this one for a left join job?

    Select a.dco, a.agsa, a.agem, a.agde, a.ope, a.eve, a.tpr, a.nat,

    a.Age, a.dev, a.ncp, a.suf, a.sen, a.dva, a.mon, a.lib, c.cli, e.age as kage,

    e.OPE as kope, e.eve as kévé, e.dev as kdev, e.dech, e.ndos, e.tcai3, e.nump, e.natp, e.lib1,

    e.nom2, e.dev2, e.ncp2, e.age1, e.ncp1, e.dev1, e.nom1, e.nomb, e.etab, e.comb,

    e.AGE2, e.nomp, e.lib2, e.lib3, e.lib4, e.lib5, e.lib6, e.lib7, e.lib8, e.lib9, e.dva2,

    e.mht as e.agsa as kagsa, e.mcai3, e.tcai2, e.refdos, e.mnat, d.cur_char, kmht

    of bkmvtg_mi one

    Join bkcom c on a.age = c.age and a.dev = c.dev and a.ncp = c.ncp and a.suf = c.suf

    e left join on (e.age = bkeve_mi

    CASES (select nvl (trim (zon1), 'age') in the cpjoilib where nomtab = 'bkeve' and nat = a.nat and zon2 = 'age')

    WHEN "age" THEN a.age

    WHEN "real" THEN a.agem

    WHEN 'agsa' THEN a.agsa

    WHEN 'agde' THEN a.agde

    Of OTHER a.age

    END

    and a.ope = e.ope and a.eve = e.eve)

    e.CSP4 left join sgsbwb_currency d = d.cur_num

    where exists (select * from sc sgsbwb_client where c.cli = sc.customer_number and ready = 1).

    and exists (select * from sgsbwb_pdt sp where c.cpro = sp.c_pro);

    ORA-01799:

    01799 00000 - "a column cannot be reached outside to a subquery.

    * Cause: < expression > (+) < relop > (< subquery >) is not allowed.

    * Action: Either delete the or make a view of the subquery.

    In V6 and with of the was simply ignored in this case.

    Thanks for your help and valuable advice

    Best regards

    Jérôme

    You must activate the application in that case there in a join.  I used an outer join below because that mimics the effect of your expression, but if you know that there is always a game between bkmvtg_mi and cpjoilib, then it could be a standard join.

    Select a.dco, a.agsa, a.agem, a.agde, a.ope, a.eve, a.tpr, a.nat,

    a.Age, a.dev, a.ncp, a.suf, a.sen, a.dva, a.mon, a.lib, c.cli, e.age as kage,

    e.OPE as kope, e.eve as kévé, e.dev as kdev, e.dech, e.ndos, e.tcai3, e.nump, e.natp, e.lib1,

    e.nom2, e.dev2, e.ncp2, e.age1, e.ncp1, e.dev1, e.nom1, e.nomb, e.etab, e.comb,

    e.AGE2, e.nomp, e.lib2, e.lib3, e.lib4, e.lib5, e.lib6, e.lib7, e.lib8, e.lib9, e.dva2,

    e.mht as e.agsa as kagsa, e.mcai3, e.tcai2, e.refdos, e.mnat, d.cur_char, kmht

    of bkmvtg_mi one

    Join the bkcom c

    On a.age = c.age and

    a.dev = c.dev and

    a.NCP = c.ncp and

    a.SUF = c.suf

    Join cpjoilib l left

    On a.nat = l.nat and

    l.nomtab = "bkeve" and

    l.zon2 = 'age '.

    Join e bkeve_mi left

    on (e.age = nvl (trim (l.zon1), 'age') CASE

    WHEN "age" THEN a.age

    WHEN "real" THEN a.agem

    WHEN 'agsa' THEN a.agsa

    WHEN 'agde' THEN a.agde

    ELSE a.age END and

    a.OPE = e.ope and

    a.Eve = e.eve)

    left join sgsbwb_currency d

    on e.csp4 = d.cur_num

    where exists (select * from sgsbwb_client sc)

    where c.cli = sc.customer_number and

    ready = 1) and

    There are (select * from sgsbwb_pdt sp)

    where c.cpro = sp.c_pro);

    John

  • Problem with include paths

    Hello

    I have some difficulty in getting the expected results using some include statements which are bring files to other directories.  I've simplified the problem as follows:

    My directory structure is as follows - the two subdirectories are in the same main directory:

    The phone book file

    sandbox-> main.php

    understand-> lc - object.php

    I want to register lc - object.php in main.php.  The format I use in main.php is the following:

    include dirname (__FILE__). '/' . '.. / include/lc - object.php';

    When I do a direct view of main.php, I get the following warning message:

    Warning: include(C:\xampp\htdocs\stsco-portal\sandbox/.. /include/LC-Object.php): failed to open stream: no such file or directory inC:\xampp\htdocs\stsco-portal\sandbox\main.php on line 9

    I may have something Setup incorrectly about how covered paths. I appreciate the insight or advice.

    Steve Alford

    How about this:

    Nancy O.

  • Problems with recursive path of the inventory (c# and web services)

    For starters, let me say that my goal was to write a piece of code that would take the ManagedObjectReference (MOR) of HostSystem when given the MOR in the folder root ESXi system.

    However I can't get this to work with recursion at all. I could just manually each way (no recursion), but because I need to work with the web services SDK much, I really want to get this working.

    I usually get exceptions like "traversal spec labeled" or "invalid type. Invalid type is caused by an error in the capitalization of the letters in the TraversalSpec.type property. But why it tells me I have a "labeled traversal spec' when I took care to specify the names in each TraversalSpec.

    Can anyone provide an example on how to set up a PropertyFilterSpec to browse from the folder root to HostSystem using recursive calls via SelectionSpec?

    Below is some of my code relating to the crossing of the inventory. It's a mess right now and not exactly set up for recursive as calls I kept trying different things to make it work.

    Help is greatly appreciated.

                   ObjectSpec objSpec = new ObjectSpec();
                PropertySpec pSpec = new PropertySpec();
                PropertyFilterSpec pFilterSpec = new PropertyFilterSpec();
    
                SelectionSpec sSpec = new SelectionSpec();
                sSpec.name = "travelFolder";
    
                SelectionSpec sSpec2 = new SelectionSpec();
                sSpec.name = "travelDCtoFolder";
    
                TraversalSpec travelDCtoFolder = new TraversalSpec();
                travelDCtoFolder.name = "travelDCtoFolder";
                travelDCtoFolder.skip = false;
                travelDCtoFolder.type = "Datacenter";
                travelDCtoFolder.path = "hostFolder";
                travelDCtoFolder.selectSet = new SelectionSpec[] { new SelectionSpec() };
                travelDCtoFolder.selectSet[0].name = "travelFolder";
    
                TraversalSpec travelCRtoHF = new TraversalSpec();
                travelDCtoFolder.name = "travelCRtoHF";
                travelDCtoFolder.skip = false;
                travelDCtoFolder.type = "ComputeResource";
                travelDCtoFolder.path = "host";
    
                TraversalSpec travelFolder = new TraversalSpec();
                travelFolder.name = "travelFolder";
                travelFolder.type = "Folder";
                travelFolder.path = "childEntity";
                travelFolder.skip = false;
                travelFolder.selectSet = new SelectionSpec[] { };
    
    
    
                objSpec.obj = hostMOR;
                objSpec.skip = false;
                objSpec.selectSet = new SelectionSpec[] { travelFolder, travelDCtoFolder, travelFolder, travelCRtoHF };
    
                pSpec.type = "ManagedEntity";
                pSpec.pathSet = new string[] { "name" };
    
                pFilterSpec.objectSet = new ObjectSpec[] { objSpec };
                pFilterSpec.propSet = new PropertySpec[] { pSpec };
    

    Here is an example in Java in VI it is must show the way:

            TraversalSpec findHosts = new TraversalSpec();
            findHosts.setType("ComputeResource");
            findHosts.setPath("host");
    
            SelectionSpec recurseFolders = new SelectionSpec();
            recurseFolders.setName("FolderParent");
    
            TraversalSpec findClusters = new TraversalSpec();
            findClusters.setType("Datacenter");
            findClusters.setPath("hostFolder");
            findClusters.setSelectSet(new SelectionSpec[] {recurseFolders} );
    
            TraversalSpec findFolders = new TraversalSpec();
            findFolders.setName("FolderParent");
            findFolders.setType("Folder");
            findFolders.setPath("childEntity");
            findFolders.setSkip(Boolean.FALSE);
            findFolders.setSelectSet(new SelectionSpec[] { recurseFolders, findClusters, findHosts });
    
            ObjectSpec searchFromRoot = new ObjectSpec();
            searchFromRoot.setObj(si.getRootFolder().getMOR());
            searchFromRoot.setSelectSet(new SelectionSpec[] { findFolders });
    
            PropertySpec reportHostName = new PropertySpec();
            reportHostName.setType("HostSystem");
            reportHostName.setPathSet(new String[] { "name" });
    
            PropertyFilterSpec pfSpec = new PropertyFilterSpec();
            pfSpec.setObjectSet(new ObjectSpec[] { searchFromRoot });
            pfSpec.setPropSet(new PropertySpec[] { reportHostName });
    
            PropertyCollector pc = si.getPropertyCollector();
            ObjectContent[] ocs = pc.retrieveProperties(new PropertyFilterSpec[] { pfSpec });
    
            if (ocs != null) {
                for (ObjectContent oc : ocs) {
                    ManagedObjectReference dc = oc.getObj();
                    DynamicProperty[] props = oc.getPropSet();
                    if (props != null && props.length == 1) {
                        String name = (String) props[0].getVal();
                        System.out.println("Found " + dc.getType() + " name is '" + name + "'");
                    }
                }
            }
    

    It's a bit old, so I don't know I can explain it all, but here goes.

    First of all, the ObjectSpec specifies the root folder as starting point, with the 'findFolders' TraversalSpec tell what to look for from there.

    Second place, findFolders, which specifies a found file, select the objects in its list of childEntity.

    If the selected child object of a folder is another folder, the SelectionSpec 'recurseFolders' will point to "findFolders" looking for the child.

    If the selected child object of a record is a data center, "findClusters" will choose its object 'hostFolder' and again use "recurseFolders" looking for this folder.

    If the selected child object of a record is a ComputeResource, he will choose the objects in his list of 'host' and look no further.

  • problem with join of two tables

    Hi, consider the following data
    WITH data AS
    (
      SELECT 123 cid, 'aaa' isi, 'kkk' sud, 'ttt' ri FROM dual UNION ALL 
      SELECT 222 cid, 'bbb' isi, 'gggg' sud, 'hhh' ri FROM dual
    
    ) ,
    data2 AS 
    (
      SELECT 'aaa' isi, 'yyy' sud, 'ooo' ri FROM dual UNION ALL 
      SELECT 'qqq' isi, 'ggg' sud, 'ooo' ri FROM dual UNION ALL 
      SELECT 'uuu' isi, 'ppp' sud, 'ttt' ri FROM dual UNION ALL
       SELECT 'ppp' isi, 'mmm' sud, 'nnn' ri FROM dual 
    
    
    )
    what I want to do, is to join data2 with data by isi, ri or southern id table and produce this output.
     cid  txt
     ===  ====
     123  aaa
     222  ggg
     123  ttt
    It's how I got the above output:
    first try to join isi in database2 with isi in "features" and discover if line matches. If this is the case, display the cid of the data table and the use of the value to match.
    e.g. in the first line of table data2, we can see that isi = aaa matches line an isi data table. If the output displays 123 and value aaa.

    If the rank table two of the Data2 isi = qqq. When join them with the data table, we find not all isi with qqq. in this case, it must join with column of South. We can see that South = ggg data2 games
    the second line in the table of output so will bee 222 and value ggg.

    now, take a look at the third row in Database2. ISI = uuu is not found in the data table when join them. then try to join to the South. South = ttt is also not found in any row of the data table. so join with ri. We
    can see that ri = ttt data2 matches with ri = ttt in the table of data online 1. Therefore, we display the value.

    can someone help me write a sql query that joins these two tables by isi. If no line found then join South, if no found rows then join in ri? Thank you

    Hello

    elmasduro wrote:
    Hi Frank, data2.sud = 'Gay' (4 characters) assume to be South = "ggg". by mistake, I type extra g.

    I have another question about the request. What happens if I want to bring rows of data.2 even if they do not exist in the data table for the entire column was join?
    for example, I want to show this:

    cid  txt
    ===  ====
    123  aaa
    222  ggg
    123  ttt
    ppp  --row from data2
    

    the columns of the last row of data.2 does not match any column in the data table. in this case, I want to make but cid will be null. I tried outer join on your request, but it looks like I can not clause or with outer join

    SELECT     d1.cid
    ,     CASE
              WHEN  d1.isi = d2.isi  THEN  d2.isi
              WHEN  d1.sud = d2.sud  THEN  d2.sud
                                            ELSE  d2.ri
         END     AS txt
    FROM data     d1
    JOIN     data2     d2  ON     d1.is(+)i     = d2.isi
                  OR     d1.sud(+)     = d2.sud
                  OR     d1.ri(+)     = d2.ri
    ;
    

    How can I re - write the query for this case? Thanks again for your help

    Here is the outer join syntax:

    SELECT     d1.cid
    ,     CASE
              WHEN  d1.isi = d2.isi  THEN  d2.isi
              WHEN  d1.sud = d2.sud  THEN  d2.sud
              WHEN  d1.ri  = d2.ri   THEN  d2.ri
                                            ELSE  d2.isi
         END     AS txt
    FROM          data2     d2
    LEFT OUTER JOIN     data     d1  ON     d1.isi     = d2.isi
                           OR     d1.sud     = d2.sud
                           OR     d1.ri     = d2.ri
    ;
    

    The + sign for outer joins only works with the old join syntax, non-ANSI. Do not try to mix the two different ways to do joins.

    Not to mention that the outer join, don't forget to change the CASE expression, to include the new possibility of any columns 3 join matching.

  • Select the problem with joined tables

    Hello everyone I have the following query
    SELECT 
        OBJEKTI.OBJEKAT_ID OBJEKAT_ID, 
        OBJEKTI.ADRESA ADRESA, 
        OBJEKTI.POVRSINA POVRSINA, 
        OBJEKTI.BROJ_IZVRSILACA BROJ_IZVRSILACA, 
        OPREMLJENOSTI.OPREMLJENOST_ID OPREMLJENOST_ID, 
        OPREMLJENOSTI.PULT PULT, 
        OPREMLJENOSTI.REKLAMA REKLAMA, 
        OPREMLJENOSTI.MOKRI_CVOR MOKRI_CVOR, 
        OPREMLJENOSTI.WC_ZA_IGRACE WC_ZA_IGRACE, 
        OPREMLJENOSTI.WC_ZA_OSOBLJE WC_ZA_OSOBLJE, 
        OPREMLJENOSTI.VENTILATOR VENTILATOR, 
        OPREMLJENOSTI.OSVJETLJENJE OSVJETLJENJE, 
        OPREMLJENOSTI.VRSTA_BROJILA VRSTA_BROJILA, 
        OPREMLJENOSTI.ELEKTRO_INSTALACIJE ELEKTRO_INSTALACIJE, 
        OPREMLJENOSTI.VODO_INSTALACIJE VODO_INSTALACIJE, 
        OPREMLJENOSTI.TELEFONSKE_INSTALACIJE TELEFONSKE_INSTALACIJE, 
        OPREMLJENOSTI.GRIJANJE_ID GRIJANJE_ID, 
        OPREMLJENOSTI.POD_ID POD_ID, 
        OPREMLJENOSTI.PROZORI_VRATA_ID PROZORI_VRATA_ID, 
        OPREMLJENOSTI.OBJEKAT_ID OBJEKAT_ID1, 
        TEHNICKE_OPREMLJENOSTI.TEH_OPR_ID TEH_OPR_ID, 
        TEHNICKE_OPREMLJENOSTI.ONLINE_KLADIONICA ONLINE_KLADIONICA, 
        TEHNICKE_OPREMLJENOSTI.PANO PANO, 
        TEHNICKE_OPREMLJENOSTI.NOSACI NOSACI, 
        TEHNICKE_OPREMLJENOSTI.TV_LCD TV_LCD, 
        TEHNICKE_OPREMLJENOSTI.TV_TELETEXT TV_TELETEXT, 
        TEHNICKE_OPREMLJENOSTI.APARATI_IGRE APARATI_IGRE, 
        TEHNICKE_OPREMLJENOSTI.EVONA EVONA, 
        TEHNICKE_OPREMLJENOSTI.NOVOMATIC NOVOMATIC, 
        TEHNICKE_OPREMLJENOSTI.RULET RULET, 
        TEHNICKE_OPREMLJENOSTI.BILIJAR BILIJAR, 
        TEHNICKE_OPREMLJENOSTI.KLIMA KLIMA, 
        TEHNICKE_OPREMLJENOSTI.OBJEKAT_ID OBJEKAT_ID2, 
        PONUDE.PONUDA_ID PONUDA_ID, 
        PONUDE.ONLINE_TERMINAL ONLINE_TERMINAL, 
        PONUDE.SRECKE SRECKE, 
        PONUDE.ONLINE_KLADIONICA ONLINE_KLADIONICA1, 
        PONUDE.APARATI_IGRE APARATI_IGRE1, 
        PONUDE.RULET RULET1, 
        PONUDE.BILIJAR BILIJAR1, 
        PONUDE.OBJEKAT_ID OBJEKAT_ID3 
    FROM 
        OBJEKTI, 
        OPREMLJENOSTI, 
        TEHNICKE_OPREMLJENOSTI, 
        PONUDE 
    WHERE 
    (PONUDE.OBJEKAT_ID=OBJEKTI.OBJEKAT_ID AND TEHNICKE_OPREMLJENOSTI.OBJEKAT_ID=OPREMLJENOSTI.OBJEKAT_ID) OR (OPREMLJENOSTI.OBJEKAT_ID=OBJEKTI.OBJEKAT_ID AND TEHNICKE_OPREMLJENOSTI.OBJEKAT_ID=OPREMLJENOSTI.OBJEKAT_ID)
     ORDER BY OBJEKTI.OBJEKAT_ID
    The problem I have is any WHERE clause I use I have double values that makes no sense. I checked in the tables and I not all double values. Each Opremljenost has 1 objekat (there are 2 rows of each with its own Objekat) and this applies to 2 other tables (PONUDE and TEHNICKE OPREMLJENOSTI), but for some reason any that they double values. If I run it without a where clause at all clause, I get a repetition of values itself up to 4 times. Does anyone have an idea what's wrong with my request?

    Well, if all relationships are to 1-1 (1-0), then try this (the names of table/column, but you get what I mean bad):

    select OBJ.*, OPR.*, TEH.*, PON.* -- I know you can't do this, but you get what I mean.
    from OBJ,OPR,TEH,PON
    where OBJ.object = OPR.object (+)
      and OBJ.object = TEH.object (+)
      and OBJ.object = PON.object (+)
    /
    

    its supposed to be a 1 to 1 relationship, but it is not.

    In this case the remedy is very simple: create a UNIQUE constraint on the column of the OBJECT in OPR, TEH and PON...

  • Problems with joins

    I have 2 tables of those with employees and the other with the departments. I need to use a join to display the employe_id and employee_name, and the name of the employee for all employees in the production department. Here my syntax. I don't know how to finish or if it is still correct.


    SQL > SELECT employe_id, EMPLOYEE_NAME, DEPARTMENT_NAME
    2 EMPLOYEES, DEPARTMENTS
    3 WHERE EMPLOYED. EMPLOYEE_ID = EMPLOYEES. EMPLOYEE_NAME
    4 AND DEPARTMENT_NAME = 'PRODUCTION '.

    WHERE EMPLOYED. EMPLOYEE_ID = EMPLOYEES. EMPLOYEE_NAME
    *
    ERROR at line 3:
    ORA-01722: invalid number

    Thank you

    SELECT EMPLOYEE_NAME, EMPLOYE_ID
    EMPLOYEES
    WHERE department_id in (SELECT department_id
    MINISTRIES
    WHERE DEPARTMENT_NAME = 'PRODUCTION');

    1 EMPLOYEE_NAME is generally different from that DEPARTMENT_NAME
    2. because your subquery returns more than 1 row, you must use IN-place =.
    3. do you offended or disappointed, but please read some SQL books before you post here! You will not learn SQL from a forum.

    Published by: Auntie on October 1st, 2009 21:13

  • Problems with joins in the repository

    Hello

    I have a requirement to display a report which shows that the activity of the employee account within a specified date range.

    My tables is:

    Emp_Dim (emp_key, emp_name, etc.)
    Date_Dim (date_key, date_value, etc.)
    Fact_Activities (emp_key, date_key, County of activity)

    The part that gives me, is that the customer wants to see all employees without worrying if they have an entry in the fact_activities table. I tried messing around with outer joins business layer between these tables, but I can't seem to get the results the customer wants.

    When a user enters a date range in a command prompt, the report should show all employees in the organization. The counties of activity should reflect the date range. So if the employee had a count of 5 between April 6 and April 12, but a number 0 between April 13 and April 15, this should be reflected when the user changes the date range in the report.

    Currently, if an employee count 0 activity for a certain date range, they are not just displayed in the report for this range.

    Any ideas?

    Thank you

    I'm glad that solve you it but I am very surprised because I well I posted the filing solution that is a better solution.

    Check here:
    http://gerardnico.com/wiki/dat/OBIEE/bi_server/design/obiee_densification_design_preservation_dimension

    You must use a small obiee logic sql in the filter to say that only users who have an activity for the desired period.

Maybe you are looking for

  • Repair technician-Apple

    How can I convert it to a technician on the repair of Apple products?

  • Satellite P500 is not the start - stop screen Toshiba

    Hey everybody, I spent hours scouring the Internet to see if anyone has had a similar problem and I found nothing. When I turn on my laptop, I hear the fan starts and the screen on the Toshiba load screen startup - and stays there. I tried a drain of

  • It's not you, it's Skype. Laughing out loud

    LATER Facebook page of pair PCWorld said: "it's not you, it's Skype. http://www.PCWorld.com/article/2930757/these-8-characters-crash-Skype-and-leave-it-unable-to-reopen...

  • SM bus controller shows the yellow mark

    When I open the sm bus controller Device Manager shows yellow mark and when I try to update this driver but never of the works. The model No. my computer is CQ3659IN the basis of House window 7 32 bit operating system. Convert the operating system of

  • Ethernet and Windows Firewall

    Hello I need to know what Windows Firewall rules must be defined for TestStand/CVI see the ARP protocol. We see nothing, no ethernet traffic. I have a system (Army Gold Master 7, using TestStand and CVI) who has "standard" Government firewall rules W