question query NVL

Hello
I have a request for a request to write that check null values in the CHANGE_CODE, makes it so 'none' if they are null, then the "none" takes the value and makes "open well". Should it be written in 2 separate calls to the database or can it be written as one? I wrote the following query, the "no" value is picked up, but its not to change the none for ' open wells. "I

StringBuilder sbSQL = new StringBuilder();
sbSQL.Append ("SELECT distinct RO. OBJECT_ID, RE. Stuff, RR.NAME, replace (nvl (A.CHANGE_CODE, '(none)'), '(none)', 'open_well') REV_CODE, "Autobalance"NOTE");
sbSQL.Append ("FROM PLX_SCRIPTED_LOAD_OBJECT_SET OBJ");
sbSQL.Append ("INNER JOIN PLX_CASE_ATTRIBUTE A ON OBJ. OBJECT_ID = A.OBJECT_ID");
sbSQL.Append ("INNER JOIN PLX_RECON_RESERVOIR RR ON A.UNIQUE_ID is RR. RESERVOIR_NAME");
sbSQL.Append ("INNER JOIN PLX_RECON_OBJECT RO ON RR. RESERVOIR_ID = RO. RESERVOIR_ID");
sbSQL.Append ("INNER JOIN PLX_RECON_RESERVOIR_ENTRY RE ON RO. RESERVOIR_DATA_OBJECT_ID = RE. RESERVOIR_DATA_OBJECT_ID");
sbSQL.Append ("INNER JOIN PLX_RECON_RESERVE_CATEGORY RRC ON RE. RESERVE_CATEGORY_ID = CRR. STUFF AND A.RESERVE_CATEGORY = CRR. CATEGORY_NAME');

If I run the following query in sql developer, I get the results I want:
SELECT replace (nvl (a.CHANGE_CODE, '(none)'), '(none),' open_well'), reservoir_entity, object_id, rr. Xxx_plx_case_attribute RESERVOIR_NAME A, PLX_RECON_RESERVOIR RR
where A.UNIQUE_ID = RR. RESERVOIR_NAME


any suggestions?
Thank you

UPDATE XXX_PLX_CASE_ATTRIBUE SET CHANGE_CODE = "OPEN_WELL".
WHERE CHANGE_CODE IS NULL OR CHANGE_CODE = 'NONE ';

Tags: Database

Similar Questions

  • Simple question about NVL

    Hello

    It's simple question on NVL, here are the details:

    create table tb_test (number (3) id, varchar2 (12)) nm;

    insert into tb_test values (111, 'AAA');

    Select NVL (nm, n / 'a') in tb_test where id = 222;

    I don't have "N/a", which is what I expected. Any comment?  Thank you!

    Hello

    If you want a row of output, even if the query produces no line; right?

    This looks like a job for outer join:

    SELECT NVL (t, nm, n / 'a') OUTPUT

    OF the double

    LEFT OUTER JOIN tb_test t ON t.id = 222

    ;

    LEFT OUTER JOIN ensures that each row in the table to the left (i.e. immediately before "LEFT OUTER JOIN") will join, even if the condtion join fails.  It is 1 row duplicate, therefore, if there is no line in tb_test that fills the 'id = 222' condition, that the double row will be in the game anyway.  If there is tb_test lines that meet the condition, they all appear in the result set.

  • Query NVL

    Dear experts,

    I have a code like this.
    DECLARE
    a VARCHAR2 (1);
    b VARCHAR2 (1);
    c VARCHAR2 (1);
    BEGIN
    b: = NULL;
    c : = a ' ;
    a = NVL (b, c);
    If a = a ' CAN
    a: = 'E '.
    END IF;
    END;

    My question is how can I write the article

    a = NVL (b, c);
    If a = a ' CAN
    a: = 'E '.
    END IF;

    In a single expression.

    Concerning
    Rajat

    use DECODING... not tested

    select
         DECODE(
              NVL(b,c), 'D', 'E'
         ) into a
    from dual;
    

    Something like that?

    SQL> DECLARE
      2     a   VARCHAR2 (1);
      3     b   VARCHAR2 (1);
      4     c   VARCHAR2 (1);
      5  BEGIN
      6     b := NULL;
      7     c := 'D';
      8     a := NVL (b, c);
      9
     10     /*IF a = 'D'
     11     THEN
     12        a := 'E';
     13     END IF;*/
     14     select DECODE(NVL(b,c), 'D', 'E') into a from dual;
     15
     16     DBMS_OUTPUT.put_line ('a= ' || a || ', b= ' || b || ', c= ' || c);
     17  END;
     18  /
    a= E, b= , c= D
    
    PL/SQL procedure successfully completed.
    
  • column of question: query customerID sqlplus appear twice

    I tried several ways to view a query where indicates the client who made more than 3 rentals from 01 Nov to 31 Dec. However, for some reason any the customerID column appear twice.

    * I use 3 tables to get this result:

    Select RentalAgreement.membershipcardid as "MCardID."
    Customer.CustomerID, Customer.CNAME, Customer.Address,
    membershipcard. CustomerID, Invoice.rentc, RentalAgreement.DateAndTimeOfIssue,
    Count (RentalAgreement.membershipcardid) as 'NOfRents' RentalAgreement, customer, membershipcard, Bill
    where rentalAgreement.membershipcardid = MembershipCard.membershipcardid
    and customer.customerid = membershipcard.customerid
    "and RentalAgreement.DateAndTimeOfIssue between November 1, 2012' and 31 December 2012"
    RentalAgreement.membershipcardid group, MembershipCard.
    CustomerID, Customer.CNAME, Customer.Address, Invoice.rentc, Customer.CustomerID, RentalAgreement.DateAndTimeOfIssue;


    MCardID CUSTOMERID CNAME ADDRESS CUSTOMERID RENTC DATEANDTI
    ---------- ---------- ---------- ------ ---------- ---------- ---------
    NOfRents
    ----------
    107 N151AS of EDuois 27 27 60 11 November 12
    5

    108 28 WDuois N151AS 28 60 19 November 12
    5

    101 N193AS of ALuois 22 22 60 22 November 12
    5


    MCardID CUSTOMERID CNAME ADDRESS CUSTOMERID RENTC DATEANDTI
    ---------- ---------- ---------- ------ ---------- ---------- ---------
    NOfRents
    ----------
    101 N193AS ALuois 22 22 60 21 of November 12
    5

    101 N193AS of ALuois 22 22 60 20 November 12
    5

    101 N193AS of ALuois 22 22 60 24 November 12
    5


    MCardID CUSTOMERID CNAME ADDRESS CUSTOMERID RENTC DATEANDTI
    ---------- ---------- ---------- ------ ---------- ---------- ---------
    NOfRents
    ----------
    109 N151AS of ADDuis 30 30 60 3 December 12
    5
    Thanks for your time.
    I'm not sure if this request seems to be logical, I would be grateful to any online guide to pl/sql

    Hello

    978308 wrote:
    Hi to you for your help, I have another question about pl/sql.

    When you have a new, separate question, then you should start a new and separate thread. This thread has 4 replies and is marked as 'response '. most of the people who have not participated in this thread (and in this case, it's just you and me) are not going to start watching now. You will get much better response if you start a new thread.

    I use oracle 11.2.0. I'm trying to get a report of repairs, so I put a condition if:
    3. WHERE RETURNED > 1; - then it will only show the repair costs

    I got an error after exec report_cursor

    SQL > exec report_cursor;

    ERROR on line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'REPORT_CURSOR' must be declared.
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

    ---------PL/PSQL-----------------------------

    The line above shows what is simply boredom!
    What follows is not just the PL/SQL code. Like many scripts, it's a mixture of SQL * more and PL/SQL (and, unwittingly, pure SQL, too).
    'SET SERVEROUTPUT ON' is a SQL * Plus command. Like all SQL * most orders, be completed before the end of the line. In this case, it means "DECLARE CURSOR report_cursor IS" is taken as part of the SET command. When I run it, I get a SQL * Plus error message "SP2-0158: unknown SET"declare"option

    SQL >
    1 set serveroutput on DECLARE CURSOR report_cursor IS

    If the first line is ignored. Since you have not started a block PL/SQL, lines 2 and 3 are considered as being a pure SQL query.

    2. SELECT INVID REFERRED, INVOICEDA, REPAIRDETAIL OF THE INVOICE
    3. WHERE RETURNED > 1;
    4 I_INVID INVOICE. INVID % TYPE;
    5 I_REPAIRFEE INVOICE. SENT % TYPE;
    6 I_DATE INVOICE. TYPE % INVOICEDA;
    7 I_DETAIL INVOICE. TYPE % REPAIRDETAIL;

    I know not why the lines 4-7 do not cause any errors, because the DECLARE has been ignored.
    From line 8, the script is interpreted as PL/SQL: it looks like an anonymous block that does not have the optional DECLARE section.

    BEGIN 8
    9 DBMS_OUTPUT. Put_line ('ID, cost and Scooter fixed Details'); ...

    Please formatting your code. It will help you as well as others.

    All you have to do is to start the DECLARE statement on a charge line:

    set serveroutput on 
    
    DECLARE
        CURSOR report_cursor IS
                SELECT  INVID
            ,         REPAIRFEE
            ,        INVOICEDA
    ...
    
  • Question query - binding time span for Point-in-time references

    I'm pulling historical data in a table for the duration of the recordings, using a reference point-in-time. I succumbed.

    I threw some examples of tables and data to illustrate what I'm looking for:
    Create Table EmployeeInfo (
           id Number(10,0),               -- Employee ID Number
           Name VarChar2(32 Byte),        -- Employee Name
           CurrentShift VarChar2(2 Byte)  -- Current Employee Shift
           );
    
    Create Table ShiftChanges (
           id Number(10,0),               -- Employee ID that this shift change record is for
           ChangeDate Date,               -- Date that this Change Took Place
           OldShift VarChar2(2 Byte),
           NewShift VarChar2(2 Byte)
           );
    
    Create Table TimeCard(
           id Number(10,0),               -- Employee ID Number for this Timecard
           WorkDay Date,                  -- What Day is this Timecard for?
           Hours Float(63)                -- Number of Hours worked.
           ); 
    
    COMMIT;
    INSERT INTO EmployeeInfo VALUES (100,'John Doe','Days')
    INSERT INTO EmployeeInfo VALUES (101,'Jane Doe','Days');
    INSERT INTO TimeCard VALUES (100, to_date('01012010','ddmmyyyy'), 10.5);
    INSERT INTO TimeCard VALUES (101, to_date('01012010','ddmmyyyy'), 10);
    INSERT INTO TimeCard VALUES (100, to_date('02012010','ddmmyyyy'), 9);
    INSERT INTO TimeCard VALUES (101, to_date('02012010','ddmmyyyy'), 10.5);
    INSERT INTO TimeCard VALUES (100, to_date('03012010','ddmmyyyy'), 8);
    INSERT INTO TimeCard VALUES (101, to_date('03012010','ddmmyyyy'), 7);
    INSERT INTO ShiftChanges VALUES (100, to_date('02012010','ddmmyyyy'), 'Nights', 'Days');
    COMMIT;
    I could do a query such as:
    SELECT TC.id, 
           EM.Name, 
           TC.Workday, 
           EM.CurrentShift AS Shift
    FROM   TimeCard TC,
           EmployeeInfo EM
    WHERE  (TC.ID=EM.ID(+));
    But he won't give me the history , only the current turn. Since John Doe last travel on Jan 2 nights to days, the query above would not reflect it.

    I tried to join the historical table using a less - than operator. This does not work for more than one line may be returned.
    SELECT TC.id, 
           EM.Name, 
           TC.Workday, 
           SC.NewShift AS Shift
    FROM   TimeCard TC,
           EmployeeInfo EM,
           ShiftChanges SC
    WHERE  (TC.ID=EM.ID(+)) AND
           (TC.ID=SC.ID(+) AND TC.WORKDAY<=SC.WORKDAY(+));
    The problem is that you have to parse multiple records in a table in order to obtain accurate historical data for the other.

    The following SQL script {color: green} works {color} - if the values are defined in advance.
    DEFINE EMPID=101;
    DEFINE CHGDATE=to_date('01/01/2010','dd/mm/yyyy');
    SELECT SQ.Shift
    FROM   (SELECT  ShiftChanges.NewShift AS Shift,
                    RANK() OVER (ORDER BY ShiftChanges.ChangeDate DESC) R
            FROM    ShiftChanges
            WHERE   ShiftChanges.id = &EMPID AND
                    ShiftChanges.ChangeDate <= &CHGDATE
            ) SQ
    WHERE R = 1
    However, I was unsuccessful in adapting the tables in the example I provided. If I insert the query as a subquery inline* in the statement select, it won't work, because the criteria is nested two levels down, and I can't get the values of parent in the first level.

    I didn't think in a way I can do this by using a subquery nested - I keep running into this problem - how you link the data with a reference point-in-time.

    Any ideas / illuminating thoughts?

    Thank you

    -----
    {size: 8} _SELECT * FROM V$ VERSION information: _
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
    PL/SQL Release 9.2.0.8.0 - Production
    "CORE 9.2.0.8.0 Production."
    AMT for 32-bit Windows: Version 9.2.0.8.0 - Production
    NLSRTL Version 9.2.0.8.0 - Production
    {size}

    user10879184 re-written the original message on March 29, 2010 13:21 to take into account suggestions made by poster.

    On the drive home, I realized that we had to refer to the OldShift rather than NewShift to cover cases where the shift that an amendment has been made. In this case, the days before first shift change would get the current passage reported, although this was not correct. The fixed code is:

    SELECT TC.id,
           EM.Name,
           TC.Workday,
           NVL(SC.OldShift,EM.CurrentShift) AS Shift
    FROM   TimeCard TC,
           EmployeeInfo EM,
           (SELECT ID, Workday, ChangeDate, OldShift
            FROM
                   (SELECT TC2.ID, TC2.Workday, SC2.ChangeDate, SC2.Oldshift,
                           MIN (SC2.ChangeDate) KEEP (DENSE_RANK FIRST ORDER BY SC2.ChangeDate)
                                                OVER (PARTITION BY SC2.ID, TC2.Workday) AS Min_ChangeDate
                    FROM   ShiftChanges SC2,
                           TimeCard TC2
                    WHERE  TC2.Workday < SC2.ChangeDate
                    AND    TC2.ID = SC2.ID
                    )
            WHERE   ChangeDate = Min_ChangeDate
            ) SC
    WHERE  TC.ID=EM.ID(+) AND
           TC.ID=SC.ID(+) AND
           TC.Workday = SC.Workday(+)
    

    It works it is not terribly effective. Perspective online joined the entire table for the time sheet to the table of ShiftChange together. I imagine that you would be restrictive forms of presence reported by a range of dates in the main query, and you do not want to apply the same filter inside the display online. Even if you filter on employee ID's

    For example.

    SELECT TC.id,
           EM.Name,
           TC.Workday,
           NVL(SC.OldShift,EM.CurrentShift) AS Shift
    FROM   TimeCard TC,
           EmployeeInfo EM,
           (SELECT ID, Workday, ChangeDate, OldShift
            FROM
                   (SELECT TC2.ID, TC2.Workday, SC2.ChangeDate, SC2.Oldshift,
                           MIN (SC2.ChangeDate) KEEP (DENSE_RANK FIRST ORDER BY SC2.ChangeDate)
                                                OVER (PARTITION BY SC2.ID, TC2.Workday) AS Min_ChangeDate
                    FROM   ShiftChanges SC2,
                           TimeCard TC2
                    WHERE  TC2.Workday < SC2.ChangeDate
                    AND    TC2.ID = SC2.ID
                    AND    TC2.Workday >= SYSDATE - 7
                    )
            WHERE   ChangeDate = Min_ChangeDate
            ) SC
    WHERE  TC.ID=EM.ID(+) AND
           TC.ID=SC.ID(+) AND
           TC.Workday = SC.Workday(+) AND
           TC.Workday >= SYSDATE - 7
    
  • question query Flashback

    Hello

    I have oracle 10g 10.2.0.1 standard edition. The work of "alter database flashback on" command in my situation? I need to take a look at some of the data in the past.

    Table of flashback Transaction query and database are available only in Enterprise Edition. Flashback Query works in Standard Edition.

    Werner

  • Question of NVL

    NVL (to_date (NVL(:2,fnd_profile.) ((Value ('ICX_DATE_FORMAT_MASK'))),'* ') AND nvl (to_date (nvl (: 3, fnd_profile.value ('ICX_DATE_FORMAT_MASK'))),'* ')


    is the syntax above to correct otherwise correct me

    Published by: user12053530 on October 24, 2009 01:13

    Hello

    If you want to test explicitly for NULL values, I think it's more clear:

    WHERE     (     date_column     >= TO_DATE (:2, fnd_profile.value ('ICX_DATE_FORMAT_MASK')
         OR     :2          IS NULL
         )
    AND     (     date_column     <= TO_DATE (:3, fnd_profile.value ('ICX_DATE_FORMAT_MASK')
         OR     :3          IS NULL
         )
    
  • SimulView updated for Bravia Question/query?

    I'll begin by apologizing for what is not exactly in the right part of this forum, but I couldn't find any more relevant place.

    In a sense, this refer to my Sony support or devices and technologies so please consider, not that I wish for this 'cirumvention"to be exploited, but included in a marketing point of view...

    What I was able to research, the only thing that prevents my 46HX800 TV series Bravia to accomplish the called function 'SimulView' is what called EDID code; a code sent via connection theHDMI let the system know if its on the 24 "display 3D Playstation... or Im guess right out; the new 84 "4K TV, its specific EDID code as well.

    I can send a 'fake' EDID apparently yet to accomplish SimulView on other Bravia devices, with the only detail that I need the most recent 3D glasses do run SimulView spltscreen (I don't want to cause trouble, but stress ONLY this can be done on other Bravia 240 Hz TVs).

    Now, being stock Sony currently is in the toilet and to put it politely, but they make the best audio and video products now... HANDS DOWN.  Wouldn't they still essentially selling the same number of 25 000 $84 inch 4K displays if they also updated the current technology of 240Hz TV Bravia to maintain a SimulView authorized EDID. that would create a second wave of additional new sales to get the new model of Sony 3D glasses.

    Although I doubt I'll ever spend $25 on what it is, and I really didn't have a males $ 60 - $70 extra around the installation... but Id find and pay for new shows to play in SimulView with my newphew dirty, rotten, screen-chetanest on my 46 "Bravia HX!

    In closing, to come up with one update for others lines of Bravia 'emit' to use the technology of SimulView only would create not secondary through new purchase 3D glasses, as well as a big boost to the confidence of some s Comsumer who was waining as of late... further increasing sales to other Sony and Sony is braded.

    He earns money to profit as well as current plans go but also increases this accessory index through sales with an additional effect of sales to other departments of Sony.  This adds value on behalf of Sony.  That increases its value.

    If you, the Facilitator, it is logical; could you please pass on to someone who would have a connection to the marketing and/or sales and distribution?

    Thank you

    An investor of product concerned Sony

    Hello

    Thanks for the suggestion.
    I will pass this suggestion to our engineering and marketing department.

    Kind regards
    Colby

  • Nested set tables in select query "in the clause of" take long time

    create or replace type t_circuitids is table of the varchar2 (100);

    -Under anonymous block continues to run away and never ends

    DECLARE
    v_circuitid t_circuitids;
    number of v_count;
    l_circuitids VARCHAR2 (4000)
    : = "Value1, value2, value3, value4, Value5";
    BEGIN
    -Query below converts the output concatinated with commas to the list and stores it in the nested table collection v_circuitids
    WITH an ACE
    (SELECT ',' | l_circuitids |) ',' AS circuitid
    THE DOUBLE)
    SELECT DISTINCT TRIM (SUBSTR (circuitid,
    INSTR (circuitid, "," 1, LEVEL) + 1.
    INSTR (circuitid, "," 1, LEVEL + 1)
    -INSTR (circuitid, "," 1, LEVEL)
    -1
    )
    ) cid
    LOOSE COLLECTION v_circuitid
    A
    CONNECT BY LEVEL <
    LENGTH (circuitid)
    -LENGTH (REPLACE (circuitid, ','));

    SELECT COUNT (1)
    IN v_count
    TABLE
    WHERE name IN (SELECT COLUMN_VALUE
    TABLE (v_circuitid));
    END;
    /

    -I had the question, query "SELECT COLUMN_VALUE FROM TABLE (v_circuitid)" that is used in code above is responsible for this.

    -Same code works fine in development and Test environments, but prod it continues to work on

    -I solved this problem by creating a temporary table, loading of all values in the collection in the temporary table and using this temporary table "in the clause" "

    -Can answer why his behavior like this when I use the collection where clause?

    -I use Oracle 9i

    Here is a summary of the question and the solution for this.

    -Nested type to collect multiple values

    CREATE or REPLACE the TYPE t_circuitid IS TABLE OF VARCHAR2 (100);

    Below the code will simply on the run.

    DECLARE
    v_circuitid t_circuitid;
    v_count NUMBER;
    BEGIN
    SELECT nal_name
    LOOSE COLLECTION v_circuitid
    OF fs_head
    WHERE groupid = 10;

    SELECT COUNT (1)
    IN v_count
    OF fs_attrib
    WHERE NAME IN (SELECT COLUMN_VALUE
    TABLE (v_circuitid));

    Dbms_output.put_line (v_count);
    END;
    /

    Cause:-SELECT COLUMN_VALUE TABLE (v_circuitid)); -This request is causing problem

    Why?  : - Because the CBO does not know how many lines is present in the collection, by default it takes 8168 lines

    Note:-always happens, it depends on the volume of data in the table, the path chosen by CBO. In my case, the table is huge on prod compared to DEV so he was causing a problem.

    -The following modified code works very well

    DECLARE
    v_circuitid t_circuitid;
    v_count NUMBER;
    BEGIN
    SELECT nal_name
    LOOSE COLLECTION v_circuitid
    OF fs_head
    WHERE groupid = 10;

    SELECT COUNT (1)
    IN v_count
    OF fs_attrib
    WHERE NAME IN (SELECT / * + cardinality (20 t) * /)
    COLUMN_VALUE
    TABLE (v_circuitid) t);

    Dbms_output.put_line (v_count);
    END;
    /

    Solution:-used as cardinality hint below.

    SELECT / * + cardinality (20 t) * / t COLUMN_VALUE TABLE (v_circuitid);

    Using cadinality I am saying CBO which dataset contains 20 lines or less.

    If it is version of Oracle 10 g and more, we can use below code (CARD utility).

    SELECT COLUMN_VALUE TABLE (CARD ((v_circuitid))

    For more information reach me at [email protected]

    Thank you best regards &,.

    Amarnath a. Reddy.

  • Dynamic list - is current issue

    I created a dynamic list. This works except for the IS_CURRENT parameter.
    List : dyn wizard page 11
    Template:      Wizard Progress List, Horizontal Train
    
    Query Source Type: Function Returning SQL Query
    
    Query
    
    case
    when :APP_PAGE_ID = '11' THEN
      RETURN 
      'SELECT null, progress_name label, '||
      'case WHEN NVL(:APPL_TAB_NAME,''PROJECT'')=CURRENT_TAB_NAME THEN ''Y'' else ''N'' end 
     is_current_list_entry,'||
      'null,null,id ' ||
      'FROM csrsr_req_wizard_nav '||
      'WHERE form_number_id = 3 ORDER BY 6';
    when :APP_PAGE_ID = '8' THEN
      RETURN 
      'SELECT null, current_tab_name label '||
      'FROM csrsr_req_wizard_nav '||
      'WHERE form_number_id = 1 ORDER BY 1';
    when :APP_PAGE_ID = '10' THEN
      RETURN 
      'SELECT null, current_tab_name label '||
      'FROM csrsr_req_wizard_nav '||
      'WHERE form_number_id = 2 ORDER BY 1';
    else
      RETURN 
      'SELECT null, current_tab_name label '||
      'FROM csrsr_req_wizard_nav '||
      'WHERE form_number_id = 4 ORDER BY 1';
    END CASE;
    The page I access the dynamic list is on Page 11.

    Can someone please?

    Robert
    http://apexjscss.blogspot.com

    Applications of dynamic list you generate missing a column. Your questions have 6 columns:

    SELECT
        null
      , progress_name label
      , case
          WHEN NVL(:APPL_TAB_NAME,'PROJECT') = CURRENT_TAB_NAME THEN 'YES'
          else 'NO'
        end is_current
      ,null
      ,null
      ,id
    FROM
        csrsr_req_wizard_nav
    WHERE
        form_number_id = 3
    ORDER BY
        6
    

    The examples in the list wizard have 7:

    SELECT null,
           ENAME label,
           null target,
           'YES' is_current,
           '#APP_IMAGES#del.gif' image,
           'width="20" height="20"' image_attrib,
           ENAME image_alt
    FROM  emp
    ORDER BY ename
    

    Although the target column is not used in a list of courses standard Wizard because it is not clickable, the column must always be included or the values of the column will be compensated. APEX sees your is_current as the target value column and your null image is_currentcolumn. It is advisable to include all columns and alias them:

    select
        null level
      , progress_name label
      , null target
      , case
          nvl(:appl_tab_name, 'PROJECT') = current_tab_name then 'YES'
          else 'NO'
        end is_current
      , null image
      , null image_attrib
      , null image_alt
    from
        csrsr_req_wizard_nav
    where
        form_number_id = 3
    order by
        6
    

    Also note that there are no application APPL_TAB_NAME element in this application, which will have an impact on the results of this query: nvl (: appl_tab_name, 'PROJECT') assess so always at the "PROJECT".

  • I can't open iPhoto, the icon has an exclamation mark superimposed

    Morning, I have a cannot open iPhoto on my Mac 27 inches. OS X El Capitan 10.11.4 the icon has a question (query) superimposed.

    It's in the Dock or in Launchpad? Both?

    The superposition of question mark means that the application has been deleted or cannot be found, open your folder/applications and see if the iPhoto icon is still there. Maybe you moved somewhere outside in / applications rather than actually delete?

    You know iPhoto has been replaced by the Photos app today? Do you have any pictures installed? Is this a new iMac, that you have copied the data in another Mac running an earlier version of Mac OS X? If so, how did you transfer? Migration Assistant?

  • Does SOUL used in combination with the hierarchy of position for purchase requisitions

    Hello

    We use the hierarchy of position for purchase requisitions.

    Can we use management engine approval in combination with the hierarchy of existing post for purchase requisitions for workflow routing more flexible?

    Kind regards

    Natalia

    Hi Natalia,

    Using hierarchy Position in the SOUL is supported only in R12, please refer to the following document:

    Using SOUL, creating approval routing at a certain Position in the hierarchy of Position HR [ID 1501433.1]

    Hope this helps,

    Please, if this response has answered/solved your question/query, please mark it as correct or useful to facilitate the correct answers to the members of the community.

  • How to find the sizes of all schema objects

    Hi guru,.

    I have a 10.2.0.4 database on the Windows platform.

    How can I calculate the size of a particular schema objects (i.e.table, index, Mviews etc.)?

    Is any dynamic script available for the same thing?


    Thanks in advance.

    Why do you want to include nom_segment in the State? You need size of all objects in the schema.
    simply question query provided that WHEN the OWNER = "tbl";
    If you need that in Excel, you can use SQL Developer or any available for Oracle GUI tools.

    Murali Mohan

  • Skillful requests in the standard application forms

    Hello
    I am trying to create a smart query to a file. According to the standard documentation.

    Place the display in query mode
    Enter: one in the area you want to enter the smart to query
    run the query

    This should then open a pop-up window with the where clause of the query folder and there you can change the SQL directly.

    Except when I run the query the where the pop - up does not appear and receive following error message.
    FRM-40367: invalid criteria in ITEM_NUMBER field in the rendering of the example.

    This same message for other fields and I tried on other forms also.

    Does anyone know if the smart mark feature is still active and if so, how this feature is enabled? Applications release 11.5.10

    Thank you

    Salvation;

    What is your EBS and OS_?

    Please check below note that could be nigra for your question:
    Query, where the dialog box doesn't show FRM-40367 [ID 370302.1]

    Respect of
    HELIOS

  • Cannot exp several order tables

    I use the command to clear data from several tables, but some information on the raised error and dump finished, but when I remove some of the tables below will be dump successfully, if the command is too long? If I need to export multiple tables, how can I do? Use the settings file instead?

    ================================
    EXP-00019: failure of the treatment of parameters, type 'HELP EXP = Y' help
    EXP-00000: export completed unsuccessfully
    ================================


    exp user/password@sid buffer=2000000 compress=yes recordlength=64000 tables=(Catalog_Attribute_Bool,Catalog_Attribute_Code,Catalog_Attribute_Date,Catalog_Attribute_Date_Range,Catalog_Attribute_Num,Catalog_Attribute_Num_Range,Catalog_Attribute_Group,Catalog_Attribute_Object,Catalog_Attribute_Str_EnPoint_Attribute_Bool,Point_Attribute_Code,Point_Attribute_Date,Point_Attribute_Date_Range,Point_Attribute_Num,Point_Attribute_Num_Range,Point_Attribute_Group ,Point_Attribute_Object,Point_Attribute_Str_EnBucket_Attribute_Bool,Bucket_Attribute_Code,Bucket_Attribute_Date,Bucket_Attribute_Date_Range,Bucket_Attribute_Num,Bucket_Attribute_Num_Range,Bucket_Attribute_Group,Bucket_Attribute_Object,Bucket_Attribute_Str_En) query=\"where supplier_id in (select supplier_id where trunc(L_Upd_Date) > to_date('2008-12-22','YYYY-MM-DD'))\" file=d:/cw.dmp.base.attr

    Hellio,

    Create a parameter file and lanuch export using the settings file, another question query clause attribute is applied to all tables or others. I don't think its list of your table, also try the export help without query parameter using the parfile

    parfile filename.par name of user and password exp =

    #filename.par
    buffer = 2000000
    Compress = yes
    RecordLength = 64000
    tables is Catalog_Attribute_Bool, Catalog_Attribute_Code, Catalog_Attribute_Date, Catalog_Attribute_Date_Range, Catalog_Attribute_Num, Catalog_Attribute_Num_Range.
    Catalog_Attribute_Group, Catalog_Attribute_Object, Catalog_Attribute_Str_EnPoint_Attribute_Bool, Point_Attribute_Code, Point_Attribute_Date, Point_Attribute_Date_Range,
    Point_Attribute_Num, Point_Attribute_Num_Range, Point_Attribute_Group, Point_Attribute_Object, Point_Attribute_Str_EnBucket_Attribute_Bool, Bucket_Attribute_Code,
    Bucket_Attribute_Date, Bucket_Attribute_Date_Range, Bucket_Attribute_Num, Bucket_Attribute_Num_Range, Bucket_Attribute_Group, Bucket_Attribute_Object, Bucket_Attribute_Str_En)
    query =------"where supplier_id in (select supplier_id where trunc (L_Upd_Date) > to_date('2008-12-22','YYYY-MM-DD')) \" -you do not have escape \ if you use parfile. "
    queue = CW.dmp.base.attr

    Here are some restrictions for the query parameter
    The QUERY parameter cannot be specified for the complete user or tablespace mode exports.
    The QUERY parameter must be applicable to all the specified tables.
    The QUERY parameter cannot be specified in a direct path export (DIRECT = y)
    Cannot specify the QUERY parameter for tables with nested tables inside.
    You cannot determine the contents of the export file if the data is the result of a QUERY to export.

Maybe you are looking for

  • Simultaneous connect via Dock and via Bluetooth?

    Forgive the newbie question, but I use my Iphone6 to connect to my stereo system through a dock and also want to connect via Bluetooth to a speaker in a room? This can be done? Thank you!

  • Mobiel Breedband WWAN / 3G in Portege M750

    Hello I have a UMTS start XS4ALL mobiel internet key usb. Can I use this SIM card about slot the battery of my Portege M750 (Mobiel Breedband WWAN / 3 G (HSDPA 7.2 Mbps / HSUPA 2 Mbps)) And how do I then an internet connection? With greetingsWilbert

  • Satellite A350 - how to install common Module and Hotkey Utility?

    Any of you know, I started my computer (Satellite A350) Vista and installed XP Professional. But when I want to install "Toshiba Hotkey utility" it says that I need to first install the "common Module. So I downloaded it from the Toshiba site (for wi

  • my adobe cs4 can not find the error of video playback NV_OGL modules

    I spent several hours with adobe technology, and they said nothing was wrong with his stand or first pro. I get an error NV_OGL code and it says that the software can not find reading modules. I have loaded and reloaded the latest driver and the same

  • PCI adapter.

    My office is a Pavillion M9441UK. The software is MS Home Premium Windows 7.  64 bit. Can I use a PCI 32 bit on this computer ordered by mistake. Seafarers