Help needed with Connect By  clause

Hi all,
i have following hierarchical structure,
          a     
         0  |    0
            |b
     0  / \   1
         d/   \c                 
         0 \ /   1                
            |e
      0  |    0
            |f
      0  |    0
         |g
"a" is start item
"g" is end item
i have 2 branches as shown above
branch 1 - a --> b --> d --> e --> f --> g
              0     0    0     0     0   
branch 2 - a --> b --> c --> e --> f --> g
           0     1     1    0     0
Branch 1 is my Main branch
Branch 2 is my alternate branch  with common start and end item,
when i use the following query i get ouptut of branch 1
Select t.p_ml,
       t.s_ml,
       t.flag,
        Level          lev
FROM    test t
CONNECT BY Prior s_ml = p_ml
And flag = 0
START WITH p_ml = 'g'
And flag = 0
        P_ML     S_ML     FLAG     LEV
1     g     f     0     1
2     f     e     0     2
3     e     d     0     3
4     d     b     0     4
5     b     a     0     5
what i need is output of branch 2 as shown below
P_ml  S_ml  flag
g     f     0             -->end item
f     e     0
e     c     1
c     b     1
b     a     0             --> start item;
The table strcutre and data is given below,
create table TEST
  P_ML VARCHAR2(4),
  S_ML VARCHAR2(4),
  FLAG NUMBER(2)
insert into TEST (P_ML, S_ML, FLAG)
values ('f', 'e', 0);
insert into TEST (P_ML, S_ML, FLAG)
values ('e', 'd', 0);
insert into TEST (P_ML, S_ML, FLAG)
values ('d', 'b', 0);
insert into TEST (P_ML, S_ML, FLAG)
values ('b', 'a', 0);
insert into TEST (P_ML, S_ML, FLAG)
values ('g', 'f', 0);
insert into TEST (P_ML, S_ML, FLAG)
values ('e', 'c', 1);
insert into TEST (P_ML, S_ML, FLAG)
values ('c', 'b', 1);  
kindly assist me, if anything not clear let me know,regards
nic
Message was edited by:
Nicloei W
Message was edited by:
Nicloei W

Well i've modified my solution, Now it will perform for both the same number of nodes in two branch and as well as different number of nodes in two branch. Hope this will work for you.
First case,
Same number of nodes in both the branch-
satyaki>
satyaki>drop table test;
Table dropped.
Elapsed: 00:00:10.46
satyaki>
satyaki>
satyaki>create table TEST
  2  (
  3    P_ML VARCHAR2(4),
  4    S_ML VARCHAR2(4),
  5    FLAG NUMBER(2)
  6  );
Table created.
Elapsed: 00:00:00.73
satyaki>
satyaki>
satyaki>insert into TEST (P_ML, S_ML, FLAG)
  2  values ('f', 'e', 0);
1 row created.
Elapsed: 00:00:00.23
satyaki>insert into TEST (P_ML, S_ML, FLAG)
  2  values ('e', 'd', 0);
1 row created.
Elapsed: 00:00:00.01
satyaki>insert into TEST (P_ML, S_ML, FLAG)
  2  values ('d', 'b', 0);
1 row created.
Elapsed: 00:00:00.01
satyaki>insert into TEST (P_ML, S_ML, FLAG)
  2  values ('b', 'a', 0);
1 row created.
Elapsed: 00:00:00.00
satyaki>insert into TEST (P_ML, S_ML, FLAG)
  2  values ('g', 'f', 0);
1 row created.
Elapsed: 00:00:00.03
satyaki>insert into TEST (P_ML, S_ML, FLAG)
  2  values ('e', 'c', 1);
1 row created.
Elapsed: 00:00:00.04
satyaki>insert into TEST (P_ML, S_ML, FLAG)
  2  values ('c', 'b', 1);
