SQL query to assign several concurrent programs to the concurrent Manager.

Hello

You have any script to assign a list of program contributing to separate concurrent managers. Currently, there are more than 100 programs need to be assigned to the manager.ut

We do front end, but it will take quite a long time to complete this task.

Could you please help me on this.

Thank you and best regards,

Simone.

Hi Simone,.

First of all I need a sql query to find out what custom programs are assigned to which Manager.

Please see:

How can I tell which concurrent Manager handled a simultaneous [ID 344011.1] application/program

Find all programs assigned to the specialization Manager rules? [271283.1 ID]

Second, I have to give these programs customized to different custom managers.

See if this helps:

https://forums.Oracle.com/thread/2343489

Thank you &

Best regards

Tags: Oracle Applications

Similar Questions

  • White screen on Windows Vista Start-cannot open all programs, even the Task Manager

    Original title: white screen on startup of Windows Vista

    Hello

    I tried tirelessly fix my Sony Vaio computer that is running Windows Vista. After that I entered my password by logging into my account, the screen charge nothing; It is empty. I'm unable to open all programs, even the Task Manager.

    I AM able to start safe mode. I tried MSCONFIG, removing all the programs of cleaning, power off start up programs, but nothing seems to work. Can anyone help? Thank you.

    Hello

    See if that helps you.

    Do a Safe Mode system restore to before the problem started.

    http://bertk.MVPs.org/html/restoresysv.html

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    If it doesn't, try a startup repair and / or a system restore using a DVD of Vista from Microsoft

    Manufacturers recovery disks normally do not have Service Options; they are normally a relocation to the factory only settings option.

    Here is the guide to repair Options using a Vista DVD from Microsoft.

    If a friend or a work acquantance of yours has one, you can borrow and use it for repairs.

    http://www.bleepingcomputer.com/tutorials/repair-Windows-with-Windows-Startup-Repair/

    Table of contents

    1. Overview of Windows Vista repair options
    2. How to perform an automatic repair of Windows Vista using Startup Repair
    3. Advanced Tools Overview
    4. Conclusion

    If you do not or can not borrow a Microsoft DVD there is a download of a file ISO of Vista Startup Repair available that you can put on a Bootable floppy to make the above startup repair and that the method is recommended by a large number of posters in these Forums.

    Unfortunately, you have to buy it.

    Here is a link to it:

    http://NeoSmart.net/blog/2011/Windows-Recovery-discs-updated-reinstated/

    See you soon.

  • Need for the sql query to have several columns in a single coulumn

    Hi all

    I need create the query to have several columns in a single column with several lines.

    Select a.customer_trx_id, a.previous_customer_trx_id
    of ra_customer_trx_all one
    where a.customer_trx_id =: customer_trx_id

    Here, a.customer_trx_id and a.previous_customer_trx_id are in two columns. I need to put them in a single column.

    Say: the foregoing is output
    --------------------------------------------------------------------------------
    a.customer_trx_id a.previous_customer_trx_id

    --------------------------------------------------------------------------------
    123456 87654

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

    Need for a single column

    As


    --------------------------------------------------------------------------------
    123456
    87654

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

    Please do the needful. Please note that it is not the UNION.

    Thank you
    Abdul

    Hello

    You want a way to confirm that what looks like two rows is really a line?

    Here are three ways:

    (1) count the lines:

    WITH  my_original_querry     AS
    (
         select  a.customer_trx_id || CHR(13)
                          || a.previous_customer_trx_id     as id
         from      ra_customer_trx_all     a
         where      a.customer_trx_id      = 274881
    )
    SELECT     COUNT (*)
    FROM     my_original_query;
    

    (2) in SQL * Plus, have SQL * more count them for you:

    SET     FEEDBACK     1
    
    select  a.customer_trx_id || CHR(13)
                     || a.previous_customer_trx_id     as id
    from      ra_customer_trx_all     a
    where      a.customer_trx_id      = 274881;
    

    (3) implicitly count them with the ROWNUM Pseudo-column

    select  a.customer_trx_id || CHR(13)
                     || a.previous_customer_trx_id     as id
    ,     ROWNUM
    from      ra_customer_trx_all     a
    where      a.customer_trx_id      = 274881;
    
  • SQL Query to retrieve records for all after the Max Dates.

    Hello everyone,

    I am trying to retrieve the record more recent, based on the date field ( nextDate ).

    Currently, there are only 4 records in the MC_Maintenance table and two in the Machine table.

    Machine table

    MC_id             EquipID          

    1                      0227

    MC_id EquipID

    2                     0228

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

    MC_Maintenance table

    Maint_id MC_id Next_maint

    1                      2                      08/25/2010     

    2                      2                      07/01/2010

    3                      1                      2010-11-06

    4                      1                      07/11/2010

    I have am trying to accomplish is,.

    the list of the two machines of the table of the Machine with the MAX (Next_maint) control the list of MC_Maintenance results

    These are the records I want to display.

    Maint_id MC_id Next_maint

    1                      2                      08/25/2010

    4                      1                      07/11/2010                 

    Here is the SQL query

    SELECT

           MC. MC_ID as ID,

    MC.complete_Date completed.

    MC.next_maint as nextDate,.

    MC.maint_notes as noted,.

    MC.facility Facility.

    M.EquipId,.

    $m.name as the name.

    M.SerialNumber SN.

    M.dept as dept.

    M.Freq as freq

    Of MC_Maintenance MC, Machine M

            where  MC. MC_ID = M.MC_ID

    '           Using MAX (nextDate)

    Any ideas would be useful.

    TJ

    I thought it was a simple group of problem?

    SELECT M.EquipID, MC.MC_ID, Max(MC.next_maint)
    FROM MC_Maintenance MC INNER JOIN Machine M ON MC.MC_ID = M.MC_ID
    GROUP BY M.EquipID, MC.MC_ID
    
  • Stuck on a sql query to search for records that have the same parent child records

    Oracle 10 g 2 Enterprise Edition.

    Hello

    I'm writing a logic to find records in a parent table, who have the same values in a child table.
    This is part of a larger application, but I am stuck on that part for now, so I have mocked some of the below simplified tables to capture the heart of the
    the problem is that I'm stuck.
    Let's say I have a responsible parent, child employee table table and there are a number of many relationships between them.
    The aptly named Join_Table manages the relationship between them. If a manager can manage several employees, an employee can be managed by
    many managers.

    I have a feeling it's stupidly easy, but it seems to me having a bad episode of brain freeze today!
    -- parent table
    CREATE TABLE manager (
     id      number primary key,
     name      varchar2(100));
    
    -- child table 
    CREATE TABLE employee (
     id          number primary key,
     name      varchar2(100));
    
    -- link table
    CREATE TABLE join_table (
     manager_id          NUMBER, 
     employee_id      NUMBER,
     CONSTRAINT join_table_pk PRIMARY KEY (manager_id, employee_id),
     CONSTRAINT manager_fk FOREIGN KEY (manager_id) REFERENCES manager(id),
     CONSTRAINT employee_fk FOREIGN KEY (employee_id) REFERENCES employee(id) 
     );
    
    -- Insert some managers
    INSERT INTO manager (id, name) VALUES (1, 'John');
    INSERT INTO manager (id, name) VALUES (2, 'Bob');
    INSERT INTO manager (id, name) VALUES (3, 'Mary');
    INSERT INTO manager (id, name) VALUES (4, 'Sue');
    INSERT INTO manager (id, name) VALUES (5, 'Alan');
    INSERT INTO manager (id, name) VALUES (6, 'Mike');
    
    -- Insert some employees 
    INSERT INTO employee (id, name) VALUES (101, 'Paul');
    INSERT INTO employee (id, name) VALUES (102, 'Simon');
    INSERT INTO employee (id, name) VALUES (103, 'Ken');
    INSERT INTO employee (id, name) VALUES (104, 'Kevin');
    INSERT INTO employee (id, name) VALUES (105, 'Jack');
    INSERT INTO employee (id, name) VALUES (106, 'Jennifer');
    INSERT INTO employee (id, name) VALUES (107, 'Tim');
    
    -- Insert the links
    -- John manages Paul, Simon, Ken
    INSERT INTO join_table (manager_id, employee_id) VALUES (1, 101);
    INSERT INTO join_table (manager_id, employee_id) VALUES (1, 102);
    INSERT INTO join_table (manager_id, employee_id) VALUES (1, 103);
    -- Bob manages Paul, Simon, Kevin, Jack
    INSERT INTO join_table (manager_id, employee_id) VALUES (2, 101);
    INSERT INTO join_table (manager_id, employee_id) VALUES (2, 102);
    INSERT INTO join_table (manager_id, employee_id) VALUES (2, 104);
    INSERT INTO join_table (manager_id, employee_id) VALUES (2, 105);
    -- Mary manages Jennifer, Tim
    INSERT INTO join_table (manager_id, employee_id) VALUES (3, 106);
    INSERT INTO join_table (manager_id, employee_id) VALUES (3, 107);
    -- Sue manages Jennifer, Tim
    INSERT INTO join_table (manager_id, employee_id) VALUES (4, 106);
    INSERT INTO join_table (manager_id, employee_id) VALUES (4, 107);
    -- Alan manages Paul, Simon, Ken, Jennifer, Tim
    INSERT INTO join_table (manager_id, employee_id) VALUES (5, 101);
    INSERT INTO join_table (manager_id, employee_id) VALUES (5, 102);
    INSERT INTO join_table (manager_id, employee_id) VALUES (5, 103);
    INSERT INTO join_table (manager_id, employee_id) VALUES (5, 106);
    INSERT INTO join_table (manager_id, employee_id) VALUES (5, 107);
    -- Mike manages Paul, Simon, Ken
    INSERT INTO join_table (manager_id, employee_id) VALUES (6, 101);
    INSERT INTO join_table (manager_id, employee_id) VALUES (6, 102);
    INSERT INTO join_table (manager_id, employee_id) VALUES (6, 103);
    
    -- For sanity
    CREATE UNIQUE INDEX employee_name_uidx ON employee(name);
    If I ask for Manager John, so I want to find other managers who manage the exact list and even employees.
    Answer should be Mike.
    If I ask for Manager of Mary, the answer should be Sue.

    This query will give me the list of managers who manage some of the same employees as John, but not the same employees accurate...
    SELECT DISTINCT m.name AS manager
    FROM manager m, join_table jt, employee e
    WHERE m.id = jt.manager_id
    AND jt.employee_id = e.id
    AND e.id IN (
         SELECT e.id
         FROM manager m, join_table jt, employee e
         WHERE m.id = jt.manager_id
         AND jt.employee_id = e.id
         AND m.name = 'John')
    ORDER BY 1;
    I thought about using set operations to find managers with a list of employees less than my employees is null and where my employees under their list of employees is null. But there must be an easier way more elegant.
    Any ideas?
    BTW, I need to run as a batch on tables with > 20 million rows so the efficiency of queries is key.

    What about...

    WITH manager_list AS
    (
     SELECT name,
            LTRIM(MAX(SYS_CONNECT_BY_PATH(id,','))
            KEEP (DENSE_RANK LAST ORDER BY curr),',') AS employees
     FROM   (SELECT m.name,
                    e.id,
                    ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) AS curr,
                    ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) -1 AS prev
             FROM   manager m,
                    join_table jt,
                    employee e
      WHERE m.id           = jt.manager_id
      AND   jt.employee_id = e.id
      AND   m.name = :P_MANAGER)
      GROUP BY name
      CONNECT BY prev = PRIOR curr AND name = PRIOR name
      START WITH curr = 1
    ), all_list AS
    (
     SELECT name,
            LTRIM(MAX(SYS_CONNECT_BY_PATH(id,','))
            KEEP (DENSE_RANK LAST ORDER BY curr),',') AS employees
     FROM   (SELECT m.name,
                    e.id,
                    ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) AS curr,
                    ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) -1 AS prev
             FROM   manager m,
                    join_table jt,
                    employee e
      WHERE m.id           = jt.manager_id
      AND   jt.employee_id = e.id)
      GROUP BY name
      CONNECT BY prev = PRIOR curr AND name = PRIOR name
      START WITH curr = 1
    )
    SELECT a.*
    FROM   manager_list m,
           all_list a
    WHERE  m.employees = a.employees
    

    Would be easier in 11g, but I do not have a facility here so this is based on 10g.

    See you soon

    Ben

  • Unable to load the extension for Rotator easy - no CC2015 program in the extension manager?

    I try to install Easy Rotator (dwuser.com) in Dreamweaver CC 2015. I run the program on a nearly identical machine with great success, but can not get the zxp file to be allowed to be charged on this machine. I use windows 7 pro and don't see any CC 2015 programs listed in the extension manager. I heard that Ext Manager cannot be used with CC 2015 but can't get anything to work... Help, please... Thank you!

    Unless EZ Rotator is available on the page Adobe modules, you can not install it in 2015 CC because Adobe has stopped the extensions Manager.

    https://creative.Adobe.com/addons

    You can - maybe but not guaranteed - install it with a 3rd party DMX Zone EM, but I doubt little.

    FREE DMX Zone extensions Manager

    http://www.DMXzone.com/go/22670/DMXzone-extension-manager-for-Dreamweaver


    Nancy O.

  • Need a sql query to get several dates in rows

    Hi all

    I need a query to get the dates of the last 7 days and each dates must be in a line...

    but select sysdate double... gives a line...

    Output of expexcted

    Dates:

    October 1, 2013

    30 sep-2013

    29 sep-2013

    28 sep-2013

    27 sep-2013

    26 sep-2013

    Try:

    SQL > SELECT sysdate-7 + LEVEL FROM DUAL

    2. CONNECT BY LEVEL<=>

    3 * ORDER BY 1 DESC

    SQL > /.

    SYSDATE-LEVEL 7 +.

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

    October 1, 2013 13:04:52

    30 - Sep - 2013 13:04:52

    29 - Sep - 2013 13:04:52

    28 - Sep - 2013 13:04:52

    27 - Sep - 2013 13:04:52

    26 - Sep - 2013 13:04:52

    25 - Sep - 2013 13:04:52

    7 selected lines.

  • His lost after removing several unwanted programs from the PC

    I recently deleted a number of unwanted programs from my pc and so I lost my sound, can I restore sound? I don't have the volume icon in the toolbar.

    You can either do a restore system to a date before you remove programs or visit the website of the manufacturer of your computer/PC laptop and download drivers XP specific for your unit and install them. Or use restore discs can be supplied with your device.

    No problem do re-post giving PC/Laptop, name and model number.

    See you soon,.

    Jerry

  • VPN access query remote ASA - several group policies for the unique connection profile

    Hi all

    Two quick questions here that I need to help.

    1. in an ASA 5525, is it possible to have several group policies for a single connection profile?

    Scenario: A customer is running F5 Firepass to their VPN solution and this device is used by them to have multiple strategies group by the connection profile. We plan to migrate them to ASA (5525) and I don't know if the ASA can support that.

    2. in an ASA-5525 for Clientless Remote access VPN, can pass us the page to connect to an external server? For example, if I have a connection with a URL profile setup: "'https://wyz.vpn.com/ ';" for the LDAP/Radius Authentication, but for https://wyz.vpn.com/data and https://wyz.vpn.com/test I want to HTTP based authentication form and this page needs to be sent to an external server that is to say ASA step will manage this page, but rather the first page for this is served by the external server.

    Scenario: One of our clients is running F5 Firepass to their VPN solution. On the F5 they have pages of configuration such as the https://wyz.vpn.com/ that the F5 shows to the user when they connect via VPN without client; However if the user types https://wyz.vpn.com/data in the browser, the traffic comes to the F5, but F5 redirects this traffic to an external server (with an external url as well). Then it's this external server that transfers the first page of the user requesting authentication for HTTP form based authentication information.

    Thanks in advance to all!

    Hello

    You can have fallback to LOCAL only primary method.

    http://www.Cisco.com/c/en/us/TD/docs/security/ASA/asa90/configuration/gu...

    HTH

    Averroès.

  • How to assign several TOC to correct the text?

    I work in InDesign CC2014 on a Windows 7 PC. I have a document with TOC - one three styles to the content of the chapter, one for a list of figures (LOF) and one for a list of tables (LOT). In each, I have assigned different paragraph styles to use - chapter heading styles, figure caption for the LOF and legend of table for the BATCH. The text for each is an area of unique text not moved on.

    Using the option to update Table of contents in the menu layout, the table of contents chapter works. The LOF is using the BATCH. And the LOT is grayed out and will not be updated the content at all. Each of them occurs with the cursor in the correct discreet text box.

    I can get everyone to work if I use the Table of contents, choose one I want, flow the text into a new text box and replace the existing text by the new box. Next time, I must do the same, because the Update Table of contents will not work in the new text boxes.

    I hope I'm missing just something simple. Any help would be really appreciated.

    Thank you.

    Peter,

    I placed a figure and a table in the document, recreated it in the model from scratch, and everything seems to work. I realized the original had the text placeholder, in the correct style, but if it has not been generated, this could be the reason why it did not work.

    I saved the model as a indt file and will use later today or early this week next to the 17 other documents. This will be the text - if they work in the documents created from the template.

    I will mark this answer as being correct, and if I have questions after I tried to use it, I'll post them in this thread as well.

    Thank you!!

  • How to program using the Task Manager automatic restore Points?


    Hello

    Restore points are created automatically every day, and just before the events significant system, such as installing a program or device driver. There is no need for schedule you a task for her through Task Scheduler. However, you can also create a manually restore point.

    1. Go to control panel of control-> system and maintenance-> system

    2. In the left pane, click System Protection. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    3. Click the System Protection tab and then click on create.

    4. In the System Protection dialog box, type a description, and then click on create.

    Hope this helps

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Several AIDS Dreamweaver in the Task Manager crushing my system

    Watch - is this true? my machine is Hi spec and have my dw, ps and flash system all on crushesd and makes everything slow and unresponsive - I chip i7, 8 GB ram, loads of disk space. -any clues?

    So I have a lot of trouble with the new generation of cc is false.

    This has contributed to

  • Exit SQL query more than 65000 rows in excel

    Hello

    I have a SQL file attached to my simultaneous program. The query in the SQL file returns output separate tab I need to e-mail as a CSV via the same SQL file.

    The issue I'm facing is that the query returns the records about 157000 but only 65536 are displayed in the excel worksheet.

    How can I get all the records by welcoming them in several worksheets in the same excel file?

    Help, please!

    I use EBS 11i.

    The code I use in the SQL file:

    set of 3000 pages
    fixed-line 300
    set the position
    fixed term off
    Set feedback off
    set verify off
    trigger the echo
    off Set serverout

    coil /tmp/TEST.csv

    Select 'head '.
    of the double
    /

    SELECT column1 | CHR (9) | Column2
    OF staging_table
    /

    spool off


    fixed lines 1000 pages 40 Parry echo off veri off
    Select ' cd/tmp; Cat $XX_TOP/install/sql/disclaimer.txt > x.dat; Cat ' |' /tmp/test.csv'||' | UUEncode ' |' /tmp/test.csv'
    ||' > '|| substr('/tmp/test.csv',1,length('/tmp/test.csv')-4) |'. DAT > > x.dat'
    ||' ; mail-s "' |' & 1' |" ' ' |' & 2' |' < x.dat'
    ||' ; RM ' | substr('/tmp/test.csv',1,length('/tmp/test.csv')-4) |'. dat' | ' ;'
    of the double

    list
    coil /tmp/email.txt
    /
    spool off
    host chmod 777 /tmp/email.txt
    Home /tmp/email.txt

    Thank you

    Published by: user10648285 on May 13, 2011 05:27

    {message: id = 9360007}

    You can also upgrade your version of Excel as the latest versions contain more than 65K lines

  • How to get the value of a column in sql query?

    Hi, anyone knows how to get the value of a column in sql query?

    Here is my code, the value must be 1350079224397 in my PB, but I get 0

    QString query ("SELECT version FROM db_version");

    QVariant result = sda.execute (query);
    QVariantMap versionMap = result.toList () such () .toMap ();
    If (! versionMap.IsEmpty ())
    {
    qDebug()<"Version: "=""><>
    }

    OK, I have the solution

    QString query ("SELECT version as version FROM db_version");

  • SQL query to retrieve only numbers to a string variable

    Dear all Experts,

    I have a requirement in one of my projects where I need to extract only the numbers present in the variable.

    for example:

    BANK_ACCOUNT_NUMBER = 12345-67890';

    BANK_ACCOUNT_NUMBER = 12345 67890';

    BANK_ACCOUNT_NUMBER = "123.456.7890";

    BANK_ACCOUNT_NUMBER = 123-A456BC7890D';


    In all these cases, I need to retrieve only numbers such as BANK_ACCOUNT_NUMBER = 1234567890 and I am looking for SQL query only.


    Please suggest me the query how to extract numeric values from varchar variable.



    Thank you

    Knockaert

      select regexp_replace('123-A456BC7890D','[^0-9]') from dual;
    

    See you soon,.

    Manik.

