Problem with the query.

I created these queries, but is based on the number of files w_Candidates_Pending, w_Candidates_Pending_Revoked this status I have to set one flag either 1, 2 or 3.

1 = when 1 or more records for a candidate given pending status,.

2 = when 1 or more records for a candidate given awaiting status revoked.

3 = in another State.

Can u please help me add County in the query and count on the basis, I put 1 one flag.

WITH w_Pending AS

(SELECT resource_status_id

OF ems.resource_status

WHERE resource_status_desc = 'pending '.

),

w_Pending_Revoked AS

(SELECT resource_status_id

OF ems.resource_status

WHERE resource_status_desc = 'revoke pending. "

),

w_Candidates_Pending AS

(SELECT DISTINCT ec.ems_candidate_id,

Eres.resource_status_id,

Eres.candidate_id

Of ems_candidate ec,.

employee_resources eres

WHERE ec.ems_candidate_id = eres.candidate_id (+)

AND eres.resource_status_id = (SELECT resource_status_id FROM w_Pending)

AND eres.through_date IS NULL

),

w_Candidates_Pending_Revoked AS

(SELECT DISTINCT ec.ems_candidate_id,

Eres.resource_status_id,

Eres.candidate_id

Of ems_candidate ec,.

employee_resources eres

WHERE ec.ems_candidate_id = eres.candidate_id (+)

AND eres.resource_status_id = (SELECT resource_status_id FROM w_Pending_Revoked)

AND eres.through_date IS NULL

)

SELECT DISTINCT CND.ems_candidate_id,

CND. Name,

EEJ.ems_job_id,

(SELECT CASE WHEN COUNT (1) = 0 THEN ELSE 'ADD' END 'n')

OF wCP w_Candidates_Pending

WHERE wCP.candidate_id = cnd.ems_candidate_id) pending_flag;

(SELECT CASE WHEN COUNT (1) = 0 'N' THEN ELSE 'REVOKE' END)

OF w_Candidates_Pending_Revoked wCPR

WHERE wCPR.candidate_id = cnd.ems_candidate_id) pending_revoked_flag

OF ems.ems_candidate cnd.

EMS.employee_resources err,

EMS.ems_jobs EJE,

Rsg EMS.resources_group,

EMS. Groups grp

WHERE cnd.ems_candidate_id = err.candidate_id

AND eej.ems_job_id = cnd.ems_job_id (+)

AND err.resource_group_id = rsg.resource_group_id

AND rsg.group_id = grp.group_id

AND err.through_date IS NULL

AND IN grp.group_id

(SELECT DISTINCT grpe.group_id

Groups_employee grpe, employee emp

WHERE grpe.person_id = emp.person_id

AND grpe.person_id = i_logged_in_person_id);

Maybe

Select ems_candidate_id,

name,

ems_job_id,

cases where count_pending > 0 and count_pending_revoke is null

then 1

When count_pending_revoke > 0 and count_pending is null

then 2

When count_pending > 0 and count_pending_revoke > 0

then 3

end indicator

(Select cnd.ems_candidate_id,

CND. Name,

EEJ.ems_job_id,

RSS.resource_status_id,

RSS.resource_status_desc,

ROW_NUMBER() over (partition of cnd.ems_candidate_id

order of rss.resource_status_desc

) rn,.

sum (case rss.resource_status_desc when 'waiting' then 1 end) on

(cnd.ems_candidate_id order of value null partition

lines between unbounded preceding and following unlimited

) count_pending,.

sum (case rss.resource_status_desc when 'pending Revoke' then 1 end) on

(cnd.ems_candidate_id order of value null partition

lines between unbounded preceding and following unlimited

) count_pending_revoke,.

Count (*) over (partition by order cnd.ems_candidate_id by null

lines between unbounded preceding and following unlimited

) count_candidate_rows

of ems.ems_candidate cnd.

EMS.employee_resources err,

EMS.ems_jobs EJE,

Rsg EMS.resources_group,

GRP EMS. Groups,

EMS.resource_status rss

where cnd.ems_candidate_id = err.candidate_id

and eej.ems_job_id = cnd.ems_job_id (+)

and err.resource_group_id = rsg.resource_group_id

and rsg.group_id = grp.group_id

and err.through_date is null

and grp.group_id in (select distinct)

GRPE.group_id

of groups_employee grpe.

employee emp

where grpe.person_id = emp.person_id

and grpe.person_id = i_logged_in_person_id

)