1 row created.
Elapsed: 00:00:00.03
satyaki>
satyaki>
satyaki>commit;
Commit complete.
Elapsed: 00:00:00.07
satyaki>
satyaki>
satyaki>
satyaki>
satyaki>
satyaki>with t
  2  as
  3    (
  4      select distinct p_ml,
  5             s_ml,
  6             flag,
  7             lev
  8      from (
  9              select p_ml,
10                     s_ml,
11                     flag,
12                     row_number() over(partition by lev order by p_ml,s_ml,flag ) rn,
13                     row_number() over(partition by lev order by p_ml desc,s_ml desc,flag desc) r
n_alt,
14                     lev
15             from (
16                     Select t.p_ml,
17                            t.s_ml,
18                            t.flag,
19                            Level          lev
20                     FROM    test t
21                     CONNECT BY Prior s_ml = p_ml
22                     START WITH p_ml = 'g'
23                     --And flag = 0
24                  )
25           )
26     where rn = 1
27     --where rn_alt=1
28     order by lev desc
29    ),
30  sat as
31   (
32     select a.s_ml||' -> '||a.p_ml  graph_disp,
33            a.lev
34     from t a
35     CONNECT BY Prior a.s_ml = a.p_ml
36     START WITH a.p_ml = 'g'
37   ),
38  satyaki as
39   (
40     select graph_disp,lev,
41            row_number() over(partition by graph_disp order by lev desc) rn
42     from sat
43   )
44  select graph_disp
45  from satyaki
46  where rn = 1
47  order by lev desc;
GRAPH_DISP
a -> b
b -> c
c -> e
e -> f
f -> g
Elapsed: 00:00:00.59
satyaki>
satyaki>
satyaki>
satyaki>ed
Wrote file afiedt.buf
  1  with t
  2  as
  3    (
  4      select distinct p_ml,
  5             s_ml,
  6             flag,
  7             lev
  8      from (
  9              select p_ml,
10                     s_ml,
11                     flag,
12                     row_number() over(partition by lev order by p_ml,s_ml,flag ) rn,
13                     row_number() over(partition by lev order by p_ml desc,s_ml desc,flag desc) rn_alt,
14                     lev
15             from (
16                     Select t.p_ml,
17                            t.s_ml,
18                            t.flag,
19                            Level          lev
20                     FROM    test t
21                     CONNECT BY Prior s_ml = p_ml
22                     START WITH p_ml = 'g'
23                     --And flag = 0
24                  )
25           )
26     --where rn = 1
27     where rn_alt=1
28     order by lev desc
29    ),
30  sat as
31   (
32     select a.s_ml||' -> '||a.p_ml  graph_disp,
33            a.lev
34     from t a
35     CONNECT BY Prior a.s_ml = a.p_ml
36     START WITH a.p_ml = 'g'
37   ),
38  satyaki as
39   (
40     select graph_disp,lev,
41            row_number() over(partition by graph_disp order by lev desc) rn
42     from sat
43   )
44  select graph_disp
45  from satyaki
46  where rn = 1
47* order by lev desc
satyaki>/
GRAPH_DISP
a -> b
b -> d
d -> e
e -> f
f -> g
Elapsed: 00:00:01.03
satyaki>
satyaki>Second case,
Different number of nodes in both the branch-
satyaki>
satyaki>
satyaki>drop table test;
Table dropped.
Elapsed: 00:00:03.92
satyaki>
satyaki>
satyaki>
satyaki>create table TEST
  2   (
  3      P_ML VARCHAR2(4),
  4      S_ML VARCHAR2(4),
  5      FLAG NUMBER(2)
  6   );
Table created.
Elapsed: 00:00:00.62
satyaki>
satyaki>
satyaki>insert into TEST (P_ML, S_ML, FLAG)
  2  values ('f', 'e', 0);
1 row created.
Elapsed: 00:00:00.18
satyaki>
satyaki>insert into TEST (P_ML, S_ML, FLAG)
  2  values ('e', 'x', 0);
1 row created.
Elapsed: 00:00:00.03
satyaki>
satyaki>insert into TEST (P_ML, S_ML, FLAG)
  2  values ('x', 'd', 0);
1 row created.
Elapsed: 00:00:00.04
satyaki>
satyaki>insert into TEST (P_ML, S_ML, FLAG)
  2  values ('d', 'b', 0);
1 row created.
Elapsed: 00:00:00.03
satyaki>
satyaki>insert into TEST (P_ML, S_ML, FLAG)
  2  values ('b', 'a', 0);
1 row created.
Elapsed: 00:00:00.03
satyaki>
satyaki>insert into TEST (P_ML, S_ML, FLAG)
  2  values ('g', 'f', 0);
1 row created.
Elapsed: 00:00:00.02
satyaki>
satyaki>insert into TEST (P_ML, S_ML, FLAG)
  2  values ('e', 'c', 1);
