Sorting connect by

Hi,
I have a table with following columns and values:
DIS_PARENT_OID OID CREATION_TIME LEVEL
0 26750 08/02/2001 14.52.14 1
0 26751 08/02/2001 14.52.48 1
26751 26752 08/02/2001 14.53.39 2
0 26753 08/02/2001 14.53.54 1
0 26722 08/02/2001 13.58.04 1
26722 26723 08/02/2001 13.58.16 2
26723 26724 08/02/2001 13.58.29 3
26724 26725 08/02/2001 13.58.41 4
26725 26726 08/02/2001 13.58.54 5
26726 26727 08/02/2001 13.59.05 6
26727 26728 08/02/2001 13.59.15 7
26728 26729 08/02/2001 13.59.26 8
26729 26730 08/02/2001 13.59.40 9
26730 26731 08/02/2001 13.59.51 10
26731 26732 08/02/2001 14.00.05 11
26732 26733 08/02/2001 14.00.16 12
26733 26734 08/02/2001 14.00.26 13
26734 26735 08/02/2001 14.00.37 14
26735 26736 08/02/2001 14.00.48 15
26736 26737 08/02/2001 14.01.00 16
26737 26738 08/02/2001 14.01.19 17
And I used a query to fetch this tree structure like :
SELECT PRIOR PARENTID,ID,CREATION_TIME,LEVEL
FROM FORUM
START WITH PARENTID=0
CONNECT BY PRIOR OID=PARENTID;
Result:
DIS_PARENT_OID OID CREATION_TIME LEVEL
0 26722 08/02/2001 13.58.04 1
26722 26723 08/02/2001 13.58.16 2
26723 26724 08/02/2001 13.58.29 3
26724 26725 08/02/2001 13.58.41 4
26725 26726 08/02/2001 13.58.54 5
26726 26727 08/02/2001 13.59.05 6
26727 26728 08/02/2001 13.59.15 7
26728 26729 08/02/2001 13.59.26 8
26729 26730 08/02/2001 13.59.40 9
26730 26731 08/02/2001 13.59.51 10
26731 26732 08/02/2001 14.00.05 11
26732 26733 08/02/2001 14.00.16 12
26733 26734 08/02/2001 14.00.26 13
26734 26735 08/02/2001 14.00.37 14
26735 26736 08/02/2001 14.00.48 15
26736 26737 08/02/2001 14.01.00 16
26737 26738 08/02/2001 14.01.19 17
0 26750 08/02/2001 14.52.14 1
0 26751 08/02/2001 14.52.48 1
26751 26752 08/02/2001 14.53.39 2
0 26753 08/02/2001 14.53.54 1
It fetches the rows in tree structure, but i need them order by creation_time desc with group by the tree structure (the level structure need not be sorted - only the latest message should be on top ). But if I used the order by creation_time desc this qry fetches the rows in reverse tree structure.
The query should fetch the rows
ORDER BY creation_time DESC and GROUPED BY tree.
Expected Result:
DIS_PARENT_OID OID CREATION_TIME LEVEL
0 26753 08/02/2001 14.53.54 1
26751 26752 08/02/2001 14.53.39 2
0 26751 08/02/2001 14.52.48 1
0 26750 08/02/2001 14.52.14 1
0 26722 08/02/2001 13.58.04 1
26722 26723 08/02/2001 13.58.16 2
26723 26724 08/02/2001 13.58.29 3
26724 26725 08/02/2001 13.58.41 4
26725 26726 08/02/2001 13.58.54 5
26726 26727 08/02/2001 13.59.05 6
26727 26728 08/02/2001 13.59.15 7
26728 26729 08/02/2001 13.59.26 8
26729 26730 08/02/2001 13.59.40 9
26730 26731 08/02/2001 13.59.51 10
26731 26732 08/02/2001 14.00.05 11
26732 26733 08/02/2001 14.00.16 12
26733 26734 08/02/2001 14.00.26 13
26734 26735 08/02/2001 14.00.37 14
26735 26736 08/02/2001 14.00.48 15
26736 26737 08/02/2001 14.01.00 16
26737 26738 08/02/2001 14.01.19 17
Any help will be appreciated.
thanks,
Satheesh
null