and err.resource_status_id = rss.resource_status_id

)

where rn = 1

Concerning

Etbin

Tags: Database

Similar Questions

  • problem with the query insert masking character @.

    Hi the gems...

    I do through xml schema, run... means using a batch file, I'll call the xml files and the xml file contains the names of files containing all the DDLs and LMD...

    No problem with the DDL...

    now when I run the LMD, all are working well except a few insert scripts...

    Insert into TABLE_NAME (EVENT_ID, EVENT_DESC, EVENT_MESSAGE_TEMPLATE, EVENT_MESSAGE_SUBJECT) values (4, 'abcdefgh',)
    'Hi,
    Order details:
    @Order_ID #.
    @Instrument_ID #.
    This is an automated email. Please do not reply.',
    "executed");

    This kind of scripts insert failed with the error "[ora: sqlplus] SP2-0310: could not open the file" Order_ID #, .sql.

    This problem is due to the @ character before the data...

    problem doesn't happen when I run the script explicitly, xml perform only the origin of the problem

    So, I need to know if there is a way to hide the sign @...

    Please help... Thanks in advance

    user12780416 wrote:
    "[ora: sqlplus] SP2-0310: could not open the file" Order_ID #, .sql.

    In SQL * more the @ character means: run a script. That would explain the error message.
    The real problem is that your chain is written on several lines. A string like this might work:

    {code}
    Insert into TABLE_NAME (EVENT_ID, EVENT_DESC, EVENT_MESSAGE_TEMPLATE, EVENT_MESSAGE_SUBJECT) values (4, 'abcdefgh',)
    "Hi," | Chr (10)
    ||' Order of details :'|| Chr (10)
    |' @Order_ID #' | Chr (10)
    |' @Instrument_ID #' | Chr (10)
    ||' This is an automated email. Please do not respond. »
    "executed");
    {code}

    But it might not be a usable workaound.
    As you create the string insert sort, you might be able to replace all line breaks in the present with you own custom lines.

    Replace (yourEventMessage, Chr (10), "' |) Chr (10): "')

  • Problem with the query in the form of customization mode

    Hi all

    Can you please help me I'm getting problem while doing the customization form

    Scenario:

    Marter dot org form that I need to display the default value in the field of the unit of MEASURE value is null

    I succeed while doing all the steps below

    Condition tab:
    ----------------------
    Trigger the same: ONCE - NEW - ITEM - INSTANCE
    Trigger object: MTL_SYSTEM_ITEMS. INVENTORY_ITEM_MIR

    Action tab:
    ------------------
    Type: property
    type of object: agenda
    Trigger object: MTL_SYSTEM_ITEMS. PRIMARY_UNIT_OF_MEASURE_MIR
    Property name: VALUE
    Value: null

    but the problem is when I try to query (F11) the form, I'm not able to ask please help me with the of this

    Thank you
    EABR

    The problem is, you assign a value to an element when the form is opened, so the form will update mode, so the system not allowing you to make the request (f11). If you clear the value that has been missed, you'd be able to F11.

    So instead set the VALUE, try the INITIAL_VALUE property and let me know if this worked for you.

    Thank you
    Pradeep

  • Problem with the query and date

    I'm trying to show only the specific results in my query based on the following:

    If the 'agreedate' is greater than today's date, less than 60 days, show it. Otherwise I don't want results.

    I always get the results of the last year and I don't know why.

    Here is my code:

    <!-the value date today less than 60 days. This works and shows the correct date->

    < cfset invitelimit = #now () # >
    < cfset invitelimit = #DateFormat (DateAdd (would be ', - 60, invitelimit), 'dd-mm-yyyy') #.

    <! - query items from the db and try to catch only to those with a more agreedate then the invitelimit date - >


    < name cfquery = "qinvite" datasource = "#Application.ds #" >

    SELECT DISTINCT * from team a

    INNER JOIN followed b ON a.id = b.team_id
    INNER JOIN termsagreement c ON a.login = c.login

    WHERE c.agreedate > #invitelimit # AND b.comp_id = 0

    Group By a.teamname

    < / cfquery >

    First of all.  Confirm that the "argeedate" column is a datetime column.  Not another type of data that would be much more difficult to work with.

    Secondly, you should provide an appropriate database datetime value.  The easiest way would be with the tag.

    I.E.

    WHERE

    c.agreedate > AND

    b.comp_id =

  • Problem with the query result set * STILL a QUESTION *.

    Summary

    What I am tring to do is to return output to the data points that currently have no values.

    * Here it is sample data for reasons explaining my question (my data set is MUCH bigger)

    xTable
    YEAR    PEOPLE    ITEMS    TYPE_NUMBER TYPE_DESC    CLASS
    2010       1                 1              REG              1 
    2010        2        3         2             MISC             1
    2010        5        4         3             WEEK           1
    2010                             1             REG              2
    2010                             2             MISC             2
    2010                             3             WEEK           2
    2009       1                 1              REG              1 
    2009        2        3         2             MISC             1
    2009        5        4         3             WEEK           1
    2009                             1             REG              2
    2009                             2             MISC             2
    2009                             3             WEEK           2
    
    ... (there's over 100 other unique CLASS values)
    Desired output
    YR     PEOPLE   ITEMS   TOTAL PEOPLE  TOTAL_ITEMS
    2010         -            -            -                        -                         --  (Class 2 result set)
    
    /* FYI, If i wanted the class 1 result set it would look like this:
    YR     PEOPLE   ITEMS   TOTAL PEOPLE  TOTAL_ITEMS
    2010        8       7             16                    14                       -- (Class 1 result set)*/
    Oracle: 10.2 G
            select 2010 as yr,
                         nvl(f.people,'-') as people
                         nvl(f.items,'-') as items  
                         nvl(to_char(sum(f.people)),'-') as total_people,
                         nvl(to_char(sum(f.items)),'-') as total_items,
                         from Xtable,
                              (2010 as yr,
                              sum(items)as items
                              sum(people) as people
                              from xTable
                              where person_id = 99999
                              and   type_number in (1,2,3)
                              and year = 2010
                              and class = 2 
                              or class = 1
                              ) f
                         where person_id = 99999
                         and type_number in (1,2,3)
                         and yr = f.yr
                         and (year <= 2010 or year = 2010)
                         and (class = 2 or class = 1)
                         group by 
                         f.people,
                         f.items
    Currently, the query above will return no rows.

    Published by: user652714 on February 2, 2010 13:04

    How about this?

    SQL> WITH    xTable AS
      2  (
      3          SELECT 2010 AS YEAR, 1 AS PEOPLE, 0 AS ITEMS, 1 AS TYPE_NUMBER, 'REG' AS TYPE_DESC, 1 AS CLASS FROM DUAL UNION ALL
      4          SELECT 2010 AS YEAR, 2 AS PEOPLE, 3 AS ITEMS, 2 AS TYPE_NUMBER, 'MISC' AS TYPE_DESC, 1 AS CLASS FROM DUAL UNION ALL
      5          SELECT 2010 AS YEAR, 5 AS PEOPLE, 4 AS ITEMS, 3 AS TYPE_NUMBER, 'WEEK' AS TYPE_DESC, 1 AS CLASS FROM DUAL UNION ALL
      6          SELECT 2010 AS YEAR, NULL AS PEOPLE, NULL AS ITEMS, 1 AS TYPE_NUMBER, 'REG' AS TYPE_DESC, 2 AS CLASS FROM DUAL UNION ALL
      7          SELECT 2010 AS YEAR, NULL AS PEOPLE, NULL AS ITEMS, 2 AS TYPE_NUMBER, 'MISC' AS TYPE_DESC, 2 AS CLASS FROM DUAL UNION ALL
      8          SELECT 2010 AS YEAR, NULL AS PEOPLE, NULL AS ITEMS, 3 AS TYPE_NUMBER, 'WEEK' AS TYPE_DESC, 2 AS CLASS FROM DUAL
      9  )
     10  -- END SAMPLE DATA
     11  SELECT  YEAR
     12  ,       NVL(TO_CHAR(SUM(PEOPLE)),'-')    AS PEOPLE
     13  ,       NVL(TO_CHAR(SUM(ITEMS)),'-')     AS ITEMS
     14  ,       CLASS
     15  FROM    xTable
     16  WHERE   CLASS IN (1,2)
     17  AND     YEAR = 2010
     18  GROUP BY YEAR
     19  ,       CLASS
     20  ORDER BY CLASS DESC;
    
                    YEAR PEOPLE ITEMS CLASS
    -------------------- ------ ----- -----
                    2010 -      -         2
                    2010 8      7         1
    
  • Problem with the query operation using less

    Hi all

    I have the dataset of all organization numbers like as below

    DataSet:

    ('528801', '528802', '536101', '536102', '100601 ', '536401', ' 536402 ', ' 530701',' 536501', ' 536502 ', ' 540501',' 599101 ', ' 133301',)
    ('531101', '143101', '536601', '536602', '534401 ', '535501', ' 535401', ' 536801 ', ' 536802',' 531001 ', ' 537501',' 537502 ', ' 540601',' 540801 ', ' 528401')

    And I also have a W_INT_ORG_D table where in a column like ORG_NUM that contains the figures of the Organization in the database, now I'll try to find the numbers of the exclusive organization in the value data that does not exist in W_INT_ORG_D using an oracle sql query.

    Here is the sql code I wrote well that my request is wrong you could probably understand what I'm trying to say or do, I'm not ok with creating another table and filled in the data and compare two tables later, I want to do it without creating any additional table. Please let me know if you have an idea to do this, appreciate your time.

    Request:_
    WITH ABC AS
    ('528801', '528802', '536101', '536102', '100601 ', '536401', ' 536402 ', ' 530701',' 536501', ' 536502 ', ' 540501',' 599101 ', ' 133301',)
    ('531101', '143101', '536601', '536602', '534401 ', '535501', ' 535401', ' 536801 ', ' 536802',' 531001 ', ' 537501',' 537502 ', ' 540601',' 540801 ', ' 528401')
    SELECT DISTINCT ORG_NUM
    OF W_INT_ORG_D, ABC
    WHERE DATASOURCE_NUM_ID = ' 211 '.
    AND ORG_NUM IN
    ('528801', '528802', '536101', '536102', '100601 ', '536401', ' 536402 ', ' 530701',' 536501', ' 536502 ', ' 540501',' 599101 ', ' 133301',)
    ('531101', '143101', '536601', '536602', '534401 ', '535501', ' 535401', ' 536801 ', ' 536802',' 531001 ', ' 537501',' 537502 ', ' 540601',' 540801 ', ' 528401')
    LESS
    SELECT * FROM ABC
    Thank you
    Sam

    This wil give a list of numbers of overall organization of data that are not present in the view:

     SELECT column_value org_num
       FROM TABLE(sys.odciVarchar2List(
                                       '528801',
                                       '528802',
                                       '536101',
                                       '536102',
                                       '100601',
                                       '536401',
                                       '536402',
                                       '530701',
                                       '536501',
                                       '536502',
                                       '540501',
                                       '599101',
                                       '133301',
                                       '531101',
                                       '143101',
                                       '536601',
                                       '536602',
                                       '534401',
                                       '535501',
                                       '535401',
                                       '536801',
                                       '536802',
                                       '531001',
                                       '537501',
                                       '537502',
                                       '540601',
                                       '540801',
                                       '528401'
                                      )
                 )
    MINUS
     SELECT  DISTINCT ORG_NUM
       FROM  W_INT_ORG_D
       WHERE DATASOURCE_NUM_ID='211'
    /
    

    SY.

    Published by: Solomon Yakobson, June 29, 2009 10:49

  • Problem creating a hierarchical tree in the generator of forms [problem with the query]

    Hi all

    I have 2 tables.

    box (box_id, box_name)

    point (item_id, nom_element, box_id)

    There are several items in a box.

    I want to create a HIERARCHICAL tree to display items that are present in each box.

    AS:

    | - BOX1
    | |-ITEM 1
    | | - ITEM 2
    |
    | - BOX2
    | |-ITEM 1
    | | - ITEM 2

    I'm trying this query:

    SELECT-1 State, box_name, box_id, "icon" val
    in zone b, point i;

    I don't know what the value for upgrade, I don't know how the code part "connect by front.

    Could you please tell me?

    Michael.

    PS. then I'll eventually use this query in the form designer.

    Hi MichaelR

    I'm getting the FRM - 47321 error in forms Builder...

    That's why In order to fill a tree, the select must recover 5 columns:
    STATUS, LEVEL, LABEL, ICON, u-VALUE should be noted this command in your application, this will resolve the error and pls notice that the...

    My advice is to use the online help in your form generator to help u in this...

    Initial state : number
    Node tree depth : number
    Label for the node : varchar2
    Icon for the node : varchar2
    Data : varchar2
    

    This must be a TIME NEW FORM INSTANCE trigger to fill your tree...

    Another thing why do you think of building your tree I've done here in the following example... Pls take a look here....

    I hope this helps...

    Kind regards

    Amatu Allah.

  • Problem with the query parameter

    Hi,
    I have data some thing like 
    
    SQL> select * from temp_tabr;
    
    INSTITUTE  STUDNAME   GR     MARKS
    ---------- ---------- -- ---------
    xxxx       abc        A        500
    xxxx       pqq        A        550
    xxxx       zzz        B        300
    xxxx       sss        B        400
    yxxx       abc        A        500
    yxxx       pqq        A        550
    yxxx       zzz        B        300
    yxxx       sss        B        400
    
    
    
    I want a query to retrive the data based on 3 parameters
    Institue is mandatory
    GR and MARKS are optional
    
    user may pass any one of the Optional parameters GR or MARKS not both
    
    example he may pass Intitute and get all 8 records
    if he pass Institue and grade it should retrive only those matching
    if he pass institute and marks it should retrive only those matching
    
    only grade or marks will be passed or neighter of them will be passed.
    
    
                                 
    
    
    
    create table temp_tabr(institute varchar2(10),
                      studname  varchar2(10),
                      grade     varchar2(2),
                      marks      number);
    
    insert into temp_tabr values
    ('xxxx',             'abc',           'A',       '500');
    insert into temp_tabr values('xxxx',             'pqq',           'A',       550);
    
    insert into temp_tabr values('xxxx'  ,          'zzz' ,          'B'  ,     300);
    insert into temp_tabr values('xxxx'  ,          'sss' ,          'B'  ,    400);
    
    
    insert into temp_tabr values
    ('yxxx',             'abc',           'A',       '500');
    insert into temp_tabr values('yxxx',             'pqq',           'A',       550);
    
    insert into temp_tabr values('yxxx'  ,          'zzz' ,          'B'  ,     300);
    insert into temp_tabr values('yxxx'  ,          'sss' ,          'B'  ,    400);

    Like this?

    select * from temp_tabr
    where
    institute='&a'
    and grade = nvl('&b',grade)
    and marks = nvl(to_number('&c'),marks)
    

    If you pass parameters using the variable, you do not have to use to_number, you can directly pass the name of the variable. I have provided for you to test it in sql * more.

    HTH,
    Prazy

  • Problem with the simple query.

    Hi all

    I am facing problem with the query below

    Select A.COL1, A.COL2

    B.COL1, B.COL2

    FROM TABLE1 A

    TABLE 1 B

    WHERE A.header = '123'

    AND B.header = '123'

    AND nvl (A.COL6, 'ABC') = 'ABC '.

    AND NVL (B.COL6, 'DEF') = 'DEF '.

    Basically, my requiremenyt is: I have only one table, TABLE1 here, which has a line two lines (for the same header) as "ABC" and another is "DEF". Table 1 has two columns (col1, col2) that should be displayed for both lines.

    When the header has two records in table1 top query works. and but if I do not have a record for any header example there are a record for "abc" in col6 only. so my query above does not work because there is no record for 'DEF' in col6. But I want to again request to fecth the output (for b.col1 and b.col2 should have null values)

    could you pls suggest me how to get the 4 columns.

    Thanks in advance

    Kind regards

    UVA.

    Try to place the status of outer join on column: analytical_criterion_code as

    and nvl (AUDIT.analytical_criterion_code, 'AUDIT2') = 'verification2. '

    .

    .

    and nvl (TRANS.analytical_criterion_code, 'TRANS2') = 'TRANS2.

    In the sub query based on the opinions that you have given in post # 1, although there is no value "DEF * ' for col6 due to the condition of outer join on b.col6 (+) line is extracted with b.col [1,2,3] as NULL values. Try to remove the (+) sign b.col6 and test.

    with t as)

    Select 111 col1, col2 'aaa', 'ABC' col6 123 header of all the double union

    Select 222 'bbb', 'DEF' col6, 123 double header

    )

    q as (select 123 double header)

    Select A.COL1, A.COL2, A.COL6

    B.COL1, B.COL2, b.COL6

    q.header

    T a

    t b

    q

    where a.col6 (+) = 'ABC '.

    and b.col6 (+) = "DEF."

    and q.header = a.header (+)

    and q.header = b.header (+)

  • Problem with the input query mode. FRM 41009, 40301

    Hi all

    I have a problem with the mode of input query. What can I say, I'm in the mode of input query, and I click on a button. I get the error THAT FRM-41009 displayed.

    Now, I've wanted handled. So I created a trigger of error in order to handle the error.

    IF ERR_CODE = 41009 THEN
    NULL;
    END IF;

    A problem is that when you use the null value, it will not terminate the mode of input query, and then I get frm-40301 error.

    Second, it's that I can't use exit_form in a trigger of the error.

    I am aware that I can press F4 to exit this mode, but I don't want to do whenever I'm sure I'll get the user complaints.

    Another solution would be to put the following code in the trigger when key pressed for each button in the form:

    If: system.mode = "ENTER-QUERY" then
    exit_form;
    end if;

    But I don't want to reproduce this code in my form.

    Please can you give me an idea how to handle this correctly?

    Thank you
    Michael

    PS: Version of the form = > ORACLE FORMS 10g (Forms [32 bit] Version 10.1.2.3.0)

    I have a problem with the mode of input query. What can I say, I'm in the mode of input query, and I click on a button. I get the error THAT FRM-41009 displayed.

    What is the code in the trigger of your button When-Button-Pressed (WBP)? Maybe you should check to see if the form is in the Mode query in your WBP rather than try and remove the error? In other words, eliminate error - do not delete it. :)

    If you want instead to remove the error, there is a technique to built-ins call restricted to a trigger that does not allow them. Do this by the use of a millisecond zero Timer. For example:

    /* Sample On-Error Trigger */
    DECLARE
      n_err_cd   NUMBER := ERROR_CODE;
      t_on_error TIMER;
      ZERO  NUMBER := 0;
    BEGIN
      IF ( n_err_cd = 41009 ) THEN
        /* Create Timer to execute Exit_Form() */
        /* to Cancel Query-Mode. */
        t_timer := Create_Timer('ON_ERROR', ZERO, NO_REPEAT);
      ELSE
        /* Handle all other errors here... */
      END IF;
    END;
    
    /* Sample When-Timer-Expired Trigger */
    DECLARE
      v_Timer  VARCHAR2(30);
    BEGIN
      v_timer := Get_Application_Property(TIMER_NAME);
    
      IF ( v_timer = 'ON_ERROR' ) THEN
        /* Notice, the timer name is case sensative! */
        Exit_Form;
      END IF;
    END; 
    

    I am aware that I can press F4 to exit this mode, but I don't want to do whenever I'm sure I'll get the user complaints.

    Well, it's just standard features of Oracle Forms. If you switch the Mode request form - you must run a query or cancel the query Mode! This is how it works. Your users need to understand that and accept it - just as they accept the functional also for other programs. ;) Another option would be to add a "Cancel request" button to your form and make it so it is enabled only when the form is placed in Query Mode. Just a thought...

    I personally prefer to prevent the occurrence of an error rather than remove the error. :)
    I hope this helps.
    Craig...

  • Problem with the help of oraext: query-database in the transformation (XSLT 2.0)

    Hello!
    I m facing a problem with the help of oraext: query-database.

    In my transformation im try the following (Simplified):
    <xsl:template match="*">
      <xsl:variable sqlQuery="select ....."/>
      <xsl:variable name="storeSec" select="oraext:query-database($sqlQuery,true(),true(),'jdbc/xref')/>               
        <xsl:choose>
         <xsl:when test="string-length($storeSec/ROWSET/ROW[1]/STORE_PART_SECTION) > 0">
              <xsl:value-of select="$storeSec/ROWSET/ROW[1]/STORE_PART_SECTION"/>
         </xsl:when>
           <xsl:otherwise>
                <xsl:value-of select"some other val"/>
           </xsl:otherwise>
        </xsl:choose>
    </xsl:template>
    {code}
    
    This always results in +some+ +other+ +val+ !!
    I´v checked the output from oraext:query-database by using getcontentAsString and if I instead test putting the expected output from oraext:queryDatabase in my variable it gives me A100 which is what i expected.
    
    {code}
    <xsl:template match="*">
      <xsl:variable sqlQuery=select ....."/>
      <xsl:variable name="storeSec">
        <ROWSET>
         <ROW num="1">
           <STORE_PART_SECTION>A100</STORE_PART_SECTION>
         </ROW>
         <ROW num="2">
           <STORE_PART_SECTION>XXm</STORE_PART_SECTION>
         </ROW>
        </ROWSET>
      </xsl:variable>               
        <xsl:choose>
         <xsl:when test="string-length($storeSec/ROWSET/ROW[1]/STORE_PART_SECTION) > 0">
              <xsl:value-of select="$storeSec/ROWSET/ROW[1]/STORE_PART_SECTION"/>
         </xsl:when>
           <xsl:otherwise>
                <xsl:value-of select"some other val"/>
           </xsl:otherwise>
        </xsl:choose>
    </xsl:template>
    How to get the correct value when you use oraext:query - database?

    How should you exit? Several item ID with each having a value of the result set?
    If Yes, then you can try following:

     
                        
                            
                        
                             
                                  
                             
                        
                            
    
  • Lost my copy and I tried to download the iso from the Microsoft web site, but my product key will not validate, pass this message: we had a problem with the validation query

    Original title: error Windows 7 installation files

    I bought a copy of Windows 7 at Tiger Direct on 22/05/2014.  I lost my copy and I tried to download the iso from the Microsoft web site, but my product key is not valid.  I get this error message

    We had a problem with the request for approval.

    FAQ

    See for other directions:

    http://answers.Microsoft.com/en-us/Windows/wiki/Windows_7-update/how-to-what-are-my-options-for-obtaining-Windows-7/528163c1-0b2e-4AD2-a26d-7112851d1dc2

  • What is the problem with this query in the source

    A blank page is region 2. Region1: enter rec_no (-rec_no is varchar2) region2:hide and show that displays one record based on rec_ no region1 entered.
    The problem is that I get the following error

    ORA-06550: line 1, column 7: PLS-00428: an INTO clause in this SELECT statement

    Here's my simple query in a process of pl/sql
    Start
    Select rec_no, rec_name from mytable where rec_no = upper(:P16_rec_no);
    end;

    Why? The same query works under the sql command.

    what I'm trying to accompolish here, it is because he has given huge if I want to display hide also multiples, regions and allow users to update each region as a result. Help, please. It kills me that I just can't understand what is causing the problem to the query. Thank you.

    Hello

    The list is set to the field EMPLOYEE_ID itself? What is the primary key of the table? In my example, DEPTNO is the primary key and I used the element generated by the wizard page to display the list. The parameters of the Source of the item itself or the column DEPTNO and database so that the process "process line...". "to identify the updated row.

    Andy

  • Problem with the D-U-N-S: Urgent

    I am trying to register my organization on an Apple Developer program.

    I got a valid D-U-N-S number sent to me by D & B on 2 February 2016.

    However until now whenever I try to register my business using the D-U-N-S number, I get the following error message:

    «The information you entered does not match your profile in the D & B database.» "Before submitting your information to the Organization, get your D & B profile."

    I watched and the profile exists.

    I sent a query to D & B, but we were told to contact Apple directly.

    We have created a deal on the Apple Support and we ardently and desperately waiting for a response.

    Someone from the community can help me on this issue. Please consider as urgent.

    Hello Nabla_business,

    Desperate? You should be aware that Apple is moving at glacial speed on these issues. On the one hand your number DUNS has been created. You must wait 60 days before attempting to create an account. However, it seems that your information has been through to Apple. You will have to wait for the Apple support to constct you. You may need to make repeated through several channels attempts to attract the attention of Apple.

    I had a similar experience. The problem was that when Apple imported data from Dun & Bradstreet, they completely scrambled my address. But I had no problems creating my account so your questions can be worse.

    And I would warn your words "emergency". Apple has a huge backlog of similar problems. In my case, the only way was able to get my problem resolved was when a Technical Support engineer used Apple Remote to go into my machine and then look at the developers own Apple Site. But I had this problem to be solved. I had many other problems with the tax forms.

    My point is that it can take up to a year, in order to get your developer account fully Setup. I suggest you open an account, personal development and test purposes. Be sure to use IDS bundle dedicated to this purpose. This way, when your business is finally set up, then you will be ready to go and become familiar with the process.

  • I have a problem with the HP Deskjet2545 do not print on the computer.

    Printer does not print. Computer says "printer error". Convenience store said that the problem is resolved. The printer is 'ready' doesnot even impression. What is the solution?

    Original title: hpDeskjet2545.

    Hi Matt,

    Thanks for posting your query in the Microsoft Community.

    Printers to print documents, photos, cards and calendars. You have a problem with the printer doesn't work is not on the computer. It can be difficult when something that is important to you does not work as expected. It's pretty simple and we're here to help you solve the problem. We work as a team and get this sorted out.

    Please answer these questions-

    (1) what is the exact error message?

    (2) have you tried the troubleshooting steps?

    (3) what is the version of Windows installed on the computer?

    (4) have you made changes on the computer before the show?

    I would like more information about the issue.

    Note: assuming that you are running Windows 7, I would like to suggest some troubleshooting steps.

    Method 1-

    I would have you look at the article-

    Why can I not print?

    http://Windows.Microsoft.com/en-us/Windows7/why-cant-I-print

    Solve printer problems

    http://Windows.Microsoft.com/en-us/Windows/printer-problems-in-Windows-help#fix-printer-problems=Windows-7&V1H=win8tab1&V2H=win7tab1&V3H=winvistatab1&v4h=winxptab1

    Method 2-

    I wish that you uninstall and reinstall the printer.

    See the article-

    Install a printer

    http://Windows.Microsoft.com/en-us/Windows7/install-a-printer

    Method 3-

    I would have you go through the troubleshooting proposed by HP guide.

    Check out the link-

    http://h10025.www1.HP.com/ewfrf/wc/documentSubCategory?tmp_task=solveCategory&LC=en&DLC=en&cc=us&product=3571292

    Let us know if you need assistance regarding the issue. We will be happy to help you. We at Microsoft, strive for excellence and provide our customers with the best support.

    Thank you.

Maybe you are looking for

  • I need new display drivers for Satellite A200 - 14 d

    I need new display drivers for my A200 - 14 d, the version provided on the downloads page is quite old, not to support some new games! :(I would use the drivers supplied by Toshiba, but if it will not be a newer version, I install one of laptopvideo2

  • Problems with creating an exe file

    Hello I'm trying to convert a vi to an executable. When I run the constructor it comes up with an error: Visit ni.com/ask support request page to learn more about the resolution of this problem. Use the following as a reference: Error 8 has occurred

  • Error of the controller of the cycle of life by trying to update firmware

    To all, I try to update the firmware in a T430. I start in life during post cycle controller and several improvements are needed. When I click on apply tries to retrieve the update but then fails with the following error: Impossible to install update

  • "Or subsystem app" stops working when printing on another PC wired printer.

    I have a 32 bit Vista PC. My mother has a Windows 2000 with a connected printer Samsung ML-2510 wired. I was able to install this printer on my PC on the network (it is NEVER connected to the vista PC) and it returns the error "or subsystem applicati

  • Why can't I play the games?

    For a week, whenever I try to play Microsoft games it gives me a code error network 0 x 80041004. Can you please tell me what this means and how to make it go away so that I can play the games. Thanks in advance