Why is-isn't this query with XMLTABLE and XMLTYPE post? (xmlns)

OK, Miss me something here - because this query returns two rows:

Select seq_num, prdt_num
of the double.
XMLTable ('/ food/product ' passage)
XmlType ("< name of food =" Test Feed"> ' |)
' < product id = "3000001" > < > 101 ExternalId < / ExternalId > < / product > ' |
' < product id = "3000002" > < > 102 ExternalId < / ExternalId > < / product > ' |
("< / power >")
columns
seq_num for the ordinalite,
prdt_num number of path "ExternalId")
;

and it does NOT work:

Select seq_num, prdt_num
of the double.
XMLTable ('/ food/product ' passage)
XmlType ("< name of food ="Test Feed"xmlns ="http://www.bazaarvoice.com/xs/PRR/SyndicationFeed/4.1"> ' |)
' < product id = "3000001" > < > 101 ExternalId < / ExternalId > < / product > ' |
' < product id = "3000002" > < > 102 ExternalId < / ExternalId > < / product > ' |
("< / power >")
columns
seq_num for the ordinalite,
prdt_num number of path "ExternalId")
;

The namespace document seems to be valid... I'm missing something obvious, I believe. But it's late, and it's Friday.

Published by: rjbryla on June 4, 2010 15:35

Namespaces

When everything looks good, check your namespaces and prefixes. That you will get every day of the week.

Derived from the post "How I declare mapping prefix to namespace with XMLTable()?" in the FAQ on this forum, your second XML would look like

select seq_num, prdt_num
from dual,
     xmltable(xmlnamespaces(default 'http://www.bazaarvoice.com/xs/PRR/SyndicationFeed/4.1'),
              '/Feed/Product' passing
              xmltype('' ||
'101' ||
'102' ||
'')
              columns
              seq_num for ordinality,
              prdt_num number path 'ExternalId');

Tags: Database

