Child of child swf not being unloaded

I loaded an swf into an swfLoader using a bytearray. The child swf being loaded loads another swf within itself. When I run swfLoader.unloadAndStop() it removes the child swf but not the child swf's child. How can I unload both?

You will have to custom code a way to tell the child SWF to unload its
child.

Similar Messages

  • Child Report Cursors Are Not Being Closed

    A SQLDeveloper report with a running defined child report with a Refresh rate of 5 or more seconds will eventually exhaust the session's max_open_cursors and will crash with "ORA-01000 maximum open cursors exceeded". This is true whether it is the parent or child report which is refreshed.
    In my case, max_open_cursors is set to 600 and the refresh rate is 5 seconds; it takes approximately 50 minutes or less for SQLDeveloper to crash.
    Tracking the open cursors by viewing V$OPEN_CURSOR for the report SID clearly shows that the number of child report cursors keeps growing at approximately one cursor per refresh rate. From this it is very clear that SQLDeveloper is not closing those child report cursors and I have found no way to work around this problem.
    BTW, congratulations to the SQLDeveloper team for an overall really good product at an excellent price. Still a bit buggy but otherwise quite enjoyable to use.
    Jerry

    How are they connecting? What Service?
    Any particular APPs that do this? Adobe perhaps?

  • XML MAPPING - swf not updating

    When I make a change to the xml file it is not picking up the change in my published swf file.  When I open the project in CX and refresh the mapping updates.
    So it is connected but when I click on "refresh" on the sxf it is not updating.
    I have xml maps, added in the data connection manager, with a refresh button tied to the xml connection.  I also have the refresh on load checked in the connection manager.
    Need help.
    Thanks
    Mark

    Shamim my scenario was that I wanted the SWF on a network so that a call center employee could access the file from a mapped drive, open the file direct on her/his client machine.  My problem was that I developed the file on the server machine and mapped the data connection path to the XML initially from the server, not the scenario of a client machine's path looking for the file. (not sure if cache is the right term)
    Initial Path from server development..  D:\Datafiles\data.xml
    The client machine(s) network path, mapped drive was Z: for example.  In the excelsius model you need to bind the data path to the excel model and hardcode the Path that the client machines will go thru to access the data.  This solved my issue perfectly.  Z or name of the mapped drive mapped to the server.
    Z:\Datafiles\data.xml
    So now if your on the server machine and try to open the file from the swf you will incur the error message that correlates to the swf not being able to find the data.  From the clients works fine but not from the server machine as the path has to be exact for the swf to find the data file.
    Hope this helps.
    I have a question for trying to deploy this same example on th server embedded into a swf movie player to the web.  Might have been my path issue, cross domain policy file... But I could not get it to be deployed in a website, live.  If you are familiar with this please explain to me.
    Regards,
    Mark

  • Protect child SWF from being downloaded

    Hi, I've been struggling with this for a while and i cannot
    find how to do this....
    I have a main Flex app (main.swf) that load other pieces of
    content (content.swf, content2.jpg, etc...). I want those pieces of
    contents to be accessible only by using main.swf. I've tried to put
    my content outside the web root and access it in main.swf using an
    image container with the source :
    http://www.server.com/file?content.swf&key=secret,
    but anyone can access this string and download content.swf.
    So, how can i protect content.swf from being downloaded...
    Note that i cannot embed content.swf, content2.jpg, etc... since
    there will be too many files...
    Any help would be appreciated

    I'm going to throw this out there and say, simply, that you
    can't. Just the fact that someone is viewing the content means
    that's it's already downloaded to their system, albeit buried in a
    temp folder somewhere.
    I think instead of stopping someone from downloading it, you
    could find a way to stop it from working once it's separated from
    the web server it's currently deployed on.
    Someone please correct me if I'm wrong, of course...
    Jon

  • SWF File not being generated by compiler

    I am using Flash Builder 4.5.
    One of the modules that compiles without error is still not being bound into the runtime image (in this case debug).
    There are no compiler errors (auto build is switched ON) but a swf file is not being generated.
    I have tried removing the reference to the module in the Project ->Properties->Modules window and then adding it back in to no avail.
    This was working up until I made a change to the module in question and then saved it.

    I would check all imported images in the library. If you cannot see the image in your library preview; there is a good chance that there is an issue and it will need to be reimported.

  • URGENT! SimpleDeserializer encountered a child element, which is NOT expect

    Hi all,
    I am very new to web services.
    I am calling a web service which is developed in .Net
    Please help me out to solve the error as
    "*SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize*"
    My code is as below
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import org.apache.axis.encoding.XMLType;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.ParameterMode;
    public class CallingWebServiceClient
         public static void main(String [] args)
              try
                   String endpointURL =
                        "http://10.40.4.76/InSiteWebServices/WSNamedMaint.asmx";
                   String name = "ABC";
                   //Object serviceData = new Object();
                   //Object resultStatus = new Object();
                   Service service = new Service();
                   Call call = (Call) service.createCall();
                   call.setTargetEndpointAddress( new java.net.URL(endpointURL) );
                   call.setOperationName("RequestAllValues");
                   call.addParameter( name, XMLType.XSD_STRING, ParameterMode.IN);
                   //call.addParameter( "serviceData", XMLType.XSD_ANY, ParameterMode.OUT);
                   //call.addParameter( "resultStatus", XMLType.XSD_ANY, ParameterMode.OUT);
                   call.setProperty(call.SOAPACTION_USE_PROPERTY, new Boolean(true));
                   call.setProperty(call.SOAPACTION_URI_PROPERTY, "http://www.xyz.com/WebService/WSNamedMaint/RequestAllValues");
                   call.setReturnType( org.apache.axis.encoding.XMLType.XSD_STRING );
                   String ret = (String) call.invoke( new Object[] { name } );
                   System.out.println("Value is : " + ret);
              catch (Exception e)
                   System.err.println(e.toString());
    }Please let me know the solution as soon as possible.
    Thanks

    Hi,
    Regarding to the query which I have posted may have following possibility.
    This error may be due to the arguments which it gives as the output, as some of those arguments are the object of some other class.
    As the web service which I am trying to access is developed in .Net and requires three parameters, out of which one parameter named as "name" is input parameter while the other two are the output parameters, which web service provide as output. And may be the output which it provides may also be developed in .Net only and thats why while passing the input variable, it is not able to convert its output variable into the String.
    Please provide your valuable comments and solution to that.
    Thanks

  • SimpleDeserializer encountered a child element, which is NOT expected,

    Hi All,
    I created a webservice using JAVA.
    Got WSDL for a SAP Funtional Module(BAPI_MATERIAL_SAVEDATA) and created Java Classes using (WSDL2Java -t XXX.wsdl ).
    Wrote a Java Client Prog to invoke the services.
    While Invoking the service from a Java Client program by Passing all the parameters,
    and the parameters getting updated in SAP
    BUT Getting the following Exception, not getting the response porperly:
    AxisFault
    faultCode: Server.userException
    faultSubcode:
    faultString: org.xml.sax.SAXException: SimpleDeserializer encountered a child e
    lement, which is NOT expected, in something it was trying to deserialize.
    faultActor:
    faultNode:
    faultDetail:
            stackTrace:org.xml.sax.SAXException: Simple
    Deserializer encountered a child element, which is NOT expected, in something it
    was trying to deserialize.
            at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDe
    serializer.java:145)
            at org.apache.axis.encoding.DeserializationContext.startElement(Deserial
    izationContext.java:1035)
            at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
    va:165)
            at org.apache.axis.message.MessageElement.publishToHandler(MessageElemen
    t.java:1141)
            at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
            at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
            at org.apache.axis.client.Call.invoke(Call.java:2467)
            at org.apache.axis.client.Call.invoke(Call.java:2366)
            at org.apache.axis.client.Call.invoke(Call.java:1812)
            at SAPClient.materialSaveData(SAPClient.java:700)
            at SAPClient.main(SAPClient.java:427)
            hostname:hp-2535
    Cheers, all help would be greatly appreciated
    Vijay

    Hi!
    Resolved it, but don't see "resolved by myself" option. I was calling the wrong service.

  • [svn:osmf:] 14595: Metadata refactoring revision: having LayoutMetadata return a NullMetadataSynthesizer so that child layout settings do not get copied to their parent .

    Revision: 14595
    Revision: 14595
    Author:   [email protected]
    Date:     2010-03-05 01:25:04 -0800 (Fri, 05 Mar 2010)
    Log Message:
    Metadata refactoring revision: having LayoutMetadata return a NullMetadataSynthesizer so that child layout settings do not get copied to their parent.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/layout/LayoutMetadata.as

    I've only encountered two instances where the PUT operation failed on certain files. One, the server does not like the particular file type, and two, when the file was open in another program.
    Other than that, I could only guess that it may have something else to do with the web server configuration and not DW.

  • Crossdomain.xml file not being called by the SWF

    Hi,
    I'm serving an swf file compiled using flex builder 3.2 through plain HTTP, the SWF file calls a service in the same domain through HTTPS, as such, I put the following file in the root directory of my web server:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
        <allow-access-from domain="*" secure="false" />
    </cross-domain-policy>
    and name it crossdomain.xml
    When the service is invoked, I get the following error: [RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"]
    When I check the access log files of my web server (Apache), there's no entry for crossdomain.xml (it is not being requested), why?
    When I serve the SWF through HTTPs it works OK ... any ideas?
    I have tried in several machines (different browsers, different versions of Flash player) and no success.

    I am also experiencing the exact same problem.  I'm not able to change the crossdomain.xml file located in the root directory and am going to try creating a new policy file in a sub directory.  The problem I'm having is that my web service is called from a virtual path and I do not know where to save this new policy file.
    Have you tried to load in a specific policy file?
    Security.loadPolicyFile( "http://yourdomain.com/policyFile.xml" );
    Also, you may want to check which sandbox your swf file is in.  flash.system.Security.sandboxType.  This could be another cause to the error.  My swf file is in the "remote" sandbox.

  • Index not being used in group by.

    Here is the scenario with examples. Big table 333 to 500 million rows in the table. Statistics are gathered. Histograms are there. Index is not being used though. Why?
      CREATE TABLE "XXFOCUS"."some_huge_data_table"
       (  "ORG_ID" NUMBER NOT NULL ENABLE,
      "PARTNERID" VARCHAR2(30) NOT NULL ENABLE,
      "EDI_END_DATE" DATE NOT NULL ENABLE,
      "CUSTOMER_ITEM_NUMBER" VARCHAR2(50) NOT NULL ENABLE,
      "STORE_NUMBER" VARCHAR2(10) NOT NULL ENABLE,
      "EDI_START_DATE" DATE,
      "QTY_SOLD_UNIT" NUMBER(7,0),
      "QTY_ON_ORDER_UNIT" NUMBER(7,0),
      "QTY_ON_ORDER_AMT" NUMBER(10,2),
      "QTY_ON_HAND_AMT" NUMBER(10,2),
      "QTY_ON_HAND_UNIT" NUMBER(7,0),
      "QTY_SOLD_AMT" NUMBER(10,2),
      "QTY_RECEIVED_UNIT" NUMBER(7,0),
      "QTY_RECEIVED_AMT" NUMBER(10,2),
      "QTY_REQUISITION_RDC_UNIT" NUMBER(7,0),
         "QTY_REQUISITION_RDC_AMT" NUMBER(10,2),
         "QTY_REQUISITION_RCVD_UNIT" NUMBER(7,0),
         "QTY_REQUISITION_RCVD_AMT" NUMBER(10,2),
         "INSERTED_DATE" DATE,
         "UPDATED_DATE" DATE,
         "CUSTOMER_WEEK" NUMBER,
         "CUSTOMER_MONTH" NUMBER,
         "CUSTOMER_QUARTER" NUMBER,
         "CUSTOMER_YEAR" NUMBER,
         "CUSTOMER_ID" NUMBER,
         "MONTH_NAME" VARCHAR2(3),
         "ORG_WEEK" NUMBER,
         "ORG_MONTH" NUMBER,
         "ORG_QUARTER" NUMBER,
         "ORG_YEAR" NUMBER,
         "SITE_ID" NUMBER,
         "ITEM_ID" NUMBER,
         "ITEM_COST" NUMBER,
         "UNIT_PRICE" NUMBER,
          CONSTRAINT "some_huge_data_table_PK" PRIMARY KEY ("ORG_ID", "PARTNERID", "EDI_END_DATE", "CUSTOMER_ITEM_NUMBER", "STORE_NUMBER")
      USING INDEX TABLESPACE "xxxxx"  ENABLE,
          CONSTRAINT "some_huge_data_table_CK_START_DATE" CHECK (edi_end_date - edi_start_date = 6) ENABLE
    SQL*Plus: Release 11.2.0.2.0 Production on Fri Sep 14 12:11:16 2012
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> SELECT num_rows FROM user_tables s WHERE s.table_name = 'some_huge_data_table';
      NUM_ROWS                                                                     
    333338434                                                                     
    SQL> SELECT MAX(edi_end_date)
      2    FROM some_huge_data_table p
      3   WHERE p.org_id = some_number
      4     AND p.partnerid = 'some_string';
    MAX(EDI_E                                                                      
    13-MAY-12                                                                      
    Elapsed: 00:00:00.00
    SQL> explain plan for
      2  SELECT MAX(edi_end_date)
      3    FROM some_huge_data_table p
      4   WHERE p.org_id = some_number
      5     AND p.partnerid = 'some_string';
    Explained.
    SQL> /
    PLAN_TABLE_OUTPUT                                                                                  
    Plan hash value: 2104157595                                                                        
    | Id  | Operation                    | Name        | Rows  | Bytes | Cost (%CPU)| Time     |       
    |   0 | SELECT STATEMENT             |             |     1 |    22 |     4   (0)| 00:00:01 |       
    |   1 |  SORT AGGREGATE              |             |     1 |    22 |            |          |       
    |   2 |   FIRST ROW                  |             |     1 |    22 |     4   (0)| 00:00:01 |       
    |*  3 |    INDEX RANGE SCAN (MIN/MAX)| some_huge_data_table_PK |     1 |    22 |     4   (0)| 00:00:01 |       
    SQL> explain plan for
      2  SELECT MAX(edi_end_date),
      3         org_id,
      4         partnerid
      5    FROM some_huge_data_table
      6   GROUP BY org_id,
      7            partnerid;
    Explained.
    PLAN_TABLE_OUTPUT                                                                                  
    Plan hash value: 3950336305                                                                        
    | Id  | Operation          | Name     | Rows  | Bytes | Cost (%CPU)| Time     |                    
    |   0 | SELECT STATEMENT   |          |     2 |    44 |  1605K  (1)| 05:21:03 |                    
    |   1 |  HASH GROUP BY     |          |     2 |    44 |  1605K  (1)| 05:21:03 |                    
    |   2 |   TABLE ACCESS FULL| some_huge_data_table |   333M|  6993M|  1592K  (1)| 05:18:33 |                    
    -------------------------------------------------------------------------------                     Why wouldn't it use the index in the group by? If I write a loop to query for different partnerid (there are only three), the whole things takes less than a second. Any help is appreciated.
    btw, I gave the index hint too. Didn't work. Version mentioned in the example.
    Edited by: RPuttagunta on Sep 14, 2012 11:24 AM
    Edited by: RPuttagunta on Sep 14, 2012 11:26 AM
    the actual names are 'scrubbed' for obvious reasons. Don't worry, I didn't name the tables in mixed case.

    Jonathan,
    Thank you for your input. Forgot about this issue since ended up creating an MV since, the view was slower. But either way, I am curious. Here are the results for your questions.
    SQL> SELECT last_analyzed,
      2         blocks
      3    FROM user_tables s
      4   WHERE s.table_name = 'huge_data';
    LAST_ANAL     BLOCKS
    14-MAY-12    5869281
    SQL> SELECT last_analyzed,
      2         leaf_blocks
      3    FROM user_indexes i
      4   WHERE i.table_name = 'huge_data';
    LAST_ANAL LEAF_BLOCKS
    14-MAY-12     2887925
    SQL>It looks like stale statistics from the last_analyzed, but, they really aren't. This is a development database and that was the last time around which it was refreshed. And the stats are right (at least the approx_no_of_blocks and num_rows etc).
    No other data came into the table after.
    Also,
    1). I thought I don't have any particular optimizer parameters, but, checking back I do. fastfull_scan_enabled = false. Could that be it?
    SQL> SELECT a.name,
      2         a.value,
      3         a.display_value,
      4         a.isdefault,
      5         a.isses_modifiable
      6    FROM v$parameter a
      7   WHERE a.name LIKE '\_%' ESCAPE '\';
    NAME                           VALUE                          DISPLAY_VALUE   ISDEFAULT       ISSES
    _disable_fast_validate         TRUE                           TRUE            FALSE           TRUE
    _system_trig_enabled           TRUE                           TRUE            FALSE           FALSE
    _sort_elimination_cost_ratio   5                              5               FALSE           TRUE
    _b_tree_bitmap_plans           FALSE                          FALSE           FALSE           TRUE
    _fast_full_scan_enabled        FALSE                          FALSE           FALSE           TRUE
    _index_join_enabled            FALSE                          FALSE           FALSE           TRUE
    _like_with_bind_as_equality    TRUE                           TRUE            FALSE           TRUE
    _optimizer_autostats_job       FALSE                          FALSE           FALSE           FALSE
    _connect_by_use_union_all      OLD_PLAN_MODE                  OLD_PLAN_MODE   FALSE           TRUE
    _trace_files_public            TRUE                           TRUE            FALSE           FALSE
    10 rows selected.
    SQL>As, you might have guessed, I am not the dba for this db. Should pay more attention to these optimizer parameters.
    I know why we had to set connectby_use_union_all hint (due to a bug in 11gR2).
    Also, vaguely remember something about the disablefast_validate (something about another major db bug in 11gR2 again), but, not sure why those other parameters are set.
    2). Also, I have tried this
    SQL> SELECT /*+ index_ss(huge_data_pk) gather_plan_statistics*/
      2   MAX(edi_end_date),
      3   org_id,
      4   partnerid
      5    FROM huge_data
      6   GROUP BY org_id,
      7            partnerid;
    MAX(EDI_E     ORG_ID PARTNERID
    2 rows
    SQL> SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY_CURSOR(null,null,'ALLSTATS LAST'));
    PLAN_TABLE_OUTPUT
    SQL_ID  f3kk8skdyvz7c, child number 0
    SELECT /*+ index_ss(huge_data_pk) gather_plan_statistics*/
    MAX(edi_end_date),  org_id,  partnerid   FROM huge_data  GROUP BY
    org_id,           partnerid
    Plan hash value: 3950336305
    | Id  | Operation          | Name     | Starts | E-Rows | A-Rows |   A-Time   | Buffers | Reads  |  OMem |  1Mem | Used-Mem |
    PLAN_TABLE_OUTPUT
    |   0 | SELECT STATEMENT   |          |      1 |        |      2 |00:05:11.31 |    5905K|   5897K|    |  |          |
    |   1 |  HASH GROUP BY     |          |      1 |      2 |      2 |00:05:11.31 |    5905K|   5897K|   964K|   964K| 2304K (0)|
    |   2 |   TABLE ACCESS FULL| hug_DATA |      1 |    333M|    334M|00:04:31.44 |    5905K|   5897K|    |  |          |
    16 rows selected.But, then, I tried this too.
    SQL> alter session set "_fast_full_scan_enabled"=true;
    Session altered.
    SQL> SELECT MAX(edi_end_date),
      2         org_id,
      3         partnerid
      4    FROM hug_data
      5   GROUP BY org_id,
      6            partnerid;
    MAX(EDI_E     ORG_ID PARTNERID
    2 rowsAnd this took around 5 minutes too.
    PS: This has nothing to do with original question, but, it is plausible to derive the 'huge_data' table name from the sql_id? Just curious.

  • Listeners keyDown are not being called when keyDown in an popup l

    For some reason the listeners titleWindow_keyDown are not being called when keyDown in an popup like so:
    <?xml version="1.0" encoding="utf-8"?>
    <s:SkinnablePopUpContainer xmlns:fx="http://ns.adobe.com/mxml/2009"
                               xmlns:s="library://ns.adobe.com/flex/spark"
                               xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="300"  keyDown="titleWindow_keyDown(event);" >
        <s:TitleWindow title="Edit Complaint" close="close()">
    private function titleWindow_keyDown(evt:KeyboardEvent):void {
                        if (evt.charCode == Keyboard.ESCAPE) {
                            close();
    Any ideas friends??

    But in my code it is a child inside SkinnablePopUpContainer:
    <s:SkinnablePopUpContainer xmlns:fx="http://ns.adobe.com/mxml/2009"
                               xmlns:s="library://ns.adobe.com/flex/spark"
                               xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="300"  keyDown="titleWindow_keyDown(event);" >
        <s:TitleWindow title="Edit Complaint" close="close()">

  • Structured XMLIndex is not being used

    I have a table defined as "TABLE OF XMLTYPE" with XML Binary storage with a structured XMLIndex under Oracle 11.2.0.3.4. The query that I am using on this table is virtually the same as the XMLIndex, but it's not being used. I searched the forums for similar issues and found this:
    XMLIndex is not getting used
    However, the post is a couple of years old, and I think that the solution was really specific to the problem. Not that mine isn't. ;)
    Per the forum guidelines, the data/DDL is confidential, and should not be posted, so I opened a SR for it - SR 3-7160281751.
    May I please have some help understanding why the structured XMLIndex is not being used?
    Thanks...

    OK, I did the best I could to clean this up. The last query in this script is the one not using the index. The tables "book_master" and "book_join_temp" are populated, though I didn't include the data here. Do you see anything wrong?
    --Create tables...
    CREATE TABLE book_master OF XMLTYPE
    XMLTYPE STORE AS SECUREFILE BINARY XML
    VIRTUAL COLUMNS
      isbn_nbr AS ( XmlCast(
                    XmlQuery('declare namespace plh="http://www.mrbook.com/InventoryData/Listing";
                              declare namespace invtdata="http://www.mrbook.com/Inventory";
                              /invtdata:INVENTORY/plh:LIST/plh:ISBN_NBR'
                              PASSING object_value RETURNING CONTENT) AS VARCHAR2(64)) ),
      book_id AS ( XmlCast(
                    XmlQuery('declare namespace plh="http://www.mrbook.com/InventoryData/Listing";
                              declare namespace invtdata="http://www.mrbook.com/Inventory";
                              /invtdata:INVENTORY/plh:LIST/plh:BOOK_ID'
                              PASSING object_value RETURNING CONTENT) AS VARCHAR2(64)) )
    CREATE GLOBAL TEMPORARY TABLE book_join_temp
       isbn_nbr VARCHAR2(64),
       book_id VARCHAR2(64),
       row_num INT,
       PRIMARY KEY(row_num)
    ) ON COMMIT DELETE ROWS;
    --Create indices....
    CREATE INDEX bkm_xmlindex_ix ON book_master (OBJECT_VALUE) INDEXTYPE IS XDB.XMLIndex PARAMETERS ('PATH TABLE path_tab');
    BEGIN
       DBMS_XMLINDEX.registerParameter(
          'myparam',
          'ADD_GROUP GROUP book_record
             XMLTable bk_idx_tab
             XmlNamespaces(''http://www.mrbook.com/InventoryData/Listing'' AS "plh",
                      ''http://www.mrbook.com/Inventory'' AS "invtdata",
                      ''http://www.mrbook.com/BookInfo'' AS "idty",
                      ''http://www.mrbook.com/References'' AS "lclone",
                      ''http://www.mrbook.com/Publishing'' AS "trd",
                      ''http://www.mrbook.com'' AS "mrbook"),
             ''/invtdata:INVT_DATA''
               COLUMNS
                    xml_id    RAW(16)     PATH ''/@XML_ID'',
                    isbn_nbr  VARCHAR(64) PATH ''/plh:LIST/plh:ISBN_NBR'',
                    book_id   VARCHAR(64) PATH ''/plh:LIST/plh:BOOK_ID'',
                    seller_loc_id NUMBER(13,0) PATH ''/plh:LIST/plh:SELLER_LOC_ID'',
                    catg_typ_cd NUMBER(7,0) PATH ''/idty:BK_INFO/idty:CATG_TYP_CD'',
                    CTRY_MKT_LOC NUMBER(7,0) PATH ''/idty:BK_INFO/idty:CTRY_MKT_LOC'',
                    bk_out_of_print_cd NUMBER(7,0) PATH ''/idty:BK_INFO/idty:BK_OUT_OF_PRINT_CD'',
                    reprint_isbn_nbr VARCHAR2(64) PATH ''/idty:BK_INFO/idty:REPRINT_ISBN_NBR'',
                    reprint_book_id VARCHAR2(64) PATH ''/idty:BK_INFO/idty:REPRINT_BOOK_ID'',
                    orig_ed_isbn_nbr VARCHAR2(64) PATH ''/lclone:REFERENCES/lclone:PRINT[child::lclone:PRINT_TYP_CD="160"]/lclone:ISBN_NBR'',
                    orig_ed_book_id VARCHAR2(64) PATH ''//lclone:REFERENCES/lclone:PRINT[child::lclone:PRINT_TYP_CD="160"]/lclone:BOOK_ID'',
                    last_mod_dt TIMESTAMP PATH ''/node()[local-name()="LAST_MOD_DT"]'',
                    subject_catg_code  NUMBER(7) PATH ''/idty:BK_INFO/idty:SUBJECT_CATG_CODE[child::idty:CATG_REF_LVL=1]/idty:SUBJECT_CATG_CODE'',
                    catg_code VARCHAR2(48) PATH ''/idty:BK_INFO/idty:SUBJECT_CATG_CODE[child::idty:CATG_REF_LVL=1]/idty:CATG_CODE'',
                    pub_summ  XMLType   PATH ''/trd:PUB_SUMM'' VIRTUAL
                XMLTable trd_summ_entr_ix
                XmlNamespaces(''http://www.mrbook.com/InventoryData/Listing'' AS "plh",
                      ''http://www.mrbook.com/Inventory'' AS "invtdata",
                      ''http://www.mrbook.com/BookInfo'' AS "idty",
                      ''http://www.mrbook.com/References'' AS "lclone",
                      ''http://www.mrbook.com/Publishing'' AS "trd",
                      ''http://www.mrbook.com'' AS "mrbook"),
                   ''/trd:PUB_SUMM/trd:PUBLC'' PASSING pub_summ
                COLUMNS
                    pub_yrmo  VARCHAR2(6) PATH ''/@PUBLC_YRMO''
    END;
    ALTER INDEX bk_xmlindex_ix PARAMETERS('PARAM myparam');
    CREATE INDEX ejt_isbn ON book_join_temp(isbn_nbr);
    CREATE INDEX ejt_book ON book_join_temp(book_id);
    --Using the PATH table instead of structured index???
    SELECT
        ej.row_num,
        e.xml_id,
        e.isbn_nbr,
        e.book_id,
        e.seller_loc_id,
        e.seller_loc_id AS mkt_seller_id,
        e.catg_typ_cd,
        e.CTRY_MKT_LOC,
        e.bk_out_of_print_cd,
        e.reprint_isbn_nbr,
        e.reprint_book_id,
        e.orig_ed_isbn_nbr,
        e.orig_ed_book_id,
        g.OBJECT_VALUE AS invt_data
    FROM
        book_master g,
        book_join_temp ej,
        XmlTable(
        XmlNamespaces('http://www.mrbook.com/InventoryData/Listing' AS "plh",
                      'http://www.mrbook.com/Inventory' AS "invtdata",
                      'http://www.mrbook.com/BookInfo' AS "idty",
                      'http://www.mrbook.com/References' AS "lclone",
                      'http://www.mrbook.com' AS "mrbook"),
          '/invtdata:INVENTORY'
        PASSING g.OBJECT_VALUE
        COLUMNS
           xml_id PATH '@XML_ID',
           isbn_nbr VARCHAR2(64) PATH 'plh:LIST/plh:ISBN_NBR',
           book_id VARCHAR2(64) PATH 'plh:LIST/plh:BOOK_ID',
           seller_loc_id NUMBER PATH 'plh:LIST/plh:SELLER_LOC_ID',
           catg_typ_cd NUMBER PATH 'idty:BK_INFO/idty:CATG_TYP_CD',
           CTRY_MKT_LOC NUMBER PATH 'idty:BK_INFO/idty:CTRY_MKT_LOC',
           bk_out_of_print_cd NUMBER PATH 'idty:BK_INFO/idty:BK_OUT_OF_PRINT_CD',
           reprint_isbn_nbr NUMBER PATH 'idty:SUBJ_DTL/idty:SUCSR_DUNS_NBR',
           reprint_book_id NUMBER PATH 'idty:SUBJ_DTL/idty:SUCSR_SUBJ_ID',
           orig_ed_isbn_nbr VARCHAR2(64) PATH '/lclone:REFERENCES/lclone:PRINT[child::lclone:PRINT_TYP_CD="160"]/lclone:ISBN_NBR',
           orig_ed_book_id VARCHAR2(64) PATH '/lclone:REFERENCES/lclone:PRINT[child::lclone:PRINT_TYP_CD="160"]/lclone:BOOK_ID'
    ) e
    WHERE
         ej.isbn_nbr = e.isbn_nbr
    OR  ej.book_id = e.book_id;

  • HT4623 How to stop third party apps download with out you permission from ATT partners that cant see any connections on your account due to you not being the prchaser?

    How to stop third party apps download with out you permission from ATT partners that cant see any connections on your account due to you not being the purchaser or on account as long as someone else is paying they can not hold legal resposible there third privacy  due to legal privacy laws.

    Then you should read these.
    http://forums.macrumors.com/showthread.php?t=1804704&highlight=sonnet+tempo+pro
    http://forums.macrumors.com/showthread.php?t=1721573&highlight=sonnet+tempo+pro
    This was strange but has to do with how startup disk and nvram interact
    http://forums.macrumors.com/showthread.php?t=1795765
    I think your problems were solvable and not that the Sonnet card and 5,1 is not bootable, in fact the 5,1 is easier, there are more supported cards.
    I have the 1,1 where the Sonnet Pro is recommended but for data only and are not bootable because of the 32-bit EFI firmware. NOT the 4,1 and 5,1. The 2008's are problem child and have a mix of PCIe 1.1 slots, first implementation of EFI64 that also has problems. Also the 4,1 has two PCIe 2.x slots 3 and 4 that share a controller but that simply limits bandwidth.
    I would have left the TRIM support and NVRAM changes in Yosemite to a separate thread if you wanted to focus on the Sonnet Tempo Pro support in Mac Pro 2010-12 5,1s.
    Also the make of SSD can vary and they also have their own firmware as do bootable controllers along with the EFI of the Mac, all of which have to work together.  Meaning it might be that Samsung 840 va 840 EVO vs 840 Pro will all be slightly different but my experience is Samsungs work well (as do others like Crucial with the proper firmware - and there was/is an issue with the firmware of the Samsung 840 but not with booting).
    The PCIe card gets seen and treated as external and therefore 'eject' but of course you can't when it is the system boot drive.
    One thing I found last week and meant to mention:  After installing or changing PCIe cards, RESET SMC made all the difference in the world with the long boot delay. Some PCIe cards will add a few seconds, system has to search the device tree which now shows another controller with multiple devices - and sometimes NVRAM and SMC are what I will call "dirty" and need to be rebuilt and reset.

  • My iPOD is not being recognized by my computer.....

    I have a 30GB white iPOD. It charges and everything. Nothing seems to be wrong with it. My computer can't recognized it. I can't load/unload songs beacuse of this. I have 2 2GB nanos (the new ones) that work fine. What do I do?

    You know, my new ipod (The 30 GB) was also not being recognized by my laptop and wasn't even charging.
    I think I finally figured out that the usb cord in my laptop didn't have enough power and now I am using my brothers desktop and it seems to work finally.
    HOWEVER, now that it didn't charge successfully the first time for a few hours like recommended and I was playing around with it to make it work, I am afraid that my battery is all messed up.
    When I thought I was charging it, it really was using up the battery. And there were times my computer would freeze in the middle of the process so I would have to restart my computer
    Would anyone know if my ipod will be ok?

  • Retrieve Parent Child Sub-Child recors in SQL Query

    I've a self reference table and it has Parent-Child-Subchild relation. I'm getting an output (from second answer http://stackoverflow.com/questions/16031000/get-records-containing-all-the-child-records-in-sql-server) as expected, but it's
    displaying results in below format.
    <parent id> - <name> - <code>
    <child id> - <name> - <code>
    <child id> - <name> - <code>
    <child id> - <name> - <code>
    <child id> - <name> - <code>
    <sub child id> - <name> - <code>
    <sub child id> - <name> - <code>
    <sub child id> - <name> - <code>
    I want to display the results like in below format with applying some indent style to distinguish parent\ child\sub-child relationship.
    <parent id> - <name> - <code>
    <child id> - <name> - <code>
    <child id> - <name> - <code>
    <sub child id> - <name> - <code>
    <sub child id> - <name> - <code>
    <child id> - <name> - <code>
    <child id> - <name> - <code>
    <sub child id> - <label> - <code>
    <child id> - <name> - <code>
    <child id> - <name> - <code>
    Please assist me on foumulating results as expected.

    BOL has a good example of doing this in the CTE topic.  See http://technet.microsoft.com/en-us/library/ms175972%28v=sql.105%29.aspx Here is a slightly modified
    version of what is in BOL.
    CREATE TABLE #MyEmployees
    EmployeeID smallint NOT NULL,
    FirstName nvarchar(30) NOT NULL,
    LastName nvarchar(40) NOT NULL,
    Title nvarchar(50) NOT NULL,
    DeptID smallint NOT NULL,
    ManagerID int NULL,
    CONSTRAINT PK_EmployeeID PRIMARY KEY CLUSTERED (EmployeeID ASC)
    -- Populate the table with values.
    INSERT INTO #MyEmployees VALUES
    (1, N'Ken', N'Sánchez', N'Chief Executive Officer',16,NULL)
    ,(273, N'Brian', N'Welcker', N'Vice President of Sales',3,1)
    ,(274, N'Stephen', N'Jiang', N'North American Sales Manager',3,273)
    ,(275, N'Michael', N'Blythe', N'Sales Representative',3,274)
    ,(276, N'Linda', N'Mitchell', N'Sales Representative',3,274)
    ,(285, N'Syed', N'Abbas', N'Pacific Sales Manager',3,273)
    ,(286, N'Lynn', N'Tsoflias', N'Sales Representative',3,285)
    ,(16, N'David',N'Bradley', N'Marketing Manager', 4, 273)
    ,(23, N'Mary', N'Gibson', N'Marketing Specialist', 4, 16);
    ; WITH DirectReports(Name, Title, EmployeeID, EmployeeLevel, Sort)
    AS (SELECT CONVERT(varchar(255), e.FirstName + ' ' + e.LastName),
    e.Title,
    e.EmployeeID,
    1,
    CONVERT(varchar(255), e.FirstName + ' ' + e.LastName)
    FROM #MyEmployees AS e
    WHERE e.ManagerID IS NULL
    UNION ALL
    SELECT CONVERT(varchar(255), REPLICATE (' ' , EmployeeLevel) +
    e.FirstName + ' ' + e.LastName),
    e.Title,
    e.EmployeeID,
    EmployeeLevel + 1,
    CONVERT (varchar(255), RTRIM(Sort) + '| ' + FirstName + ' ' +
    LastName)
    FROM #MyEmployees AS e
    JOIN DirectReports AS d ON e.ManagerID = d.EmployeeID
    SELECT EmployeeID, Name, Title, EmployeeLevel
    FROM DirectReports
    ORDER BY Sort;
    GO
    drop table #MyEmployees;
    Tom

Maybe you are looking for

  • Profit center derivation from sales order line item  - R/3 4.7

    Hi,my scenario is below FI document generated from billing is as DR:GL1 - its not customer AR,because i post amount to one GL instead customer  (profit center is dummy) CR:GL2  (profit center is correct) i can see profit center in sales order line it

  • Menu images appear blurry

    I am using the "Reveal" theme which has several images along the left side and each of those images is pixilating even though the image size is 740x495 150dpi and RGB. The images appear OK on a TV screen but very pixilated on both Macs and PCs. How c

  • 10.4.11 update

    Has anyone installed the recent 10.4.11 update?

  • Error trying to sign up for ICloud on my IPad

    I have returned my IPad to factory settings with ITunes. When I was in the process of setting up my IPad again (through the settings icon) I went to ICloud and tried to log in. I received this notification: Device Not Supported The operation couldn't

  • BI 7 Settings

    Hi All, I am just seeing the advantages of BI 7. 1. In Bi 7, we can perform Parallelized Deletion of Requests in DataStore Objects (Data Management). Can you please suggest what is this mean. 2. Can you help me where can i see these parameters for OD