1 row created.
Elapsed: 00:00:00.11
satyaki>
satyaki>insert into TEST (P_ML, S_ML, FLAG)
  2  values ('c', 'b', 1);
1 row created.
Elapsed: 00:00:00.05
satyaki>commit;
Commit complete.
Elapsed: 00:00:00.07
satyaki>
satyaki>
satyaki>with t
  2  as
  3    (
  4      select distinct p_ml,
  5             s_ml,
  6             flag,
  7             lev
  8      from (
  9              select p_ml,
10                     s_ml,
11                     flag,
12                     row_number() over(partition by lev order by p_ml,s_ml,flag ) rn,
13                     row_number() over(partition by lev order by p_ml desc,s_ml desc,flag desc) r
n_alt,
14                     lev
15             from (
16                     Select t.p_ml,
17                            t.s_ml,
18                            t.flag,
19                            Level          lev
20                     FROM    test t
21                     CONNECT BY Prior s_ml = p_ml
22                     START WITH p_ml = 'g'
23                     --And flag = 0
24                  )
25           )
26     where rn = 1
27     --where rn_alt=1
28     order by lev desc
29    ),
30  sat as
31   (
32     select a.s_ml||' -> '||a.p_ml  graph_disp,
33            a.lev
34     from t a
35     CONNECT BY Prior a.s_ml = a.p_ml
36     START WITH a.p_ml = 'g'
37   ),
38  satyaki as
39   (
40     select graph_disp,lev,
41            row_number() over(partition by graph_disp order by lev desc) rn
42     from sat
43   )
44  select graph_disp
45  from satyaki
46  where rn = 1
47  order by lev desc;
GRAPH_DISP
a -> b
b -> c
c -> e
e -> f
f -> g
Elapsed: 00:00:00.34
satyaki>
satyaki>
satyaki>ed
Wrote file afiedt.buf
  1  with t
  2  as
  3    (
  4      select distinct p_ml,
  5             s_ml,
  6             flag,
  7             lev
  8      from (
  9              select p_ml,
10                     s_ml,
11                     flag,
12                     row_number() over(partition by lev order by p_ml,s_ml,flag ) rn,
13                     row_number() over(partition by lev order by p_ml desc,s_ml desc,flag desc) rn_alt,
14                     lev
15             from (
16                     Select t.p_ml,
17                            t.s_ml,
18                            t.flag,
19                            Level          lev
20                     FROM    test t
21                     CONNECT BY Prior s_ml = p_ml
22                     START WITH p_ml = 'g'
23                     --And flag = 0
24                  )
25           )
26     --where rn = 1
27     where rn_alt=1
28     order by lev desc
29    ),
30  sat as
31   (
32     select a.s_ml||' -> '||a.p_ml  graph_disp,
33            a.lev
34     from t a
35     CONNECT BY Prior a.s_ml = a.p_ml
36     START WITH a.p_ml = 'g'
37   ),
38  satyaki as
39   (
40     select graph_disp,lev,
41            row_number() over(partition by graph_disp order by lev desc) rn
42     from sat
43   )
44  select graph_disp
45  from satyaki
46  where rn = 1
47* order by lev desc
satyaki>/
GRAPH_DISP
a -> b
b -> d
d -> x
x -> e
e -> f
f -> g
6 rows selected.
Elapsed: 00:00:00.48
satyaki>Regards.
Satyaki De.
N.B.: Total i've posted 4 SELECT queries. In both the case, First query denotes the details of 1st branch and the 2nd query denotes another branch. Hope this will work for you. :)