Similar Questions

  • Why pes 2012 does not work with me and my video card is 1699 MB Intel HD Graphics(core i3)?

    Why pes 2012 does not work with me and my video card is 1699 MB Intel HD Graphics(core i3)?

    Hello

    You receive an error message?

    Method 1:

    You can update the drivers of graphics cards and check.
    Updated a hardware driver that is not working properly
    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly


    Method 2:

    You can also perform a clean boot and check if it works:
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: after a repair, be sure to set the computer to start as usual as mentioned in step 7 in the Knowledge Base article

    You can also check out the link:
    The problems of the game performance
    http://Windows.Microsoft.com/en-us/Windows7/fixing-game-performance-problems
    Diagnose problems running DirectX
    http://Windows.Microsoft.com/en-us/Windows7/diagnosing-basic-problems-with-DirectX

  • More than 1 SQL query with checkbox and error invalid number report

    Hi all

    I have two SQL query reports that each has an apex_item.checkbox and two processes for each report.  A report/process works very well.  It gives me an error of invalid number.

    In addition, another query SQL (editable report) gives me the following error when using the Multi line process, delete.

    ORA-06502: PL/SQL: digital or value error: character number conversion
    error ORA-06502: PL/SQL: digital or value error: character number conversion
    error
    Ok

    When I got a report from SQL query (with box and a process) and the query SQL (editable report) everything worked.  It stopped working when I added another SQL query report (with box and a process).

    A SQL query has the following in my query: apex_item.checkbox(3,email_id,'UNCHECKED') ""

    The other SQL query has the following: apex_item.checkbox(2,b.file_id,'UNCHECKED') ""

    Any help will be greatly appreciated,

    Sylvia

    Hi Reema,

    I've recreated the region and now it works!

    Thank you for this, looking at

    Sylvia

  • SQL query with terms and calculations?

    Hello
    How do I create a query with terms and calculations?
    For example, I have this table


    Start | End |     At work |     Mandatory
    ------------------------------------------------------------------------------------
    1ST JANUARY 13 | JANUARY 11, 13.     Office |          1
    JANUARY 14, 13. 25 JANUARY 13 |     Ministry of the Interior.     0
    04-MRZ-13 | 15-MRZ-13 |     Office |          0
    FEBRUARY 11, 13. FEBRUARY 22, 13.     Office |          1


    Now, if the workplace of the column = office and required column = 0
    the new 'price' column should calculate: (end-start) * $25.00
    and if workplace = Office and required column = 1
    the 'price' column must calculate: (end-start) * $20.60
    any other $0.00

    I tried with the case statement, but I didn't know how
    to calculate my values and display in the virtual column 'price '.

    Something like
    case
    When Working_Place = 'Office' and mandatory = 1
    then...
    else ' 0.00'. "
    end PRICE
    ?????


    Or is that not possible?

    Published by: DB2000 on 12.03.2013 05:09

    Use CASE:

    select  start_dt,
            end_dt,
            working_place,
            mandatory,
            case
              when working_place = 'Office' and mandatory = 0 then (end_dt - start_dt) * 25
              when working_place = 'Office' and mandatory = 1 then (end_dt - start_dt) * 20.60
              else 0
            end price
      from  tbl
    /
    
    START_DT  END_DT    WORKING_PLA  MANDATORY      PRICE
    --------- --------- ----------- ---------- ----------
    01-JAN-13 11-JAN-13 Office               1        206
    14-JAN-13 25-JAN-13 Home Office          0          0
    04-MAR-13 15-MAR-13 Office               0        275
    11-FEB-13 22-FEB-13 Office               1      226.6
    
    SQL> 
    

    SY.

  • Problem with XMLTABLE and LEFT OUTER JOIN

    Hi all.

    I have a problem with XMLTABLE and LEFT OUTER JOIN, in 11g it returns the correct result, but in 10g it doesn't, it is illustrated as a INNER JOIN.
    SELECT * FROM v$version;
    
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    "CORE     11.2.0.1.0     Production"
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    
    --test for 11g
    
    CREATE TABLE XML_TEST(
         ID NUMBER(2,0),
         XML XMLTYPE
    );
    
    INSERT INTO XML_TEST
    VALUES
    (
         1,
         XMLTYPE
         ('
              <msg>
                   <data>
                        <fields>
                             <id>g1</id>
                             <dat>data1</dat>
                        </fields>
                   </data>
              </msg>
         ')
    );
    
    INSERT INTO XML_TEST
    VALUES
    (
         2,
         XMLTYPE
         ('
              <msg>
                   <data>
                        <fields>
                             <id>g2</id>
                             <dat>data2</dat>
                        </fields>
                   </data>
              </msg>
         ')
    );
    
    INSERT INTO XML_TEST
    VALUES
    (
         3,
         XMLTYPE
         ('
              <msg>
                   <data>
                        <fields>
                             <id>g3</id>
                             <dat>data3</dat>
                        </fields>
                        <fields>
                             <id>g4</id>
                             <dat>data4</dat>
                        </fields>
                        <fields>
                             <dat>data5</dat>
                        </fields>
                   </data>
              </msg>
         ')
    );
    
    SELECT
         t.id,
         x.dat,
         y.seqno,
         y.id_real
    FROM
         xml_test t,
         XMLTABLE
         (
              '/msg/data/fields'
              passing t.xml
              columns
                   dat VARCHAR2(10) path 'dat',
                   id XMLTYPE path 'id'
         )x LEFT OUTER JOIN
         XMLTABLE
         (
              'id'
              passing x.id
              columns
                   seqno FOR ORDINALITY,
                   id_real VARCHAR2(30) PATH '.'
         )y ON 1=1
    ;
    
    ID     DAT     SEQNO     ID_REAL
    --     -----     -----     -------
    1     data1     1     g1
    2     data2     1     g2
    3     data3     1     g3
    3     data4     1     g4
    3     data5          
    This is all nice, now the problem:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
    PL/SQL Release 10.2.0.1.0 - Production
    "CORE     10.2.0.1.0     Production"
    TNS for HPUX: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    
    --exactly the same environment as 11g (tables and rows)
    SELECT
         t.id,
         x.dat,
         y.seqno,
         y.id_real
    FROM
         xml_test t,
         XMLTABLE
         (
              '/msg/data/fields'
              passing t.xml
              columns
                   dat VARCHAR2(10) path 'dat',
                   id XMLTYPE path 'id'
         )x LEFT OUTER JOIN
         XMLTABLE
         (
              'id'
              passing x.id
              columns
                   seqno FOR ORDINALITY,
                   id_real VARCHAR2(30) PATH '.'
         )y ON 1=1
    ;
    
    ID     DAT     SEQNO     ID_REAL
    --     -----     -----     -------
    1     data1     1     g1
    2     data2     1     g2
    3     data3     1     g3
    3     data4     1     g4
    As you can see in 10g that I don't have the last row, it seems that Oracle 10 g does not recognize the LEFT OUTER JOIN.

    Is this a bug?, Metalink says that sometimes we can have an ORA-0600, but in this case there is no error results returned, just incorrect.

    Help, please.

    Kind regards.

    What about try the original Oracle method for outer joins? Using (+) without the extra space

    XMLTABLE(...COLUMNS ... id XMLTYPE PATH ... ) x,
    XMLTABLE(... PASSING x.id ...) (+) y
    
  • appropriate index for a query with 3 ands

    Hello

    I have the following table:

    PAGES
    ----------
    BOOK_ID DIMENSION BEGIN_POS END_POS PAGE_TEXT

    where book_id is 64-bit, size is 32 - bit, begin_pos is 32 - bit, end_pos is 32 - bits and page_text is a blob (UTF-8)

    My query is:

    Select * from PAGES
    where BOOK_ID = 1234 and DIMENSION = - 2 and BEGIN_POS < = 10000 and 10000 < END_POS

    Who will not fail to return 1 result.

    My question is what kind of clues or index (multi-column?) do need me to this query with WHERE clause uses 4 columns?

    Thank you
    Andy

    user9990110 wrote:
    My only guess is to create an index (book_id, dimension, begin_pos) and another (book_id, dimension, end_pos), but this seems a little strange.

    In your case, I would prefer an ITO - your BLOB is stored in the segment of overflow (outside of and apart from the index structure in itself ). With an IOT, each query will effectively use the index, and I wish to create two indexes on a table of 5 columns (relatively large overhead). Although compare of course.

  • ORA-00600: internal error code, arguments: [qmcxeExUseLoc93] with xmltable and big bows in the CLOB column

    Hi all

    Running the following:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production

    PL/SQL Release 11.2.0.2.0 - Production

    "CORE 11.2.0.2.0 Production."

    AMT for IBM/AIX RISC System/6000: Version 11.2.0.2.0 - Production

    NLSRTL Version 11.2.0.2.0 - Production

    Create a view of a relational table and XMLTABLE and extract nodes from voluminous of the xmltable, mapped text using COLUMNS. I concatenate the text nodes in an xml element in the XQuery xmltable, simple sequencing:

    <CONTENT>
    {$i/summary/text(),$i/know/text(),$i/considerations/text(),$i/look_for/text(),
    $i/nc//text(),$i/level1//text(),$i/level2//text(),$i/ipocc//text()}
    </CONTENT>
    

    SQLDeveloper query execution and right on when I scroll the 50th outcome accordingly set or... DB connection is closed and stack following error appears:

    [ORA-00600: internal error code, arguments: [qmcxeExUseLoc93], [], [], [], [], [], [], [], [], [], []]

    00600 00000 - "internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s] '.

    * Cause: It's the generic internal error for Oracle program number

    exceptions.    This indicates that a process has encountered a

    Exceptional condition.

    * Action: Report as a bug - the first argument is the internal error number

    I went site Oracle Support to use the 'search' for these types of errors, but he found nothing to the argument: "qmcxeExUseLoc93"... any ideas short of opening an SR with Oracle support? S/n reports that no problems with memory or tablespace... trace files report a stack trace is complete:

    [ORA-00600: internal error code, arguments: [qmcxeExUseLoc93], [], [], [], [], [], [], [], [], [], []]

    = Dump for incident 32114 (ORA 600 [qmcxeExUseLoc93]) =.

    2014-04-08 07:31:51.369

    dbkedDefDump(): from the default crash dumps (flags = 0x2, level = 3, mask = 0 x 0)

    -Run SQL statement for the current session (sql_id = 0qn4zxr0stgjh).

    SELECT ID, CONTENT of ort_active_content_en_vw

    -Call trace stack memory-

    call call entered the argument values in hex

    location point type (? means dubious value)

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

    skdstdst () + 40 bl 107ca 9980 FFFFFFFFFFD99A8? 000002004?

    000000001? 000000003?

    000000000? 000000002?

    000000001? 000000000?

    ksedst1 () + 104 call skdstdst() FFFFFFFFFFD89B0? 000002004?

    110641000? 1098C 1164?

    110641000? 000000000?

    FFFFFFFFFFD8AE0? 700000007?

    ksedst () + 40 call ksedst1() 3030000000000? 002050033?

    1098C 1158? 700000000025C?

    000000000? 000000000?

    1098C07B8? 000000000?

    dbkedDefDump (+ 2828) call ksedst() FFFFFFFFFFD8B90? 000000000?

    000000000? 000000000?

    000000000? 000000000?

    000000000? 300000003?

    …….

    -Binary stack dump-

    = FRAME [1] (skdstdst () + 40 - > 107ca 9980) =.

    defined by pointers frame 0xffffffffffd88b0 and 0xffffffffffd8840

    CALL TYPE: bl ERROR REPORTED: no COMPONENT: (null)

    0xffffffffffd8840 to 0xffffffffffd88b0 memory dump

    FFFFFFFFFFD8840 0FFFFFFF FFFD88B0 42422220 098C 1158 [...] BB '... X]

    08EBE70C FFFFFFFFFFD8850 00000001 00000001 10641000 [... d..]

    FFFFFFFFFFD8860 00000000 00000000 0FFFFFFF FFFD89E8 [...]

    FFFFFFFFFFD8870 0FFFFFFF FFFD99A8 00000000 00002004 [...].

    FFFFFFFFFFD8880 00000003 00000000 00000000 00000001 [...]

    FFFFFFFFFFD8890 00000000 00000000 00000000 00000002 [...]

    FFFFFFFFFFD88A0 00000000 00000001 00000000 00000000 [...]

    = SETTING [2] (ksedst1 () + 104-> skdstdst()) =.

    defined by pointers frame 0xffffffffffd89b0 and 0xffffffffffd88b0

    TYPE of CALL: call ERROR REPORTED: no COMPONENT: KSE

    0xffffffffffd88b0 to 0xffffffffffd89b0 memory dump

    FFFFFFFFFFD88B0 0FFFFFFF FFFD89B0 42422220 10317 68 A... 1zh BB"]

    FFFFFFFFFFD88C0 1033F758 00000001 00000001 0014963C [... <...] 3.X]

    FFFFFFFFFFD88D0 09ED0CA9 1873F04F 28422848 73743231... Sagna (B (Hst21]

    FFFFFFFFFFD88E0 0FFFFFFF FFFD89B0 00000000 00002004 [...].

    FFFFFFFFFFD88F0 00000001 00000001 10641000 098C 1164 [... d...d]

    FFFFFFFFFFD8900 00000001 10641000 00000000 00000000 [... d...]

    ……

    -Status of the Dump process (2).

    ===================================================

    STATE OF THE PROCESS

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

    Global information process:

    process: 0x700000012b18de8, call: 0x70000000b880ee0, xact: 0x0, curses: 0x700000012bf11f0, usrses: 0x700000012bf11f0

    in_exception_handler: no

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

    SO: 0x700000012b18de8, type: 2, owner: 0x0, flag: INIT /-/-/ 0x00 if: 0 x 3 c: 0 x 3

    proc = 0x700000012b18de8, name = process, queue = ksu.h LINE: 12451 ID:, pg = 0

    (process) Oracle pid:42, ser:153, called heart/high: 0x70000000b880ee0/0x70000000b880ee0

    flags: (0x0).

    Flags2: (0 x 800), flags3: (0x0)

    Intr error: call error 0,: 0, sess error: error of txn, 0, 0

    queue intr: vacuum

    ksudlp FALSE to the location: 0

    (post info) last message received: 0 0 0

    Last message received-card: no post

    last process affect me: no

    Last message sent: 0 0 26

    Last message sent-map: ksa2.h LINE: 282 ID:ksasnd

    last process posted by me: 6 1 700000012af9058

    (info from latch) wait_event = 0 bits = 0

    Process group: by DEFAULT, proc pseudo: 0x700000012b4db88

    Info of the o/s: user: tst214, duration: UNKNOWN, ospid: 4370650

    OSD pid Info: Unix process pid: 4370650, image: oracle@mldb2385

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

    SO: 0x700000010430ba0, type: 10, owner: 0x700000012b18de8, flag: INIT /-/-/ 0x00 if: c: 0x1 0x1

    proc = 0x700000012b18de8, name = FileOpenBlock, leader is ksfd.h LINE: 6337 ID:, pg = 0

    (FOB) flags = 2050 fib = 700000010de3758 incno = 0 waiting for IO cnt = 0

    fname=/tst214_01/oradata/TST214/temp01.dbf

    FNO = 201 lblksz = 8192 fsiz = 36608

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

    SO: 0 x 700000010430578, type: 10, owner: 0x700000012b18de8, flag: INIT /-/-/ 0x00 if: c: 0x1 0x1

    proc = 0x700000012b18de8, name = FileOpenBlock, leader is ksfd.h LINE: 6337 ID:, pg = 0

    (FOB) flags = 2050 fib = 700000010de2b40 incno = 0 waiting for IO cnt = 0

    fname=/tst214_03/oradata/TST214/ort_data01.dbf

    FNO = 6 lblksz = 8192 fsiz = 25600

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

    SO: 0x70000001042ff38, type: 10, owner: 0x700000012b18de8, flag: INIT /-/-/ 0x00 if: c: 0x1 0x1

    proc = 0x700000012b18de8, name = FileOpenBlock, leader is ksfd.h LINE: 6337 ID:, pg = 0

    (FOB) flags = 2050 fib = 700000010de1310 incno = 0 waiting for IO cnt = 0

    fname=/tst214_01/oradata/TST214/sysaux01.dbf

    FNO = 2 lblksz = 8192 fsiz = 89600

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

    SO: 0x70000001042f910, type: 10, owner: 0x700000012b18de8, flag: INIT /-/-/ 0x00 if: c: 0x1 0x1

    proc = 0x700000012b18de8, name = FileOpenBlock, leader is ksfd.h LINE: 6337 ID:, pg = 0

    (FOB) flags = 2050 fib = 700000010de0d10 incno = 0 waiting for IO cnt = 0

    fname=/tst214_01/oradata/TST214/System01.dbf

    FNO = 1 lblksz = 8192 fsiz = 96000

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

    SO: 0x700000012bf11f0, type: 4, owner: 0x700000012b18de8, flag: INIT /-/-/ 0x00 if: 0 x 3 c: 0 x 3

    proc = 0x700000012b18de8, name = session, lead = ksu.h LINE: 12459 ID:, pg = 0

    (session) sid: 41 ser: 1263 trans: 0x0, creator: 0x700000012b18de8

    indicators: (0 x 8000045) USR /-flags_idl: (0 x 1) BSY /-/ - /-/ - / -.

    Flags2: (0 x 40008) - / -.

    DID:, DID in the short term:

    TXN branch: 0x0

    Oct: 3, prv: 0, sql: 0x70000000c59dbd0, psql: 0x70000000b196c38, user: 73/ORT_READ

    ksuxds FALSE to the location: 0

    name of the service: the USERS of SYS$

    Customer details:

    Info of the o/s: user: norman.jonker, duration: unknown, ospid: 6224

    machine: G4021165 program: SQL Developer

    application name: SQL Developer, hash value = 1012150930

    Battery active waiting:

    No waiting; last waiting ended 2,617517 sec ago

    Wait state:

    fixed_waits = 0 flags = 0 x 21 limit = 0 x 0 /-1

    History of waiting for session:

    elapsed time of 2,617552 sec from last wait

    0: waiting for 'direct path read '.

    number = 0 x 6, first s/n = 0 x 2901, block cnt = 0 x 2

    wait_id = 2222 seq_num = 2223 snap_id = 1

    wait time: snap = 0,000035 s, exc = 0,000035 s, total s = 0,000035

    wait time: max = infinite

    wait charges: calls = 0 os = 0

    After 0,029003 seconds time elapsed

    1: expected "asynch descriptor resize.

    #aio in circulation = 0 x 0, the current limit of aio = 0xc8, this capping aio = 0 x 145

    wait_id = 2221 seq_num = 2222 snap_id = 1

    wait time: snap = 0,000003 s, exc = 0,000003 s, total s = 0,000003

    wait time: max = 307445734561 min 49sec

    wait charges: calls = 0 os = 0

    After 0,000710 seconds time elapsed

    "2: expected ' SQL * Net message to client"

    pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0

    wait_id = 2220 seq_num = 2221 snap_id = 1

    wait time: snap = 0,000005 dry, exc = 0,000005, total = 0,000005 sec

    wait time: max = infinite

    wait charges: calls = 0 os = 0

    After 0,001452 seconds time elapsed

    3: expected ' SQL * Net client message'

    pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0

    wait_id = 2219 seq_num = 2220 snap_id = 1

    wait time: snap = 0,499033 s, exc = 0,499033 s, total s = 0,499033

    wait time: max = infinite

    wait charges: calls = 0 os = 0

    After 0,000034 seconds time elapsed

    "4: expected ' SQL * Net message to client"

    pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0

    wait_id = 2218 seq_num = 2219 snap_id = 1

    wait time: snap = 0,000003 s, exc = 0,000003 s, total s = 0,000003

    wait time: max = infinite

    wait charges: calls = 0 os = 0

    After 0,000048 seconds time elapsed

    5: expected ' SQL * Net client message'

    pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0

    wait_id = 2217 seq_num = 2218 snap_id = 1

    wait time: snap = 0,061319 s, exc = 0,061319 s, total s = 0,061319

    wait time: max = infinite

    wait charges: calls = 0 os = 0

    After 0,000028 seconds time elapsed

    "6: expected ' SQL * Net message to client"

    pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0

    wait_id = 2216 seq_num = snap_id 2217 = 1

    wait time: snap = 0,000003 s, exc = 0,000003 s, total s = 0,000003

    wait time: max = infinite

    wait charges: calls = 0 os = 0

    After 0,000048 seconds time elapsed

    7: expected ' SQL * Net client message'

    pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0

    wait_id = 2215 seq_num = 2216 snap_id = 1

    wait time: snap = 0,063435 s, exc = 0,063435 s, total s = 0,063435

    wait time: max = infinite

    wait charges: calls = 0 os = 0

    After 0,000045 seconds time elapsed

    "8: expected ' SQL * Net message to client"

    pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0

    wait_id = 2214 seq_num = 2215 snap_id = 1

    wait time: snap = 0,000003 s, exc = 0,000003 s, total s = 0,000003

    wait time: max = infinite

    wait charges: calls = 0 os = 0

    After 0,000070 seconds time elapsed

    9: expected ' SQL * Net client message'

    pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0

    wait_id = 2213 seq_num = 2214 snap_id = 1

    wait time: snap = 0,060780 s, exc = 0,060780 s, total s = 0,060780

    wait time: max = infinite

    wait charges: calls = 0 os = 0

    After 0,000030 seconds time elapsed

    The Session history sampled session 1263 series 41

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

    History of the sampled session is built by sampling

    the session target all the 1 second. The sampling process

    capture to each sample, if the session is in an active waiting.

    a wait inactive, or not in a wait. If the session is in a

    active wait interval then one is indicated for all samples

    the session was in the same active waiting. If the

    session is in an inactive waiting or not waiting for

    consecutive samples then one interval is indicated for all

    consecutive samples. If we post these consecutive

    samples in a single interval session may NOT be permanently

    inactive or not in a wait (the sampling process is unclear).

    The history is displayed in reverse chronological order.

    sampling interval: 1 s, max 120 sec history

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

    [3 samples, 07:31:51 - 07: 31:53]

    not waiting at each sample

    [18 samples, 07:31:33 - 07: 31:50]

    waiting in each sample slowed

    [2 samples, 07:31:31 - 07: 31:32]

    not waiting at each sample

    [42 samples, 07:30:49 - 07:31:30]

    waiting in each sample slowed

    [4 biopsies, 07:30:45 - 07: 30:48]

    not waiting at each sample

    [7 samples, 07:30:38 - 07: 30:44]

    waiting in each sample slowed

    [sample 1, 07:30:37]

    waited for ' SQL * Net break/reset for customer ', seq_num: 1149

    P1: 'driver id' = 0 x 54435000

    P2: 'pause '? = 0 x 0

    P3: "= 0x0

    time_waited: 0,013444 sec (sampling interval: 0 sec)

    [14 samples, 07:30:23 - 07: 30:36]

    waiting in each sample slowed

    [4 biopsies, 07:30:19 - 07: 30:22]

    not waiting at each sample

    [26 samples, 07:29:53 - 07:30:18]

    waiting in each sample slowed

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

    History of the sampled plenary:

    longest_non_idle_wait: ' SQL * Net break/reset for customer '

    [sample 1, 07:30:37]

    time_waited: 0,013444 sec (sampling interval: 0 sec)

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

    the temporary object counter: 2

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

    Virtual discussion:

    kgskvt: 700000011f06658, sess: 700000012bf11f0 sid: 41 ser: 1263

    VC: 0, proc: 700000012b18de8, id: 41

    News consumer group: OTHER_GROUPS (upd? 0) maps: DEFAULT_CONSUMER_GROUP, orig:

    vt_state: 0x100, vt_flags: 0xA030, blkrun: 0, numa: 1

    inwait: 0

    place where last insched series: kgskthrrun

    place where insched last reset: kgskthrrun2

    place where inwait the last value: NULL

    place where inwait last reset: kgskbindfast

    is_assigned: 1, in_sched: 0 (0)

    QCLs: 0, qlink: FALSE

    vt_active: 0 (pending: 1).

    vt_pq_active: 0, dop: 0

    used quanta: 0 (cg: 0) usec, num penalty: 0

    start of CPU time: 0

    idle time: 0, time: 0 (cg: 0)

    yields of processor: 0 (cg: 0), expected: 0 (cg: 0), wait time: 0 (cg: 0) usec

    e/s expected: 0 (cg: 0), wait time: 0 (cg: 0) usec

    ASL in queue wait times: 0, time: 0 (NEWS 0, 0 cg)

    PQQ in queue wait times: 0, time: 0 (NEWS 0, 0 cg)

    Violation of the time to wait in queue: 0

    aborted calls: 0, num is exec hit limit: 0

    Cancel current: max k 0: 0 k

    I/O credits: small = 0 General = 0

    I/O waiting credits: small = 0 General = 0

    KTU Session Commit Cache Dump for IDLs:

    XID: 0x0009.008.00002025 RCS: flg 0x0000.00cd4e90 = 0x1

    XID: 0x0006.018.00001f5a RCS: flg 0x0000.00cd4e90 = 0x1

    XID: 0x0009.015.00002024 RCS: flg 0x0000.00cd4e90 = 0x1

    XID: 0x0005.004.00001f30 RCS: flg 0x0000.00cd4e90 = 0x1

    XID: 0x0006.021.000011ed RCS: flg 0x0000.00cd4e90 = 0x1

    KTU Session Commit Cache Dump for Non-IDLs:

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

    KKS - UOL used: 0 locks (used = 19, free = 3)

    KGX atomic operation Log 70000000b30a840

    Mutex 0 (0, 0) oper idn 0 NONE

    Cursor Parent uid 41 DTS 4 w/h 7 slp 0

    Oper = pt1 NONE = 0 pt2 pt3 0 = 0 =

    PT4 = 0 = 0 = 0 stt u41

    KGX atomic operation Log 70000000b30a890

    Mutex 0 (0, 0) oper idn 0 NONE

    parasite of the slp whr 6 table uid 41 DTS torrent 4 0

    Oper = NONE pt1 = 70000000d1485e8 pt2 = pt3 148678 = 0 70000000d

    PT4 = 0 = 0 = 0 stt u41

    KGX atomic operation Log 70000000b30a8e0

    Mutex 0 (0, 0) oper idn 0 NONE

    FSO uid 41 DTS mutex 0 w/h 0 slp 0

    KGX atomic operation Log 70000000b30a930

    Mutex 0 (0, 0) oper idn 0 NONE

    FSO uid 41 DTS mutex 0 w/h 0 slp 0

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

    KGL - UOL SO Cache (total = 182, free = 107)

    KGX atomic operation Log 70000000 b 045538

    Mutex 0 (0, 0) oper idn 0 NONE

    Library Cache uid 41 DTS 5 w/h 85 slp 0

    Oper = 0 = 70000000b 227350 pt2 = pt3 = 0 70000000c5df180 pt1

    PT4 = 0 = 0 = 0 ub4 pt5

    KGX atomic operation Log 70000000 b 045590

    Mutex (0, 0) 70000000c5b11d8 idn 69fd5d60 oper NONE

    Library Cache uid 41 DTS 4 w/h 77 slp 0

    Oper = pt1 pt2 70000000934fb60 0 = = 0 = 0 pt3

    PT4 = 0 = 0 = 0 ub4 pt5

    KGX atomic operation Log 70000000b0455e8

    Mutex 0 (0, 0) oper idn 0 NONE

    Library Cache uid 41 DTS 4 w/h 79 slp 0

    Oper = 0 = 70000000b 225950 pt2 = pt3 = 0 70000000c382cb8 pt1

    PT4 = 0 = 0 = 0 ub4 pt5

    KGX atomic operation Log 70000000 b 045640

    Mutex (0, 0) 70000000b225a80 idn ae8e84f6 oper NONE

    Library Cache uid 41 DTS 4 w/h 70 slp 0

    Oper = 0 = 70000000b 225950 pt2 = 0 = 0 pt3, pt1

    PT4 = pt5 0 = 0 ub4 = 4

    KGX atomic operation Log 70000000 b 045698

    Mutex (0, 0) 70000000b225a80 idn ae8e84f6 oper NONE

    Library Cache uid 41 DTS 4 w/h 70 slp 0

    Oper = 0 = 70000000b 225950 pt2 = 0 = 0 pt3, pt1

    PT4 = 0 = 0 = 0 ub4 pt5

    KGX atomic operation Log 70000000b0456f0

    Mutex 0 (0, 0) oper idn 0 NONE

    Library Cache 41 DTS uid 0 w/h 0 slp 0

    Oper = pt1 pt2 = pt3 0 = 0 0 = 0

    PT4 = 0 = 0 = 0 ub4 pt5

    KGX atomic operation Log 70000000 b 045748

    Mutex 0 (0, 0) oper idn 0 NONE

    Library Cache 41 DTS uid 0 w/h 0 slp 0

    Oper = pt1 pt2 = pt3 0 = 0 0 = 0

    PT4 = 0 = 0 = 0 ub4 pt5

    KGL SO hide

    SO = 70000000c5df180 link = 70000000c5df1f0 [70000000b115e38, b 70000000, 045520]

    FLG = 8000 use its 700000012bf11f0 = 700000012bf11f0 =

    SO = 70000000b115dc8 link = 70000000b115e38 [70000000c5df380, 70000000c5df1f0]

    FLG = 8000 use its 700000012bf11f0 = 700000012bf11f0 =

    SO = 70000000c5df310 link = 70000000c5df380 [70000000c7abab8, 70000000b115e38]

    FLG = 8000 use its 700000012bf11f0 = 700000012bf11f0 =

    Hello

    I'm not saying that it will solve the problem, but you must use XMLCast in this case, not XMLSerialize.

    Try also with fn:local - name instead (unless you need information namespace as well):

    Select (xmlcast)

    XMLQUERY)

    "for $dcrContent in fn:collection("oradb:/PUBLIC/DATA_CAPTURE_RECORD_CONTENT") / ROW.

    where $dcrContent/DATA_CAPTURE_RECORD_CONTENT_ID = xs:decimal ($id)

    "return fn:local - name($dcrContent/CONTENT_XML/*)"

    from 608 as "id".

    contents of return

    )

    as varchar2 (100)

    )

    Double;

  • Rewrite the query with joins, and group by

    Hello

    It's an interview question.

    Table names: bookshelf_checkout
    virtual library

    And the join condition between these two tables is title

    We need to rewrite under request without using the join condition and group by clause?

    SELECT b.title,max(bc.returned_date - bc.checkout_date) "Most Days Out"
               FROM bookshelf_checkout bc,bookshelf b
               WHERE bc.title(+)=b.title
               GROUP BY b.title;
    When I was in College, I read most of SELECT statements can be replaced by operations base SQL (DEFINE the OPERATORS). Now, I am rewriting the query with SET operators, but not able to get the exact result.

    Kindly help me on this.

    Thank you
    Suri

    Something like that?

      1  WITH books AS (
      2  SELECT 'title 1' title FROM dual UNION ALL
      3  SELECT 'title 2' FROM dual UNION ALL
      4  SELECT 'title 3' FROM dual ),
      5  bookshelf AS (
      6  SELECT 'title 1' title, DATE '2012-05-01' checkout_date, DATE '2012-05-15' returned_date FROM dual UNION ALL
      7  SELECT 'title 1' title, DATE '2012-05-16' checkout_date, DATE '2012-05-20' returned_date FROM dual UNION ALL
      8  SELECT 'title 2' title, DATE '2012-04-01' checkout_date, DATE '2012-05-15' returned_date FROM dual )
      9  SELECT bs.title, MAX(bs.returned_date - bs.checkout_date) OVER (PARTITION BY title) FROM bookshelf bs
     10  UNION
     11  (SELECT b.title, NULL FROM books b
     12  MINUS
     13* SELECT bs.title, NULL FROM bookshelf bs)
    SQL> /
    
    TITLE   MAX(BS.RETURNED_DATE-BS.CHECKOUT_DATE)OVER(PARTITIONBYTITLE)
    ------- ------------------------------------------------------------
    title 1                                                           14
    title 2                                                           44
    title 3
    

    Lukasz

  • Report with the query with union and parameters

    Hello

    We have an obligation to create a report with the request, which is the union and parameters.

    I intend to create a database for the report based on a query. But the problem here is that the way to pass parameters in the query.

    Request is something like that

    Select x.a, x.b, x.c
    x
    where x.year =: para1
    and x.status = 'A '.
    Union of all the
    Select x.a, x.b, x.c
    x
    where x.year =: para1 - 1
    and (x.status = 'c' and x.date =: para2 or x.status = 'I' and x.date < =: para2)

    Here x.year in the first select statement must be equal to: para1 and second select statement, it should be: para - 1.

    How this requirement can be achieved?

    Client don't want to separate worksheet, a parameter and another for the actual data that I tried with sys_context and it worked. But the client wants the result in a single sheet only... So I need to change their approach.

    Help, please.

    Thank you

    Hello
    Another option is to convert the request so that you will have the items from the selection
    for example on the query you provided that you can use:

    Select 'Curr' rec_type, x.a, x.b, x.c, x.year, x.date, x.status
    x
    where x.status = "A".
    Union of all the
    Select 'Prev' rec_type, x.a, x.b, x.c, x.year, x.date, x.status
    x
    where x.status in ('c', 'I')

    then, in the workbook, you will be able to create conditions such as:
    rec_type = 'Curr' and year =: para1

    rec_type = 'Prev' and year =: para1-1
    rec_type = 'Prev' and (status = 'c' and date =: para2 or status = 'I' and date)<=>

    Tamir

  • Why do I get error 66 with cRIO and STM library after 6 hours

    I have a RT (for the cRIO-9004 controller) software and a host software (on my development computer) which Exchange data through the STM library. Everything works fine, but after about 6 hours, the host stops with a message 'error 66 in STM Read Msg.vi'. Why does this happen? I use LV 8.2 and the STM 1.0.32 library.

    Thanks in advance.

    Hi all,.

    would it not possible to send your project RT together in order to test it. Make sure that the SubVIs are included. Thank you! Perhaps one of the possible reasons for your error is that your VI uses 100% of the capacity of the CPU for communication over TCP/IP breaks down due to a leak of resources, because the priority of the screw is higher. Check the use of the CPU resources when running.

    Concerning

    Greg

  • Problems with XMLTABLE and XMLNAMESPACES

    Hello

    I have an XMLTYPE table. When I now want to query the data I get error ORA-19228: XPST0008 - undeclared identifier: local name prefix "sfa" "sfa:Contact"

    XML data:

    <? XML version = "1.0" encoding = "ISO-8859-15? >

    < version ftc: FATCA_OECD = "Chain" xsi: schemaLocation = "urn: oecd:ties:fatca:v1 " http://xmlns.Oracle.com/xdb/documentation/FatcaXML_v1.1.xsd "" xmlns: xsi = " http://www.w3.org/2001/XMLSchema-instance " xmlns:ftc = "urn: oecd:ties:fatca:v1" xmlns:sfa = "urn: oecd:ties:stffatcatypes:v1" > ""

    < ftc: MessageSpec >

    < sfa:TransmittingCountry > LI < / sfa:TransmittingCountry >

    < sfa:ReceivingCountry > U.S. < / sfa:ReceivingCountry >

    < sfa:MessageType > FATCA < / sfa:MessageType >

    < sfa:Contact > Alexander Zelzer < / sfa:Contact >

    < sfa:MessageRefId > 123456 < / sfa:MessageRefId >

    < sfa:CorrMessageRefId / >

    < sfa:ReportingPeriod > 2014 - 12 - 31 < / sfa:ReportingPeriod >

    < sfa:Timestamp > 2015-02-18 T 16: 38:02.000000 < / sfa:Timestamp >

    < / ftc: MessageSpec >

    < / ftc: FATCA_OECD >

    SQL query:

    SELECT msg.contact

    Of itx_ftc_fatca_oecd

    , XMLTABLE (xmlnamespaces ("urn: oecd:ties:fatca:v1' AS"ftc"," urn: oecd:ties:stffatcatypes:v1' AS "sfa"), ' / ftc: FATCA_OECD')

    PASSAGE object_value

    Messagespec COLUMNS XMLTYPE PATH ' / ftc: FATCA_OECD / ftc: MessageSpec') level 1

    , XMLTABLE ('/ ')

    PASSAGE level1.messagespec

    Msg of COLUMNS contact VARCHAR2 (38) PATH "sfa:Contact")

    ORDER BY 1;

    Has anyone an idea what is the problem?

    Thanks in advance.

    Kind regards

    Martin

    The result still contains namespace references while you are passing it in the second section XMLTABLE...

    WITH data
    AS ( SELECT XMLTYPE('
    
      
        LI
        US
        FATCA
        Alexander Zelzer
        123456
        
        2014-12-31
        2015-02-18T16:38:02.000000
      
    ' ) as CONTENT
        FROM dual
      )
    SELECT msg.contact
      FROM data tl
       , XMLTABLE(xmlnamespaces('urn:oecd:ties:fatca:v1' AS "ftc", 'urn:oecd:ties:stffatcatypes:v1' AS "sfa"),
                  '/ftc:FATCA_OECD'
                  PASSING tl.CONTENT
                  COLUMNS
                    messagespec XMLTYPE PATH '/ftc:FATCA_OECD/ftc:MessageSpec'
                  ) level1
       , XMLTABLE(xmlnamespaces('urn:oecd:ties:fatca:v1' AS "ftc", 'urn:oecd:ties:stffatcatypes:v1' AS "sfa"),
                  '/'
                  PASSING level1.messagespec
                  COLUMNS
                    contact     VARCHAR2(38) PATH 'sfa:Contact'
                 ) msg
    ORDER BY 1
    ;
    
    CONTACT
    --------------------------------------
    Alexander Zelzer
    
  • Fuson - is this compatybile with ESX and Desktop Images?

    Hello

    I plan to switch to mac. Currently I use ubuntu with workstation. I also have many ESX servers with images ESX - those that will work perfectly in my computer (after conversion)

    Fuson does support images ESX, server and workstation? Can I export image Fuson as image ESX? Does it REALLY work?

    Thank you

    Maciej

    I started this topic a little before you. Note how I'm recommended to convert the VMDK before putting on the server.

    I move vms between the merger and the player with the only glitch being bridged network not working not not while under the reader. In this case, I guess workstation would be nice.

  • Please help me to test this problem with CSR4 and Flash10.

    I tried the below problem on systems of 2 2 portable Windows desktop and with the same result. Please test this procedure and report if you do or do not have the same results.

    I guess that the systems you use are later with all updates installed.

    1. start Photoshop and open any image file. Click on the move tool and see that you get the normal tool cursor.

    2. navigate to http://www.layersmagazine.com/working-with-text-in-flash-part-2.html (uses Flash 10 as the engine tutorial).

    3. the tutorial should start automatically. While it runs switch to Photoshop and make sure that you always have a moving cursor.

    4 switch the tutorial and click on the flash icon to watch full-screen mode. Watch it for a few seconds. Press ESC to return to the normal size.

    5 go to Photoshop and look at the cursor. On 4 systems I tested on, the cursor turns into a hand and remains a helping hand any tool icon is clicked.

    Sometimes the tutorial and closing Photoshop returns all this normal functioning. I reported this service the customer. Sometimes I have to reboot for it to happen.

    I want to determine if it's just that I've tested 4 systems or if others are experiencing the same problem. Thank you for your help.

    Mike

    If you hand your space bar icon is stuck.  He tap several times and blow crumbs.

  • When I go on some websites (such as cricinfo), I am redirected to a page of 123 find. I don't have this problem with IE, and when I re - install firefox, the problem reappears

    If I quit firefox and then restart your computer and access the page, I can go to the web site. Then very quickly, the 123 find program takes over.
    This happens at home, I have all the info here.

    Finally, the problem is solved by running malwarebytes. I've deleted and reinstalled firfox and the problem reappears. This occurred because the Trojan horse was in the plugins folder that was not deleted when firefox has been removed.
    After that the Trojan horse has been deleted by malwarebytes, the problem is not happening yet.

  • Does anyone know what the cause some programs not being able to access the Internet? I had this problem with TurboTax and now with my Magic Jack.

    The TurboTax program told me that I was not connected to the Internet, even though I was and now my Majic Jack, who has worked 10 months told me the same thing.  I did nothing g to my computer except upgrades of Microsoft/Windows and I am at a loss as what to do.  Can anyone help?

    Hi CherieRadigan,

    1. are you able to connect to the internet successfully?

    2. facing a similar problem with other programs on the computer?

    3. What is the full error message that you receive?

    4. do you have security software installed on the computer?

    If you encounter a problem with internet connectivity to TurboTax and MagicJack program, then check out the links below to the Publisher of the software and check if it helps.

    MagicJack

    Error failed to configure magicJack / if please connect to the internet and double click here / Internet provider cannot be found. Make sure that you have an internet connection / unable to connect to the service provider

    TurboTax

    Connectivity errors

Maybe you are looking for