Maybe you are looking for

  • Satellite L505 - screen flashing, but another screen works

    I have a problem with my laptop, the screen starts flashing black. I still can't see what normally it stops when I open the screen to the angle_ of _maximum or when I apply pressure above the power bar on the round screen hinge in the middle of this

  • A key using self-powered USB causes the base station go "off-line".

    I found that by using a USB drive self-powered, as the WD My Passport, without a USB powered, hub attached to the base of the station USB port has caused the base station go "off-line". In fact, using a powered hub does not always remedy the situatio

  • Satellite A500 - sounds/images of default system lost after installing Win7

    Hello I bought a Toshiba Satellite A500 with Windows Vista and upgrade to Windows 7. After my installation of Windows 7, I lost all my icons of Toshiba and sounds, as silent image appears so hitting the button mute on the keyboard and the beep on hit

  • Satellite A100: Dead battery + Random closures

    Hello everyone I'm having some trouble with my Satellite A100 after taking in a service center and I hope you can help. One of the brackets holding the button broke on my laptop so I took it to a service center to replace. Once I come back the laptop

  • Bios password HP 6735 b

    Hilo frand I the hive hp 6735 b with a bios password I know that the password is in the eeprom I do t thave program flash eeprom bios how can I do laptopmaster will be very happy for her from you