Similar Messages

  • Help needed with CONNECT BY PRIOR

    I need to display salesrep-manager hierarchy. I'm using the following SQL and am sure I'm doing something wrong somewhere, but just can't pinpoint. Any help is greatly appreciated.
    <pre>
    SELECT sf.source_name salesrep
    ,mgr.full_name manager
    ,level
    FROM as_salesforce_v sf
    ,per_all_assignments_f pass
    ,per_all_people_f mgr
    WHERE sf.role_name = 'Sales Representative'
    AND SYSDATE BETWEEN nvl(sf.start_date_active, SYSDATE) AND
    nvl(sf.end_date_active, SYSDATE)
    AND SYSDATE BETWEEN nvl(pass.effective_start_date, SYSDATE) AND
    nvl(pass.effective_end_date, SYSDATE)
    AND SYSDATE BETWEEN nvl(mgr.effective_start_date, SYSDATE) AND
    nvl(mgr.effective_end_date, SYSDATE)
    CONNECT BY PRIOR mgr.person_id = pass.supervisor_id
    START WITH pass.person_id = sf.employee_person_id;
    </pre>
    TIA
    Alka.
    Forgot to mention, the SQL takes forever to run.
    Message was edited by:
    user498444

    as_salesforce_v view stores the salesrep name (as specified by the condition sf.role_name = 'Sales Representative'). This view also has rows for managers of salesreps as that's how Oracle Sales app allows the users to access the app. This table stores employee id in column employee_person_id.
    per_all_assignments_f table stores the assignments for all the employees (including salesreps and that's why condition START WITH pass.person_id = sf.employee_person_id). It also stores the employee id for the manager (column supervisor_id).
    per_all_people_f has all the employee records (including manager records) and the column person_id is the employee id (condition pass.supervisor_id = mgr.person_id).
    Hope this explanation is helpful.

  • Help needed with connection problem before I chew off my foot.

    I am on 24/7 with Virgin.
    From last Friday, my connection telephone number has been constantly engaged.
    BT tell me it is not a valid number (?).
    I can access the internet just by changing the number in remote access to the one I'm using now - a pay by the minute number.
    This leads me to believe thay my settings are correct - as they have been for a considerable time.
    Virgin have responded once with a standard reply confirming the telephone number (useless) to four e-mails. There is an unconnected (no pun intended) 'server' problem with their 'online help'.
    I am on Netscape or IE, external Zoom modem and I haven't done anything which might alter my settings.
    Any help would be much appreciated - even sympathy might make me feel better!
    Please bear in mind that I am a techno-idiot with any advice offered.
    Thanks in advance.

    I get a perpetual 'engaged' tone with a mechanical woman telling me that the number is busy, please try later.
    The 'helpline' is a premium number. Cleverly, I have had premium numbers blocked on my 'phone line to defeat the fraudsters re-directing calls.
    This means that I have to use someone else's 'phone to call a premium number!
    Since last Friday, I have sent a total of six e-mails to Virgin and received one 'standard' reply which was of no help.
    I agree that it seems like an ISP problem.
    However, perhaps someone could kindly talk me through the things I ought to be checking on my computer (in words of one syllable where possible!).
    Thankyou in anticipation.

  • HELP NEEDED WITH ADDAPTER-DVI TO VGA.

    PLEASE ...HELP NEEDED WITH WIRING CROSS OVER....CAN YOU HELP WITH BACK OF PLUG CONNECTIONS...I SORTA UNDERSTAND THE PINOUTS BUT CANT MAKE AN EXACT MACH...WOULD LIKE TO BE 100% SURE...
    ......THIS ENSURES NO SMOKE!!!                                                                                           
    THE CARD IS AN ATI RADEON RX9250-DUAL HEAD-.........ADDAPTER IS DVI(ANALOG)MALE TO VGA(ANALOG)FEMALE.
    ANY HELP VERY MUCH APPRECIATED........ SEEMS YOU NEED TO BE ROCKET SCI TO ATTACH A BLOODY PICTURE...SO THIS HAS BEEN BIG WASTE OF FING TIME!

    Quote from: BOBHIGH on 17-December-05, 09:21:31
    Get over it mate !
    I find it easy t read CAPS...and if you dont like it ...DONT READ IT!
    And why bother to reply...some people have nothing better to do.
    Yes there chep and easy to come by...Ive already got a new one.
    All I wanted was to make a diagram of whats inside the bloody thing...it was a simple question and required a simple answer.
    NO NEED TO A WANKA !!
    I feel a bann comming up.
    Have you tryed Google ? really.. your question is inrelevant. No need to reply indeed.
    Why do you come here asking this question anyway ? is it becouse you have a MSI gfx card ? and the adapter has nothing to do with this ?
    You think you can come in here yelling.. thinking we have to put up with it and accept your style of posting. This is not a MSI tech center.. it's a user to user center.. Your question has nothing to do with MSI relavant things anyway's.
    Google = your friend.
    Quote from: BOBHIGH on 17-December-05, 09:21:31
    it was a simple question and required a simple answer
    Simple for who ? you (buying a new one) ? me ? we ?   .really...........
    Quote from: Dynamike on 16-December-05, 04:11:48
    1: There are allot of diffrent types of those adapters.
    If any of the mods have a problem about my reply.. please pm me.

  • Help needed with Vista 64 Ultimate

    "Help needed with Vista 64 UltimateI I need some help in getting XFI Dolby digital to work
    Okay so i went out and I bought a yamaha 630BL reciever, a digital coaxial s/pdif, and a 3.5mm phono plug to fit perfectly to my XFI Extreme Music
    -The audio plays fine and reports as a PCM stream when I play it normally, but I can't get dolby digital or DTS to enable for some reason eventhough I bought the DDL & DTS Connect Pack for $4.72
    When I click dolby digital li've in DDL it jumps back up to off and has this [The operation was unsuccessful. Please try again or reinstall the application].
    Message Edited by Fuzion64 on 03-06-2009 05:33 AMS/PDIF I/O was enabled under speakers in control panel/sound, but S/PDIF Out function was totally disabled
    once I set this to enabled Dolby and DTS went acti've.
    I also have a question on 5. and Vista 64
    -When I game I normally use headphones in game mode or 2. with my headphones, the reason for this is if I set it on 5. I get sounds coming out of all of the wrong channels.
    Now when I watch movies or listen to music I switch to 5. sound in entertainment mode, but to make this work properly I have to open CMSS-3D. I then change it from xpand to stereo and put the slider at even center for 50%. If I use the default xpand mode the audio is way off coming out of all of the wrong channels.
    How do I make 5. render properly on vista

    We ended up getting iTunes cleanly uninstalled and were able to re-install without issue.  All is now mostly well.
    Peace...

  • Help needed with Elements 5.0

    Trying to Edit photos.  Click on Edit icon and I get the Message " Attempt to Access invalid address".  Click OK get message "Unable to connect to editor application.
    What is the problem?   I have unenstalled to program and reinstalled, I have tried repairing from CD.  Nothing works.  Please help.

    I have the disc and re-installed a couple of time. No positive result. PSE 09 which I bought thereafter is giving a lot of problems also!!!
    Date: Wed, 8 Jun 2011 10:31:24 -0600
    From: [email protected]
    To: [email protected]
    Subject: Help needed with Elements 5.0
    Doesn't really help either of us very much but I'm also having the same problem with Elements 5. I downloaded the program so I don't have disks to reinstall. And it seems from the other reply that Adobe has given up with the "old program," which incidentally was working fine until two days ago. Maybe I'll have to think about PSE9!
    >

  • Help needed with BBDM 5.0.1 IP Modem

    Hi I was happily connecting thru the Net via the IP Modem in BBDM ver 5.0.1 all this while. Only this happened yesterday. Accidentally during the connection, my 9500 was disconnected from the USB cable. From that moment on, I cannot access the Net using the IP Modem feature. Tried to reboot the laptop as well as the 9500 but now all I get is the connecting message and then a pop up saying there is a hardware failure in the connecting device (or modem) ie the BB 9500.
    I even uninstalled BBDM 5.0.1 and reinstalled ver 5.0 and also updated back to 5.0.1 - same story. I can still access the Net via the BB browser etc
    Advise please thanks in advance

    I have the disc and re-installed a couple of time. No positive result. PSE 09 which I bought thereafter is giving a lot of problems also!!!
    Date: Wed, 8 Jun 2011 10:31:24 -0600
    From: [email protected]
    To: [email protected]
    Subject: Help needed with Elements 5.0
    Doesn't really help either of us very much but I'm also having the same problem with Elements 5. I downloaded the program so I don't have disks to reinstall. And it seems from the other reply that Adobe has given up with the "old program," which incidentally was working fine until two days ago. Maybe I'll have to think about PSE9!
    >

  • Help needed in Connecting to SAP From Eclipse

    Hi All,
    Currently, we have a requirement where we need to retrieve data from SAP System and need to upload the same in a Third Party Application (Java based system).
    We are able to create an account in Java Application using Eclipse IDE by hard coding the Account details. We are stuck up in establishing the SAP connection and retrieving the details and then creating the extracted account details in Java application from Eclipse.
    Any pointers on this will be of great help.
    Regards,
    Eureka

    Hi Eureka,
    Please refrain from creating cross-posts in parallel forums, moreover this question is JCo-related and is not directly connected with Java EE 5. The Help needed in Connecting to SAP From Eclipse in the Java Programming forum would be enough. Please continue the discussion there.
    Regards,
    Vladimir

  • Help needed with itunes

    help needed with itunes please tryed to move my itunes libary to my external hard drive itunes move ok and runs fin but i have none of my music or apps or anything all my stuff is in the itunes folder on my external hard drive but there is nothing on ituns how do i get it back help,please

    (Make sure the Music (top left) library is selected before beginning this.)
    If you have bad song links in your library, hilite them and hit the delete button. Then locate the folder(s) where your music is located and drag and drop into the large library window in iTunes ( where your tracks show up). This will force the tunes into iTunes. Before you start, check your preferences in iTunes specifically under the"Advanced" tab, general settings. I prefer that the 1st 2 boxes are unchecked. (Keep iTunes Music folder organized & Copy files to iTunes Music folder when adding to library). They are designed to let iTunes manage your library. I prefer to manage it myself. Suit yourself. If there is a way for iTunes to restore broken links other than locating one song at a time I haven't found it yet. (I wish Apple would fix this, as I have used that feature in other apps.) This is the way I do it and I have approx. 25,000 songs and podcasts and videos at present. Hope this helps.

  • Urgent help needed with un-removable junk mail that froze Mail!!

    Urgent help needed with un-removable junk mail that froze Mail?
    I had 7 junk mails come in this morning, 5 went straight to junk and 2 more I junked.
    When I clicked on the Junk folder to empty it, it froze Mail and I can't click on anything, I had to force quit Mail and re-open it. When it re-opens the Junk folder is selected and it is froze, I can't do anything.
    I repaired permissions, it did nothing.
    I re-booted my computer, on opening Mail the In folder was selected, when I selected Junk, again, it locks up Mail and I can't select them to delete them?
    Anyone know how I can delete these Junk mails from my Junk folder without having to open Mail to do it as it would appear this will be the only solution to the problem.

    Hi Nigel
    If you hold the Shift key when opening the mail app, it will start up without any folders selected & no emails showing. Hopefully this will enable you to start Mail ok.
    Then from the Mail menus - choose Mailbox-Erase Junk Mail . The problem mail should now be in the trash. If there's nothing you want to retain from the Trash, you should now choose Mailbox- Erase Deleted Messages....
    If you need to double-check the Trash for anything you might want to retain, then view the Trash folder first, before using Erase Junk Mail & move anything you wish to keep to another folder.
    The shift key starts Mail in a sort of Safe mode.

  • Help needed with this form in DW

    Hi, i have created this form in dreamweaver but ive got this problem.
    In the fields above the text field, the client needs to fill in some info such as name, email telephone number etc.
    But the problem is when ill get the messages. Only the text from the large text field is there.
    What did i do wrong??
    http://www.hureninparamaribo.nl/contact.html
    Thank you
    Anybody??

    Thank you for your response. So what do i have to do to fix this?
    Date: Sun, 20 Jan 2013 07:57:56 -0700
    From: [email protected]
    To: [email protected]
    Subject: Help needed with this form in DW
        Re: Help needed with this form in DW
        created by Ken Binney in Dreamweaver General - View the full discussion
    You have several duplicate "name" attributes in these rows which also appears in the first row
    Telefoon:
    Huurperiode:
    Aantal personen:
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5008247#5008247
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5008247#5008247
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5008247#5008247. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver General by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Help needed with header and upload onto business catalyst

    Can someone help with a problem over a header please?
    I have inserted a rectangle with a jpeg image in  background, in the 'header' section, underneath the menu. It comes up fine on most pages when previsualised, going right to the side of the screen, but stops just before the edge on certain pages. I have double checked that I have placed it in the right place in relation to the guides on the page.
    That's one problem.
    The second problem is that I tried to upload onto business catalyst, which got to 60% and refused to go any further, saying it couldn't find the header picture, giving the title and then u4833-3.fr.png. The picture is in the right folder I have double checked. And it isn't a png. Does it have to be ?
    And the third problem is that I got an email following my upload from business catalyst in Swedish. I am living in France.
    Can anyone help ? Thanks.

    Thanks for replying,
    How can I check the preview in other browsers before I publish a provisional site with BC?
    The rectangle width issue happens on certain pages but not others. The Welecom page is fine when the menu is active, also the contact page, but others are slightly too narrow. Changing the menu spacing doesn’t help - I was already on uniform but tried changing to regular and back.
    In design mode the rectangle is set to the edge of the browser, that’s 100%browser width right?
    Re BC I have about 200 images on 24 different pages and it seems to be having difficulty uploading some of them. But it has managed a couple I named with spaces but not others I named with just one name.
    Is there an issue on size of pictures ? If I need to replace is there a quick way to rename and relink or do I have to insert the photos all over again?
    I’m a novice with Muse with an ambitious site !
    Thanks for your help.
    Mary Featherstone
    Envoyé depuis Courrier Windows
    De : Sanjit_Das
    Envoyé : vendredi 14 février 2014 22:15
    À : MFeatherstone
    Re: Help needed with header and upload onto business catalyst
    created by Sanjit_Das in Help with using Adobe Muse CC - View the full discussion 
    Hi
    Answering the questions :
    - Have you checked the preview in Muse and also in other browsers ?
    - Does the rectangle width issue happens when menu is active , or in any specific state , Try to change the menu with uniform spacing and then check.
    - In design view the rectangle is set to 100% browser width ?
    With publishing :
    - Please try to rename the image file and then relink
    - If it happens with other images as well , see if all the image names includes strange characters or spaces.
    - Try again to publish
    With e-mail from BC :
    - Under preferences , please check the country selected.
    - If you have previously created partner account in BC and selected country and language then it would follow that, please check that.
    Thanks,
    Sanjit
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6121942#6121942
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6121942#6121942
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6121942#6121942. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Help with using Adobe Muse CC at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Getting strange error with connect by clause

    Hi Everyone,
    I have a 2 test oracle databases and each of them contain a table called department (dept_no,dept_name, main_dept_no) where each department entry is connected to main department by dept_no in the MAIN_DEPT_NO column.
    The strange problem is when I execute the query on the 1 ^st^ database I get D.DEPT_NO is not available column (D.* all columns from department table) but it is there and what is more strange this query works fine on 2 ^nd^ database.
    Is there any settings I have to do in the database so that it can work with connect by clause ?
    SELECT SUBSTR(LPAD(' ', 4*(LEVEL))  || '· ' ||DEPT_NAME,1,50)  DEPT_NAME_HY, D.*
    FROM PERSONEL.DEPARTMENT D
    START WITH MAIN_DEPT_NO IS NULL
    CONNECT BY PRIOR DEPT_NO=MAIN_DEPT_NOThank you.

    SSU wrote:
    Hi Everyone,
    I have a 2 test oracle databases and each of them contain a table called department (dept_no,dept_name, main_dept_no) where each department entry is connected to main department by dept_no in the MAIN_DEPT_NO column. Did you mean two SCHEMAs or tow databases?
    Please post DB version.
    The exact error message you are getting.
    output of the below from the DB rom where you are getting the error
    DESC PERSONEL.DEPARTMENT

  • Help needed with a design!

    HELP! I need help with designing something!
    IMAGE on this link " http://i1072.photobucket.com/albums/w362/jjnilsson/DSC_0188.jpg "
    i need this patch on the picture to be "remade" in higher definition and the text should be MILF HUNTERS intstead of milf hunter... Anyone that might be able to help me out?
    reson for all this is that its gonna be made to a 30x40cm big patch fitting the back of our Team jackets!
    send me a pm or a mail ([email protected]) if you need any futher info or if you can help me out! I am really thankful for all the help i can get!
    With best regards J. Nilsson, Milf Hunters Mc

    I simply did as i got a tip on FB to do
    quote from adobe themselves on facebook "Adobe Illustrator You might also want to try asking on our forums as there are many people that can help there as well! http://forums.adobe.com/community/illustrator/illustrator_general"
    sry if it was wrong of me, simply thought there might be someone nice out there to give a helping hand
    Date: Tue, 5 Jun 2012 13:41:48 -0600
    From: [email protected]
    To: [email protected]
    Subject: Help needed with a design!
        Re: Help needed with a design!
        created by in Illustrator - View the full discussion
    This really isn't the place to ask for free services.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4467790#4467790
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4467790#4467790. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Illustrator by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Help needed with java

    Hello everyone
    I'm a Student and new to java and I have been given a question which I have to go through. I have come across a problem with one of the questions and am stuck, so I was wondering if you guys could help me out.
    here is my code so far:
    A Class that maintains Information about a book
    This might form part of a larger application such
    as a library system, for example.
    @author (your name)
    *@version (a version number or a date)*
    public class Book
    // instance variables or fields
    private String author;
    private String title;
    Set the author and title when the book object is constructed
    public Book(String bookAuthor, String bookTitle)
    author = bookAuthor;
    title = bookTitle;
    Return The name of the author.
    public String getAuthor()
    return author;
    Return The name of the title.
    public String getTitle()
    return title;
    and below are the questions that I need to complete. they just want me to add codes to my current one, but the problem is I don't know where to put them and how I should word them, if that makes sense.
    Add a further instance variable/field pages to the Book class to store the number of pages in the book.
    This should be of type int and should be set to 0 in the Constructor.
    Add a second Constructor with signature
    public Book(String bookAuthor, String bookTitle, int noPages) so it has a third parameter passed to it as well as the author and title;
    this parameter is used - obviously?? - to initialise the number of pages.
    Note: This is easiest done by making a copy of the existing Constructor and adding the parameter.
    Add a getPages() accessor method that returns the number of pages in the book.
    Add a method printDetails() to your Book class. This should print out the Author title and number of pages to the Terminal Window. It is your choice as to how the data is formatted, perhaps all on one line, perhaps on three, and with or without explanatory text. For instance you could print out in the format:
    Title: Robinson Crusoe, Author: Daniel Defoe, Pages:226
    Add a further instance variable/field refNumber() to your Book class. This stores the Library's reference number. It should be of type String and be initialised to the empty String "" in the constructor, as its initial value is not passed in as a parameter. Instead a public mutator method with the signature:
    public void setRefNumber(String ref) should be created. The body of this method should assign the value of the method parameter ref to the refNumber.
    Add a corresponding getRefNumber() accessor method to your class so you can check that the mutator works correctly
    Modify your printDetails() method to include printing the reference number of the book.
    However the method should print the reference number only if it has been set - that is the refNumber has a non-zero length.
    If it has not been set, print "ZZZ" instead.
    Hint Use a conditional statement whose test calls the length() method of the refNumber String and gives a result like:
    Title: Jane Eyre, Author: Charlotte Bronte, Pages:226, RefNo: CB479 or, if the reference number is not set:
    Title: Robinson Crusoe, Author: Daniel Defoe, Pages:347, RefNo: ZZZ
    Modify your setRefNumber() method so that it sets the refNumber field only if the parameter is a string of at least three characters. If it is less than three, then print an error message (which must contain the word error) and leave the field unchanged
    Add a further integer variable/field borrowed to the Book class, to keep a count of the number of times a book has been borrowed. It should (obviously??) be set to 0 in the constructor.
    Add a mutator method borrow() to the class. This should increment (add 1 to) the value of borrowed each time it is called.
    Include an accessor method getBorrowed() that returns the value of borrowed
    Modify Print Details so that it includes the value of the borrowed field along with some explanatory text
    PS. sorry it looks so messey

    1. In the future, please use a more meaningful subject. "Help needed with java" contains no information. The very fact that you're posting here tells us you need help with Java. The point of the subject is to give the forum an idea of what kind of problem you're having, so that individuals can decide if they're interested and qualified to help.
    2. You need to ask a specific question. If you have no idea where to start, then start here: [http://home.earthlink.net/~patricia_shanahan/beginner.html]
    3. When you post code, use code tags. Copy the code from the original source in your editor (NOT from an earlier post here, where it will already have lost all formatting), paste it in here, highlight it, and click the CODE button.

Maybe you are looking for

  • My phone was stolen and I want to access my contacts and pictures

    I want to access my pictures off photo stream

  • Labels in a web chart

    Hello, I would like to add labels to points in a XY-chart. The labels should show the text of the Info Object which belongs to the value of the data series. For instance you have 10 plants, which have different values of a key figure. Now the name of

  • Lenovo Miix 2 8" - Separating volume controls for headphones and speakers

    The sound options for the Miix 2 out the box combine the volume control for internal speakers and for headphone jack, i.e. there is only one volume control for both the speakers and the headphones on the mixer settings at the the volume icon at the l

  • How to get job grouping by Job in HR moudle

    Dear experts, I need to enhancement a field which is Job grouping in PPOSE. I have add this field in screen. but i don't know how to get the value by Job. which table can i use? Please reference the details in the attached  for new screen.

  • Forte and Memory

    I use java -Xmx128m -Xms64m my.Application to start my.Application with more than standard memory assigned. When I try the same in Forte, it doesn't work (Build -> SetArguments). But I remember, that it once worked, when I had an older Version of For