ok, so I took what you provided and modified it a bit to read:
SELECT PADDING d, ORG_ID r
  FROM (SELECT ORG_ID,
            ORG_NM,
            MNG_ORG_ID,
            LEVEL,
            SYS_CONNECT_BY_PATH(ORG_ID, '.') || ORG_NM "Path",
            LPAD (ORG_NM, 2 * (LEVEL-1), '..') PADDING
          FROM ORG_ENTITIES
         WHERE LEVEL > 2 START WITH ORG_ID = 999
         CONNECT BY PRIOR ORG_ID = MNG_ORG_ID
         ORDER BY 5) XXX;The sorting is great, but the LPAD is truncating the name column to six characters... Not quite what I had in mind. I am trying for something like:
HQ
..Division 1
....Location 1
....Location 2
....Location 3
..Division 2
....Location 4
....Location 6
..Division 3
....Location 7
....Location 5
etc.
I know it is the LPAD that is causing the truncation issue. Is there something I can use as a substitute so it shows the entire name with the LEVEL-appropriate indent?

Similar Messages

  • Subordinates Count query

    Any idea why this code runs in 1.5 seconds:
    SELECT ppf.employee_number,
    ppf.full_name,
    (SELECT COUNT(per.person_id)-1
    FROM      hr.per_all_people_f per
         ,hr.per_person_type_usages_f usg
         ,hr.per_person_types ppt
         ,hr.per_all_assignments_f paf
    WHERE     per.person_id = paf.person_id
    AND     paf.primary_flag = 'Y'
    AND     per.person_id = usg.person_id
    AND     usg.person_type_id = ppt.person_type_id
    AND     ppt.user_person_type = 'Employee'
    AND     TRUNC(SYSDATE) BETWEEN per.effective_start_date AND per.effective_end_date         
    AND     TRUNC(SYSDATE) BETWEEN paf.effective_start_date AND paf.effective_end_date
    AND     TRUNC(SYSDATE) BETWEEN usg.effective_start_date AND usg.effective_end_date
    AND     per.person_id IN
    (SELECT v.person_id FROM (SELECT person_id, supervisor_id
                   FROM hr.per_all_assignments_f s
                   WHERE TRUNC(SYSDATE) BETWEEN s.effective_start_date AND s.effective_end_date
                   AND s.primary_flag = 'Y'
                   AND s.assignment_type = 'E') v
    CONNECT BY v.supervisor_id = PRIOR v.person_id
    START WITH v.person_id = 136463)) "Subordinate Count"
    FROM hr.per_all_people_f ppf
    WHERE TRUNC(SYSDATE) BETWEEN ppf.effective_start_date AND ppf.effective_end_date
    AND ppf.person_id = 136463... but this code takes 5 minutes to reach the same result?
    SELECT ppf.employee_number,
    ppf.full_name,
    (SELECT COUNT(per.person_id)-1
    FROM      hr.per_all_people_f per
         ,hr.per_person_type_usages_f usg
         ,hr.per_person_types ppt
         ,hr.per_all_assignments_f paf
    WHERE     per.person_id = paf.person_id
    AND     paf.primary_flag = 'Y'
    AND     per.person_id = usg.person_id
    AND     usg.person_type_id = ppt.person_type_id
    AND     ppt.user_person_type = 'Employee'
    AND     TRUNC(SYSDATE) BETWEEN per.effective_start_date AND per.effective_end_date         
    AND     TRUNC(SYSDATE) BETWEEN paf.effective_start_date AND paf.effective_end_date
    AND     TRUNC(SYSDATE) BETWEEN usg.effective_start_date AND usg.effective_end_date
    AND     per.person_id IN
    (SELECT v.person_id FROM (SELECT person_id, supervisor_id
                   FROM hr.per_all_assignments_f s
                   WHERE TRUNC(SYSDATE) BETWEEN s.effective_start_date AND s.effective_end_date
                   AND s.primary_flag = 'Y'
                   AND s.assignment_type = 'E') v
    CONNECT BY v.supervisor_id = PRIOR v.person_id
    START WITH v.person_id = ppf.person_id)) "Subordinate Count"
    FROM hr.per_all_people_f ppf
    WHERE TRUNC(SYSDATE) BETWEEN ppf.effective_start_date AND ppf.effective_end_date
    AND ppf.person_id = 136463The only difference is on line 23. Alternatively, do you have a better suggestion to obtain a subordinate count? Using database version 10g.
    Edited by: user12159223 on Dec 1, 2009 9:27 AM
    Edited by: user12159223 on Dec 1, 2009 9:28 AM

    I'm not familiar with how to analyze execution plans, but I believe this is what you were asking for:
    Fast statement:
    Operation     Object Name     Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
    SELECT STATEMENT Optimizer Mode=ALL_ROWS          2             5                                          
      SORT AGGREGATE          1       107                                                
        TABLE ACCESS BY INDEX ROWID     HR.PER_ALL_ASSIGNMENTS_F     1       24       5                                          
          NESTED LOOPS          2       214       207                                          
            HASH JOIN          3       249       197                                          
              TABLE ACCESS BY INDEX ROWID     HR.PER_PERSON_TYPE_USAGES_F     1       26       3                                          
                NESTED LOOPS          41       2 K     194                                          
                  NESTED LOOPS          28       980       109                                          
                    VIEW     SYS.VW_NSO_1     15       195       78                                          
                      SORT UNIQUE          15       465                                                
                        CONNECT BY WITH FILTERING                                                                
                          TABLE ACCESS BY INDEX ROWID     HR.PER_ALL_ASSIGNMENTS_F     1       43       6                                          
                            INDEX RANGE SCAN     HR.PER_ASSIGNMENTS_F_N12     3             3                                          
                          NESTED LOOPS                                                                
                            BUFFER SORT                                                                
                              CONNECT BY PUMP                                                                
                            TABLE ACCESS BY INDEX ROWID     HR.PER_ALL_ASSIGNMENTS_F     15       465       78                                          
                              INDEX RANGE SCAN     HR.PER_ASSIGNMENTS_F_N10     98             3                                          
                          TABLE ACCESS FULL     HR.PER_ALL_ASSIGNMENTS_F     131 K     4 M     20637                                          
                    INDEX RANGE SCAN     HR.PER_PEOPLE_F_PK     2       44       2                                          
                  INDEX RANGE SCAN     HR.PER_PERSON_TYPE_USAGES_F_UK1     1             2                                          
              TABLE ACCESS FULL     HR.PER_PERSON_TYPES     2       44       3                                          
            INDEX RANGE SCAN     HR.PER_ASSIGNMENTS_F_N12     3             2                                          
      TABLE ACCESS BY INDEX ROWID     HR.PER_ALL_PEOPLE_F     2       84       5                                          
        INDEX RANGE SCAN     HR.PER_PEOPLE_F_PK     2             3                                           Slow statement:
    Operation     Object Name     Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
    SELECT STATEMENT Optimizer Mode=ALL_ROWS          2             5                                          
      SORT AGGREGATE          1       94                                                
        HASH JOIN          4 K     437 K     48967                                          
          HASH JOIN          7 K     539 K     28019                                          
            INDEX FULL SCAN     HR.PER_PEOPLE_F_PK     79 K     1 M     17338                                          
              FILTER                                                                
                CONNECT BY WITH FILTERING                                                                
                  TABLE ACCESS BY INDEX ROWID     HR.PER_ALL_ASSIGNMENTS_F                                                           
                    TABLE ACCESS BY INDEX ROWID     HR.PER_ALL_ASSIGNMENTS_F     1       26       6                                          
                      INDEX RANGE SCAN     HR.PER_ASSIGNMENTS_F_N12     3             3                                          
                  NESTED LOOPS                                                                
                    BUFFER SORT                                                                
                      CONNECT BY PUMP                                                                
                    TABLE ACCESS BY INDEX ROWID     HR.PER_ALL_ASSIGNMENTS_F     15       465       78                                          
                      INDEX RANGE SCAN     HR.PER_ASSIGNMENTS_F_N10     98             3                                          
                  TABLE ACCESS FULL     HR.PER_ALL_ASSIGNMENTS_F     15       465       78                                          
            HASH JOIN          85 K     3 M     10239                                          
              TABLE ACCESS FULL     HR.PER_PERSON_TYPES     2       44       3                                          
              TABLE ACCESS FULL     HR.PER_PERSON_TYPE_USAGES_F     1 M     32 M     10180                                          
          TABLE ACCESS FULL     HR.PER_ALL_ASSIGNMENTS_F     524 K     12 M     20924                                          
      TABLE ACCESS BY INDEX ROWID     HR.PER_ALL_PEOPLE_F     2       84       5                                          
        INDEX RANGE SCAN     HR.PER_PEOPLE_F_PK     2             3                                          

  • Need help with my batch code, cant seem to figure out the errors.

    Hello all, so as part of my job I have to check a list of shared drives on random servers throughout the world to make sure they are not open. I am trying to make a batch file to check them all at once instead of mapping to each one individually. It would
    save a lot of time. So far I got this code with the help of a member of
    reddit:
    @echo off
    :: Ensure Extensions are enabled to avoid silent failure
    setlocal EnableExtensions DisableDelayedExpansion
    set "Input-Server-List=H:\Desktop\serverlist.txt"
    set "Open-Share-List=H:\Desktop\open_shares.txt"
    set "Locked-Share-List=H:\Desktop\locked_shares.txt"
    :: Create empty files
    copy nul "%Open-Share-List%" 1>nul
    copy nul "%Locked-Share-List%" 1>nul
    :: Test the shares to see if they're online or not
    for /f "usebackq delims=" %%S in ("%Input-Server-List%") do @(
    pushd "%%~S" 2>nul && (
    popd
    1>> "%Open-Share-List%" echo %%~S
    echo ONLINE -- %%S
    ) || (
    1>> "%Locked-Share-List%" echo %%~S
    echo OFFLINE - %%S
    echo Testing Complete! Results have been logged to File.
    :: Open files in default program (typically notepad.exe)
    explorer "%Open-Share-List%"
    explorer "%Locked-Share-List%"
    :: End of script
    endlocal
    timeout -1 /nobreak
    exit /b
    But there are a few (approx 4) servers that are coming up as online/accessible in the list that are actually closed/appropriately locked down. I have no idea why.. all the rest are working as they should. Any help would be much appreciated. Any questions
    let me know. Once again, I would really really appreciate some help.

    Here's a tester:
    Get-Content .\shareList.txt | ForEach {
    $share = $_
    If (Test-Path -Path $share) {
    $found = $true
    } Else {
    $found = $false
    try {
    $null = Get-ChildItem -Path $share -ErrorAction Stop
    $connect = $true
    } catch {
    $connect = $false
    $props = @{
    Share = $share
    Found = $found
    Connect = $connect
    New-Object PsObject -Property $props
    } | Select Share,Found,Connect |
    Sort Connect,Share |
    Export-Csv .\shareListCheck.csv -NoTypeInformation
    As the others have pointed out though, this won't really give you any solid information.
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • HT1535 Why can't I use the browser feature to visually organize my iphone or ipad music when syncing?

    In the older versions of iTunes, you used to be able to use the column browser when organizing your iPhone or iPad media, in the same way you could when organizing your iTunes songs by viewing the genres, ablums, and artists either on top or on the side. But with the last few iTunes updates, I can no longer use the column broswer when I connect my iPhone or iPad. I find this quite inconvenient because I am constantly updating my music content and I like to see what artists, ablums, and songs I have on my device without scrolling down a long list of 2500+ songs. Any insight?

    Really. This is something that shouldn't even be happening.
    Apple, please enable iTunes to sort connected iPhone's libraries with the "column browser".
    Please.
    I'm asking nicely

  • Number of open cursors

    I'm working on debugging some code and trying to monitor some of things that are happening at runtime. One of the things that would be useful is if I could monitor the number of open cursors on a connection.
    I've done my searching and can't seem to find anything of the sort Connection.getOpenCursorCount().... is there such a method or anything related?

    There's nothing generic like this, every possible approach that I know of is implementation-specific, either Java-side or DB-side.
    The Java-side approach is to attempt to track ResultSets through their life-cycle, as a rough proxy for cursors; this usually relies on wrapped RSs or a vendor-specific driver feature, and is sometimes not a good solution for running down certain types of resource leaks.
    On the DB side, some DBs have some visibility into open cursors through some sort of vendor-specific API.
    For example, on Oracle, there is the system view V$OPEN_CURSOR that can be queried for some information related to open cursors, often in conjuction with info ftom V$SESSION and V$SQL, V$SQL_AREA or V$SQL_TEXT. IMPORTANT NOTE: this view is actually a view on internal Oracle memory structures. While you can query it like any normal view or table, it is changing constantly, with internal per-row consistancy guaranteed by latches (locks on memory). Complex queries against internal views (such as self-joins or complex aggregations) can interact with the latches very badly; the queries may take many hours to complete and consume massive amounts of CPU while doing so. If you need to perform a complex analysis, don't do it on the live view; create a snapshot of the view and use that, for example:
    CREATE TABLE SNAP_OPEN_CURSORS as
    SELECT * FROM V$OPEN_CURSORS(Note that in a RAC or OPS Oracle cluster, the V$ views only report on the instance you're connected to; there are analogous GV$ views that report on all available instances, and have an added INST_ID column identifying the source instance, when relevant).

  • Connexion impossible à CC

    Bonjour, depuis ce matin je n'arrive pas à me connecter à CC par Adobe Creative Cloud Desktop.
    J'ai essayé d'ouvrir également Photoshop et lors de l'identification j'ai eu ce message d'erreur :
    C'est normal ?
    Merci pour vos aides

    Merci pour votre réponse, mais j'ai trouvé la solution en cherchant sur
    Google. En fait c'est votre solution 2 qui est la bonne. ( supprimer le
    fichier oobe )
    Merci beaucoup !
    Cordialement
    N Verri
    De :  Rajshree <[email protected]>
    Répondre à :  <[email protected]>
    Date :  lundi, 14 octobre 2013 17:40
    À :  nello verri <[email protected]>
    Objet :  Connexion impossible à CC
    Re: Connexion impossible à CC
    created by Rajshree <http://forums.adobe.com/people/Rajshree>  in Adobe
    Creative Cloud - View the full discussion
    <http://forums.adobe.com/message/5758519#5758519>
    Hi antoneelo,  Salut ,  Vous pouvez essayer ceci:La licence de l'équipe
    elle-même ne devrait pas être un problème, mais si la demande a été installé
    et enregistré avec un compte différent du vôtre (et ensuite changé au fil de
    votre compte AdobeID ) qui pourraient causer un problème. Pouvez-vous
    essayer quiting Ps , puis naviguer dans le répertoire de configuration.
    Déplacer le dossier complet à votre bureau, puis relancer Ps ? OSX :
    Utilisateurs / / Library / Preferences / Adobe
    Photoshop Settings CCVictoires: Users / / AppData /
    Roaming / Adobe / Adobe Photoshop Photoshop Settings CC / CC Adobe  2 . Vous
    pouvez essayer cela aussi :pouvez-vous essayer de recréer le fichier opm.db
    et laissez-moi savoir si cela fonctionne ? Sinon, je tiens à capturer
    certains de vos fichiers journaux si commode. S'il vous plaît suffit de
    placer le fichier opm.db originale sur le bureau Sortie Connection Creative
    Cloud .Sur Windows, supprimez le fichier opm.db situé ici: C: \ Users \
    \Library\Application Support\Adobe\OOBERestart Creative
    Cloud Connection and sign in. Regards, Rajshree
    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/5758519#5758519
    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/5758519#5758519 To unsubscribe from this
    thread, please visit the message page at
    http://forums.adobe.com/message/5758519#5758519. In the Actions box on the
    right, click the Stop Email Notifications link.  Start a new discussion in
    Adobe Creative Cloud at Adobe Community
    <http://forums.adobe.com/choose-container!input.jspa?contentType=1&container
    Type=14&container=4670>  For more information about maintaining your forum
    email notifications please go to
    http://forums.adobe.com/message/2936746#2936746.

  • Stuck trying to sort data from CONNECT BY query

    Hi,
    I am querying the Oracle E-Business Suiite menu tables.
    This query:
    #   MENU TREE WALK EXCLUDING FUNCTIONS
    SELECT     LPAD('_', (LEVEL - 1) * 10, '_') || fmev.prompt prompt
             , LEVEL
             , fmev.ENTRY_SEQUENCE
          FROM apps.fnd_menus_vl fmv
             , apps.fnd_menu_entries_vl fmev
         wHERE fmev.menu_id = fmv.menu_id
           AND fmev.prompt IS NOT NULL
    CONNECT BY fmev.menu_id = PRIOR fmev.sub_menu_id     
    START WITH fmv.menu_name = 'CN_SETUP';Generates this output:
    PROMPT                                   LEVEL     ENTRY_SEQUENCE
    Flexfields                              1     12
    __________Descriptive Flexfields               2     1
    Financials                              1     11
    __________Currencies and Rates                    2     5
    ____________________Rates                    3     10
    ______________________________Daily               4     5
    ______________________________Historical          4     10
    ______________________________Types               4     15
    ____________________Currency Rates Manager          3     5
    ______________________________Daily Rates          4     5
    ______________________________Historical Rates          4     10
    ______________________________Rate Types          4     15
    ____________________Define                    3     15
    __________GL Calendar                         2     2
    __________GL Period Types                    2     3
    __________GL Open and Close Periods               2     4
    Collections                              1     9
    __________Mappings                         2     1
    __________Runtime Values                    2     2
    External Table Mapping                         1     3
    Classification Rules                         1     4
    System Parameters                         1     1
    Payment Plans                              1     6
    Define Pay Groups                         1     14
    View Compensation Groups                    1     16
    Classification Rules                         1     22
    Credit Type Conversions                         1     21
    Credit Types                              1     20
    Interval Types                              1     19
    External Table Mapping                         1     18
    Define Security Profile                         1     17
    Define Payment Plans                         1     15
    Define Salesforce                         1     13
    Lookups                                   1     10
    Revenue Class                              1     8
    Dimensions                              1     7
    Revenue Class                              1     5
    Tables and Columns                         1     2I'd like to sort by fmev.entry sequence.
    However, if I do, I get this output:
    PROMPT                                   LEVEL     ENTRY_SEQUENCE
    System Parameters                         1     1
    __________Descriptive Flexfields               2     1
    __________Mappings                         2     1
    __________Runtime Values                    2     2
    Tables and Columns                         1     2
    __________GL Calendar                         2     2
    External Table Mapping                         1     3
    __________GL Period Types                    2     3
    __________GL Open and Close Periods               2     4
    Classification Rules                         1     4
    ____________________Currency Rates Manager          3     5
    ______________________________Daily Rates          4     5
    ______________________________Daily               4     5
    Revenue Class                              1     5
    __________Currencies and Rates                    2     5
    Payment Plans                              1     6
    Dimensions                              1     7
    Revenue Class                              1     8
    Collections                              1     9
    ______________________________Historical Rates          4     10
    ____________________Rates                    3     10
    ______________________________Historical          4     10
    Lookups                                   1     10
    Financials                              1     11
    Flexfields                              1     12
    Define Salesforce                         1     13
    Define Pay Groups                         1     14
    Define Payment Plans                         1     15
    ______________________________Types               4     15
    ______________________________Rate Types          4     15
    ____________________Define                    3     15
    View Compensation Groups                    1     16
    Define Security Profile                         1     17
    External Table Mapping                         1     18
    Interval Types                              1     19
    Credit Types                              1     20
    Credit Type Conversions                         1     21
    Classification Rules                         1     22That sort of works, except for where the tree-walking SQL has a parent/child scenario. I'd ideally like to get the output to look like this:
    PROMPT                                   LEVEL     ENTRY_SEQUENCE
    System Parameters                         1     1
    Tables and Columns                         1     2
    External Table Mapping                         1     3
    Classification Rules                         1     4
    Revenue Class                              1     5
    Payment Plans                              1     6
    Dimensions                              1     7
    Revenue Class                              1     8
    Collections                              1     9
    __________Mappings                         2     1
    __________Runtime Values                    2     2
    Lookups                                   1     10
    Financials                              1     11
    __________Currencies and Rates                    2     5
    ____________________Rates                    3     10
    ______________________________Daily               4     5
    ______________________________Historical          4     10
    ______________________________Types               4     15
    ____________________Currency Rates Manager          3     5
    ______________________________Daily Rates          4     5
    ______________________________Historical Rates          4     10
    ______________________________Rate Types          4     15
    ____________________Define                    3     15
    __________GL Calendar                         2     2
    __________GL Period Types                    2     3
    __________GL Open and Close Periods               2     4
    Flexfields                              1     12
    __________Descriptive Flexfields               2     1
    Define Salesforce                         1     13
    Define Pay Groups                         1     14
    Define Payment Plans                         1     15
    View Compensation Groups                    1     16
    Define Security Profile                         1     17
    External Table Mapping                         1     18
    Interval Types                              1     19
    Credit Types                              1     20
    Credit Type Conversions                         1     21
    Classification Rules                         1     22Where the pseudo order-by is like this:
    ORDER BY fmev.ENTRY_SEQUENCE for the lowest level, but where there is a submenu, then include those in the right place!
    Apologies for the fact I can't recreate the data here for use in testing, but as I'm using E-Bus tables, it's not so easy.
    Any advice much appreciated.
    Thanks

    ORDER SIBLINGS BY fmev.entry_sequence
    will help.
    roger

  • Iphone 4S updated to iOS 5.0.1 last nite no longer visible in iTunes for wireless sync.  check box is viewable as checked when connected via usb. anyone else having this problem and been able to sort? Thanks.

    Hi all.  Update my iphone 4S via usb last night.  Since then the iphone is not visible in itunes for wireless syncing.  The sync wirelessly box is checked and is viewable as checked when phone connected via usb.  Anyone else have this problem and been able to sort?  Thanks.  Doug

    Hi all.  Update my iphone 4S via usb last night.  Since then the iphone is not visible in itunes for wireless syncing.  The sync wirelessly box is checked and is viewable as checked when phone connected via usb.  Anyone else have this problem and been able to sort?  Thanks.  Doug

  • When trying to connect to Airplay speakers I get error message "The  network connection timed out" although some sort of connection is made as the speaker is turned on.  Same thing with Apple TV.  Is the distance from my speaker/ TV the problem?

    When trying to connect from iTunes to Airplay speakers I get error message “The  network connection timed out” although some sort of connection is made as the speaker is turned on.  Same thing with Apple TV.  Is the distance between my PC and the speaker or the AppleTV the problem?

    Hi whitwick,
    If you are having issues with your network connection when attempting to use AirPlay, you may want to use the steps in this article to troubleshoot -
    iTunes: Troubleshooting AirPlay and AirPlay Mirroring
    http://support.apple.com/kb/TS5209
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • Apple Senior tech lady deleted all my external drive data while sorting out other problem. How can I restore all my photos , music etc back to my Mac Pro?(I am so scared, I haven't connected to sync! Please help)

    Apple Senior tech lady deleted all my external drive data while sorting out other problem. How can I restore all my photos , music etc back to my Mac Pro?(I am so scared, I haven't connected iPhone to sync! Please help)

    It was tele tech. I couldn't open my Page Numbers etc. Frist tech chat idiot - following dumping few things in bin, asked me yo upgrade to Yosemite. But the problem still persists. This morning I was asked to do it via telephone and like yesterday, after wasting 20 min, I was put to this apparent Tech Queen ( my foot!). She eventually decided to reinstall  Yosemite asked me to connect my external drive while I connected to her. She was moving cursor asking me to move files and delete and I followed her like a dummy. It took 3/4 hours and she called me 3 times once the lengthy process was completed. I suspected from the beginng for the fact that why should be asking me to click all my backup from the very beginning! Eventually she said I deleted... Or someone else or may be my children ! It was a blatant lie. I run my small business from home and I was simply staying in front of the Mac whole day! Children were at school. Then she said I must have used another computer! I only have laptop and the iPad. I will talk to their manager first thing in the morning. In the mean time please let me know as to how can I transfer photos, music etc back to my laptop from my Iphone and IPad .? I am will connect to laptop as I am worried the new BLANK iPhoto may supersede iphone/iPad stuff? Will it? Please let me know. I am not a very tech savvy person. My son who could help me, is in Manchester Uni and Inam in London.

  • The message ~There was a problem connecting to the server "your-447023ae6b".appears when I try to play music transferred from my PC to my iMac. Files were transferred from my PC by a Genius. How do I sort it? Next appointment with genius is 5 days away!

    The message ~There was a problem connecting to the server “your-447023ae6b”.appears when I try to play music transferred from my PC to my iMac. Files were transferred from my PC by a Genius. How do I sort it? Next appointment with genius is 5 days away!

    Hi
    Thanks this has helped me solve the problem.
    I used the Outlook Anywhere connectivity tester you suggested. Selected Outlook autodiscover.
    It told me that it could not resolve things on any of the 4 tests.
    I saw that using the last test "Attempting to contact the Autodiscover service using the DNS SRV redirect method", was the only one likely to work in my case.
    I had already changed 3 entries in dns to point at my DDNS address but this had not worked, from the errors I could see that it was just the certificate name not matching so I changed the DNS entries for Autodiscover, autoconfig and _autodiscover._tcp
    to be webmail.domain.com which is a CNAME to my ddns address for the broadband router, which in turn forwards ports 80 and 443 to the exchange server for owa and activesync access. I got an error message saying that I had an illegal entry in my SRV record
    as a CNAME is not allowed, but it saved the change anyway.
    I reran the test and it worked.I can now make new outlook clients attach teo exchange.
    Thank you, after 8 hours yesterday of trying to reolve this I suddnely got it to work on one laptop but the other still would not and had lost track of what I could have changed so had no idea what actually made it work.
    Thank you for your suggestion.

  • What can i do to sort my ipod touch 4th gen, when ever i connect it to my laptop my itunes keeps saying, and i quote "itunes could not connect to this ipod, an unknown error has occured" please helpppppp i have not had my ipod for long either

    what can i do to sort my ipod touch 4th gen, when ever i connect it to my laptop my itunes keeps saying, and i quote "itunes could not connect to this ipod, an unknown error has occured" please helpppppp i have not had my ipod for long either

    - Try restoring on another computer.
    -  Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • Webpart Connection Doesn't Sort After Edit

    Hello,
    I have two SP task lists, 1st list for project details and 2nd list for project costs (1:Many). When viewing a single item from the project details task list in the Default Display Form, the project costs task list is
    also displayed as a webpart. The project costs webpart is connected to the project details item, and filters only project costs that have the same "Project Name". This works great, but my problem is the project costs list I've turned on inline editing.
    In the same Default Display From, when the user clicks to edit a line item in the project costs list, edits the item, and then clicks save, the page reloads, and all project costs are displayed instead of the filtered project costs list. The changes do not
    save, and the user has to scroll down the list to find the project cost line item still in edit mode. If the edits are repeated and save is once again clicked on the project costs list, the project cost line item is updated, and the project costs list is filtered
    correctly as intended.
    Can anyone help me correct or understand the issue: When making edits to a task list item using inline editing on a connected and filtered webpart, the list doesn't save edits to the webpart list and maintain its connected filter? Thank you for any guidance
    you can provide.

    Hi,
    According to your post, my understanding is that webpart connection doesn't sort after you edit the related list.
    Per my knowledge, it will send the value to connected web part when page loads in the display form.
    If you edit the item inlien, it will not refresh the page, so it cannot send the value again.
    I recommend that you can use the “Insert Related List” option in the display form.
    For more information, you can refer to:
    SharePoint 2010 - Insert Related Lists
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Which sort of HDMI cableis recommended for connecting Apple TV to aTelevision?  Does it need to be a normal HDMI cable or one which support Ethernet capabilities?

    Which sort of HDMI cableis recommended for connecting Apple TV to aTelevision?  Does it need to be a normal HDMI cable? or one which supports Ethernet capabilities?

    no need to go for an expensive HDMI cable as Varjak Paw rightly suggests.
    Pretty much all of them come with 1.4 standard these days.
    The difference in price is made by additional shielding and material used for the wire - hardly ever needed at home installations - unless you get interference from other devices.
    on the other note.
    one HDMI in your TV is obviously not ideal as well as using HDMI splitter or hub - but it should work.
    Also I know cases that some LG TV models do not work with Apple TV - which was confirmed by LG technical support.
    Those are rare cases and i do not want to worry you at this stage.

  • Sorry if tis is naive.  I have just bought my first iPad Retina Display.  I have WiFi at home but it has taken ages for me to connect as I needed all sorts of codes, passwords, detauils etc.   How does one connect to the web (Google) when one is out and a

    Sorry if this is a bit naive.  I have just bought my first iPad (Retina Display).  I have WiFi at home but it has taken me ages to get on-line as I needed all sorts of codes, passwords, numbers etc.
    How does one connect to the web (Google) when one is out and about?
    Thanks

    haha, You're welcome
    Maybe these links will be useful
    ipad manual/user guide
    http://manuals.info.apple.com/en_US/ipad_user_guide.pdf
    ipad support page
    http://www.apple.com/support/ipad/
    ipad assistant
    http://www.apple.com/support/ipad/assistant/

Maybe you are looking for