generate the subset of the decimal table to an array of Boolean

I have a decimal table 1 2 3 4 5 6, and I have a boolean with the same table size 0 1 0 1 1 0.

How can I retrieve the subset of the decimal table of the corresponding "1" position of the table of Boolean (in this case 5 4 2)?

The value of the Boolean table are editable (casting either 1 00100), so the size of the array decimal subset is not fixed (1, 4).

(I assume you mean digital Board. "Décimal" is just a specification of formatting and irrelevant for this)

Try something like the following (the FALSE case has just wired table in the whole unchanged):

(In case you're dealing with huge paintings, a few performance modifications should be made so that everything goes more in place.)

(Sorry for the spelling errors, ignore them )

Tags: NI Software

Similar Questions

  • generate the math table in a SQL

    How can I get math tables in a SQL query.

    for taking the table of 2 to 5, you can use

    Select 2 * rownum "table 2", 3 * rownum "table 3", 4 * rownum 'table 4', 5 * rownum 'table 5' from dual connect by rownum<>

  • The default tables generated views (UUT_RESULT, STEP_RESULT... and more)

    Hello

    I need an overview of the measured data, which is logical and this catalogue is put to use for further processing.
    My question is: is there the prepared tables views (UUT_RESULT, STEP_RESULT... and more) that are generated by default to the database on the SQL Server?

    Thanks for the help

    Machulda

    Machulda,

    No, he gave no views with TestStand patterns, at least I'm aware of none.

    My guess is that the views are first, perhaps according to the data provider and the actual database configuration. The schema defines the minimum configuration of the database to record data from TS, but the database can be much more complex.

    A second point is that the display of the data leaves to be desired in a different way about the use case. A table is appropriate? A graph? Don't forget that if NEITHER would provide such a view-interface, it should cover all of these options. He would become so, essentially, a new comprehensive tool like frontend for your custom database.

    I'm not saying it's impossible, but it would be much too hard to provide as an addon to 'general '...

    Norbert

  • Duplicate sections throughout the table of contents after generating the HTML5 multiscreen output

    Use: RoboHelp 10, version 10.0.0.287

    Steps to reproduce the problem:

    1. click on file > create > main layout (Multiscreen_HTML5)

    2 al ' Generate window click on [Save and Generate]

    3. wait

    4. click on [view results]

    5 results show swathes of the table of contents reproduced in other sections.  10 more times to repeat the generation before that the entire table of contents points are correct and I can publish.  This is not preventing me from doing the job, but it's certainly a time killer.

    Background: I inherited a working version.  I did not create it.  I have more knowledge of the HTML language, but I'm not a developer.  I didn't upgrade beyond RH10 option.  I have studied this many times, but have not been able to find a solution.  The only other thing I've seen sometimes are error messages related to the toctree.js file, but I still don't understand those.  Even when I have not, this past yet, but I have included this error just in case it may be related, although I suspect that it is a separate issue.  I don't currently have the line in the js file because this sample is old and I have not seen the question at least a month.

    Other Notes: I've seen a few posts on a similar question in the printed version, but, I do not have a printed version.  I don't know if that makes a difference, and do I know if anyone in the past that put in place or even where to go to watch.

    TOC_duplicates.jpg

    toctreejs_error.jpg

    Try to move the project to somewhere that the path is not so long and generate a new folder.

    See www.grainge.org for RoboHelp and Authoring information

    @petergrainge

  • Generate the DDL to create the table in the database

    Hi all

    I want to create the new fact and Stadium as being under the statement:

    (1) in the designer, access the models > Oracle BI Applications (folder) > (model) Oracle BI Applications > done (sub-model) step, right click on the WC_SAMPLE_FS data store and select duplicate the selection.

    2) double-click the new data store, and then rename it. Name and resource name must match the name of the actual table. Alias can be the same or greater value easy to use.

    (3) in the sub-tab of the columns, add all columns.

    (4) repeat the same steps to create the fact Table by copying the data store WC_SAMPLE_F under the submodel of "facts".

    (5) for the fact table, define the type of OLAP to "fact Table.

    (6) generate the DDL to create the table in the database.

    In step 6, I don't know where and how to generate the DDL to create the database table. Please help me. If you have another tutorial with screenshot, please share with me. Thank you.

    Kind regards

    Cong

    Hi Cong,

    Please see section 6.3 DDL generation of scripts in this link:

    Working with the Designer of the common Format - 11g Release 1 (11.1.1)

    I hope this helps.

    Thank you!

    Saran.

  • When I generate the table of contents from a new .book, I get blank pages between each page of the table of contents

    With FrameMaker 2015. When I generate the table of contents from a new .book, I get blank pages between each page of the table of contents, they are totally blank does not even a block of text. I click on Add> autonomous Create TOC. I keep the default settings. And that's what I'm left with.

    TOC Frame 2015 small.png

    I can get rid of them by special> Delete page. But I never had to do before the 2015 version. I tried with older files generated in frame 10. same thing. If someone has encountered this?

    Master Pages are part of each document.

    You can import master pages from another document (i.e. a ' model') in your current document using the file > import > Formats... option and select layout from the list (deselect all others).

    If you have changed the current TOC for the problem of the Page Master on the left, then simply save the file and use the Edit > update book option for that OCD regenerated by using the new page templates.

  • Determine the decimal when precision is not defined in the structure of the table

    Hi all

    I'm trying to quickly determine the decimal precision of data in more than one column of the table. Fields can simply be defined as 'Number', but always decimal of the House. I don't mean to round to a certain place of the decimal, but rather to determine the maximum number of decimal places contained in the data of a particular field.

    I wonder if anyone of you know a trick to achieve?

    Thanks for the tips!

    andy_schnelle wrote:
    Hi all

    I'm trying to quickly determine the decimal precision of data in more than one column of the table. Fields can simply be defined as 'Number', but always decimal of the House. I don't mean to round to a certain place of the decimal, but rather to determine the maximum number of decimal places contained in the data of a particular field.

    I wonder if anyone of you know a trick to achieve?

    Thanks for the tips!

    Just a guess

    LENGTH(NUMBER - TRUNC(NUMBER)) - 1
    

    Something like that?

    with zz as(
    select 1.111 x from dual union all
    select 1.1 x from dual union all
    select 1.1111 x from dual union all
    select 1.01 x from dual union all
    select 1 x from dual
    )
    select
    MAX(LENGTH(x - TRUNC(x)) - 1)
    from zz;
    
    Output -- "4"
    

    Published by: Vanessa B on February 13, 2013 02:13

  • All my attempts so far to generate the table of contents for Kindle (.mobi) failed. Can anyone help?

    I used InDesign CC to create an epub file and the TOC and the Navigation bar appear perfectly in Adobe Digital Editions (version 3.0). Then I saved the file to the IDML format open InDesign CS6 and use the Kindle Plugin to create a mobi file. I use the same style of table materials used to create the epub file, but although Kindlegen validates the file, the table of contents is unable to generate. I've been on several discussion forums and many people express problems by having their TOC displayed in Kindle Previewer. Can anyone help?

    Hello

    Kindle requires a separate html file for OCD and even must be referenced in the guide in content.opf element. In your InDesign CC document, generate the table of contents on a page and make sure the option 'Make the anchor text to the source paragraph' is checked.

    Now export the EPUB 3 file. Open EPUB in Sigil (it's a free EPUB editor of Google). Menu Goto tools-> Table of contents-> generate HTML Table of contents. This creates a new xhtml file and automatically adds the element of guidance in content.opf like this:

    Save EPUB and open directly into Kindle Previewer. Table of contents option must be turned on now and should work.

    Please try and let me know if it works.

    Kind regards

    POOJA

    InDesign engineering

  • How to generate the script to insert data tables present in a

    How to generate the script to insert data from one table in an entire schema under environment sqlplus




    with toads it please help me please!

    905310 wrote:
    How to generate the script to insert data from one table in an entire schema under environment sqlplus
    with toads it please help me please!

    The correct method by using the pump of the database or import/export or unload the data in CSV format for loading using SQL * Loader.

    Generate instructions insert with literals is very bad choices - the bind variable is missing. It will be quite slow because many other CPU cycles are spend on hard analysis. The shared pool will become fragmented. This can cause errors of memory for other applications when they attempt to analyze SQLs for cursors.

  • generate the table with a column of numbers from 1 to 999999999

    Hi all, I'm about to generate the table like this:

    Select 1 double t
    Union of all the
    Select 2 double t
    Union of all the
    Select 3 t double

    But I need up to 999999999. Could you please find more simple decision?

    858774 wrote:
    But I need up to 999999999. Could you please find more simple decision?

    Don't know exactly what you are looking for, but if you want to just set the number from 1 to 999999999, query below would:

    select level from dual  connect by level <999999999;
    

    Vivek L

  • Generate the DDL - change is a new column and I want to generate an alter table.

    All, morning

    I searched and searched all over the Data Modeler and I can't find this option... but I found it easily in the designer.
    I hope you can help me.

    V3.0.0.665 SQL Developer Data Modeler.

    I added a new column to a table, and when I generate the DDL I wish it were an alter table add column rather than a table to create.
    This feature is in the designer, so I think it would be in the Data Modeler.

    Just in case my description isn't clear, here are the high level steps, then it is clear.

    1 create logic model
    2. create the relational logic.
    3. create the physical relationship.
    4 generate the DDL and run in the database. At this point, I'm going to production with my system, and all right.
    5. at this point, we have an enhancement request. For the model, it will be a new column in a table.
    6. update of the logic model.
    7. relational update logic
    8 physical update of relational
    9 generate the DDL. Here, I would have generate it know that it needs to generate an alter table add column and does not create the table.
    This is something I do a lot as all my models are in production. I can't find how to do this step to get data Modeler to generate the altar.
    Designer done exceptionally well.

    Quite often, it is more than a single column. Changes can be many and made over time and at the time of generating the DDL you remember not every single amendment. To have the tool discover these changes for you and generate the appropriate DDL is a feature that I consider as very high.

    I hope that is clear and you can help me.

    See you soon
    Chris...

    Hi Chris,

    you need to compare your model on database - database relational model even import and use the option 'swap target' - in this case 'expressions of alter' against the database will be generated.
    You can watch demonstrations here http://www.oracle.com/technetwork/developer-tools/datamodeler/demonstrations-224554.html
    It would probably be more useful http://download.oracle.com/otn_hosted_doc/sqldev/importddl/importddl.html
    Sooner or later your changes will require the table to be recreated, and you will need to backup your data - you can consider using the 'Advanced DDL' option - script is generated that will land your table content (including LOBs) to the system of files accessible from the database and restore after changes. Well not try directly on the production system :).

    Philippe

  • Align on the decimal value in the tables

    I have a table in InDesign CS3. I apply a tab in the columns, to align all these numbers on the decimal point.

    The numbers are not mobile. It doesn't matter where I put the tab. Yes, the character to align on is '. '. It works for all my other cards. Holy hell what?

    Arrgle barrrgle,

    Chryss

    When you use the align decimal in your rule tab, you do not have specifically insert a tab character. Instead, the period acts as a tab.

    It is also important, that this only works with the text aligned to the left.

    Check out the forum for a similar position, somewhere earlier this week - Peter Spier went very far to explain exactly how to proceed.

  • When embedding the HTML table for table border does not appear even if it appears in a web browser and the tables generator

    Need help.  When I add the HTML code to integrate the following table, the border appears in the table designer and if I find the table separately from muse, but when they are incorporated into the Muse from the edge of the table is not displayed.  Any ideas what I can do wrong?

    Here is the HTML Code below:

    < style type = "text/css" >

    .TG {border-collapse: collapse; border-spacing: 0 ;}}

    .TG td {-font family: Arial, without serif; do-size: 14px; padding: 10px 5px; border-style: solid; border-width: 1px; overflow: hidden; word-break: normal ;}}

    .TG th {font family: Arial, without serif; do-size: 14px; police-weight: normal; padding: 10px 5px; border-style: solid; border-width: 1px; overflow: hidden; word-break: normal ;}}

    .TG .tg-jlrw {do-size: 16px; text-align: center}

    .TG .tg-lvl4 {police-weight: "BOLD"; do-size: 16px; do-family: Arial, Helvetica, sans! important; text-align: center}

    .TG .tg-qnmb {make-weight: bold; do-size: 16px; text-align: Center}

    .TG .tg-wm6t {make-weight: bold; do-size: 16px}

    < / style >

    < table class = "tg" style = "undefined; table-layout: fixed; Width: 875px ">"

    < colgroup >

    < style col = "width: 175px" >

    < style col = "width: 175px" >

    < style col = "width: 175px" >

    < style col = "width: 175px" >

    < style col = "width: 175px" >

    < / colgroup >

    < b >

    < class th = 'tg-lvl4' > print size < br < /th > >(Width x Height)

    < class th = "tg-qnmb" > model size < /th >

    < class th = 'tg-qnmb' > < /th > < br > security zone

    < class th = "tg-qnmb" > < br > print Code < /th >

    < class th = "tg-qnmb" > < br > < br > graphic border width (pixels) < /th >

    < /tr >

    < b >

    < class td = "tg-wm6t" colspan = "5" > cards & amp; The year-at-a-Glance calendars - 4 x 6, 4 x 8, 5 x 7, 6 x 8, & amp; 8 x 10: < table >

    < /tr >

    < b >

    < class td = "tg-jlrw" > 4 x 6 < table >

    < class td = "tg-jlrw" > 1212 x 1818 < table >

    < class td = "tg-jlrw" > 1136 x 1742 < table >

    < class td = "tg-jlrw' > 46 t < table >

    < class td = "tg-jlrw' > < table > 60

    < /tr >

    < b >

    < class td = "tg-jlrw" > 5 x 7 < table >

    < class td = "tg-jlrw" > 1515 x 2121 < table >

    < class td = "tg-jlrw" > 1439 x 2045 < table >

    < class td = 'tg-jlrw' > < table > 57(d)

    < class td = "tg-jlrw' > < table > 75

    < /tr >

    < b >

    < class td = "tg-jlrw" > 4 x 8 < table >

    < class td = "tg-jlrw" > 1224 x 2424 < table >

    < class td = "tg-jlrw" > 1148 x 2348 < table >

    < class td = "tg-jlrw" > 48 t < table >

    < class td = "tg-jlrw' > < table > 60

    < /tr >

    < b >

    < class td = "tg-jlrw" > 8 x 10 < table >

    < class td = "tg-jlrw" > 2424 x 3030 < table >

    < class td = "tg-jlrw" > 2348 x 2954 < table >

    < class td = "tg-jlrw" > 80 t < table >

    < class td = "tg-jlrw' > < table > 120

    < /tr >

    < b >

    < class td = "tg-wm6t" colspan = "5" > Important: safe area on the base prints is 38 pixels per side. < table >

    < /tr >

    < b >

    < class td = "tg-wm6t" colspan = "5" > large Format prints - Posters & Collages: < table >

    < /tr >

    < b >

    < class td = "tg-jlrw" > 6 x 8 < table >

    < class td = "tg-jlrw" > 1818 x 2424 < table >

    < class td = "tg-jlrw" > 1742 x 2348 < table >

    < class td = "tg-jlrw" > 6 x 8 < table >

    < class td = "tg-jlrw' > < table > 90

    < /tr >

    < b >

    < b >

    < class td = "tg-jlrw" > 8 x 12 < table >

    < class td = "tg-jlrw" > 2400 x 3600 < table >

    < class td = "tg-jlrw" > 2380 x 3580 < table >

    < class td = "tg-jlrw" > 8 x 12 < table >

    < class td = "tg-jlrw' > < table > 120

    < /tr >

    < b >

    < class td = "tg-jlrw" > 8 x 20 < table >

    < class td = "tg-jlrw" > 2400 x 6000 < table >

    < class td = "tg-jlrw" > 2380 x 5980 < table >

    < class td = "tg-jlrw" > 8 x 20 < table >

    < class td = "tg-jlrw' > < table > 120

    < /tr >

    < b >

    < class td = "tg-jlrw" > 10 x 14 < table >

    < class td = "tg-jlrw" > 3030 x 4242 < table >

    < class td = "tg-jlrw" > 2954 x 4166 < table >

    < class td = "tg-jlrw" > 10 x 14 < table >

    < class td = "tg-jlrw' > < table > 165

    < /tr >

    < b >

    < class td = "tg-jlrw" > 11 x 14 < table >

    < class td = "tg-jlrw" > 3300 x 4200 < table >

    < class td = "tg-jlrw" > 3280 x 4180 < table >

    < class td 'tg-jlrw' = > 14x11E-24_STN < table >

    < class td = "tg-jlrw' > < table > 165

    < /tr >

    < b >

    < class td = "tg-jlrw" > 12 x 12 < table >

    < class td = "tg-jlrw" > 3600 x 3600 < table >

    < class td = "tg-jlrw" > 3580 x 3580 < table >

    < class td = "tg-jlrw" > 12 x 12-24_STN < table >

    < class td = "tg-jlrw' > < table > 90

    < /tr >

    < b >

    < class td = "tg-jlrw" > 12 x 18 < table >

    < class td = "tg-jlrw" > 3600 x 5400 < table >

    < class td = "tg-jlrw" > 3580 x 5380 < table >

    < class td = "tg-jlrw" > 12 x 18-24_STN < table >

    < class td = "tg-jlrw' > < table > 90

    < /tr >

    < b >

    < class td = "tg-jlrw" > 16 x 20 < table >

    < class td = "tg-jlrw" > 4800 x 6000 < table >

    < class td = "tg-jlrw" > 4780 x 5980 < table >

    < class td 'tg-jlrw' = > 20x16E-24_STN < table >

    < class td = "tg-jlrw' > < table > 120

    < /tr >

    < b >

    < class td = "tg-jlrw" > 18 x 24 < table >

    < class td = "tg-jlrw" > 2700 x 3600 < table >

    < class td = "tg-jlrw" > 2680 x 3580 < table >

    < class td = "tg-jlrw" > 18 x 24-24_STN < table >

    < class td = "tg-jlrw' > < table > 135

    < /tr >

    < b >

    < class td = "tg-jlrw" > 20 x 24 < table >

    < class td = "tg-jlrw" > 3000 x 3600 < table >

    < class td = "tg-jlrw" > 2980 x 3580 < table >

    < class td 'tg-jlrw' = > 20x24E-24_STN < table >

    < class td = "tg-jlrw' > < table > 150

    < /tr >

    < b >

    < class td = "tg-jlrw" > 20 x 30 < table >

    < class td = "tg-jlrw" > 3000 x 4500 < table >

    < class td = "tg-jlrw" > 2980 x 4480 < table >

    < class td 'tg-jlrw' = > 20x30E-24_STN < table >

    < class td = "tg-jlrw' > < table > 150

    < /tr >

    < b >

    < class td = "tg-jlrw" > 24 x 36 < table >

    < class td = "tg-jlrw" > 3600 x 5400 < table >

    < class td = "tg-jlrw" > 3580 x 5380 < table >

    < class td 'tg-jlrw' = > 24x36E-24_STN < table >

    < class td = "tg-jlrw' > < table > 180

    < /tr >

    < b >

    < class td = "tg-jlrw" > 24 x 72 < table >

    < class td = "tg-jlrw" > 2328 x 6912 < table >

    < class td = "tg-jlrw" > 2308 x 6892 < table >

    < class td 'tg-jlrw' = > 24x72E-24_STN < table >

    < class td = "tg-jlrw' > < table > 115

    < /tr >

    < b >

    < class td = "tg-jlrw" > 24 x 96 < table >

    < class td = "tg-jlrw" > 2328 x 9216 < table >

    < class td = "tg-jlrw" > 2308 x 9196 < table >

    < class td 'tg-jlrw' = > 24x96E-24_STN < table >

    < class td = "tg-jlrw' > < table > 115

    < /tr >

    < class td = "tg-wm6t" colspan = "5" > Important: safe area on the base prints is 38 pixels per side. < table >

    < /tr >

    < class td = "tg-wm6t" colspan = "5" > 4 x 8 gift tags: < table >

    < /tr >

    < b >

    < class td = "tg-jlrw" > 4 x 8 < table >

    < class td = "tg-jlrw" > 1224 x 2424 < table >

    < class td = "tg-jlrw" > 1148 x 2348 < table >

    < class td = "tg-jlrw" > 48 t < table >

    < class td = 'tg-jlrw' > < table > N/A

    < /tr >

    < b >

    < class td = "tg-wm6t" colspan = "5" > Important: safe area on the base prints is 38 pixels per side. < table >

    < /tr >

    < /table >

    Once again... Muse removes the style code that you put into this table so your other option is to use an iframe

    example of your table in an iframe = table (by itself) and i-table (inside the iframe Muse)

  • The decimal separator in the model generator XML Word formatting

    Hello
    I am a model in the XML Editor, for a report of accounts receivable in the E-Business Suite. So I use MS Word with the Publisher Oracle XML model builder plug-in software component.

    The data comes from the E-Business suite by using the comma as decimal separator. For example: 123,99
    My goal is to have the period as the decimal separator. For example: 123.99
    Does anyone know what code should I use to achieve this?
    Thanks colin

    in the next time use appropriate forum - Forum: Editor of BI - BI Publisher

    >
    The data comes from the E-Business suite by using the comma as decimal separator. For example: 123,99
    My goal is to have the period as the decimal separator. For example: 123.99
    >
    use

    
    

    where VAL is tag with 123,99

  • Generate the XML file with elements and attributes in table Oracle

    Hello

    I have the following table structure.

    CREATE TABLE SPOOL
    (
    COIL_ID NUMBER (10),
    COIL_NUMBER VARCHAR2 (40),
    COIL_PO_OPERATING_UNIT VARCHAR2 (20).
    COIL_PO_NUMBER VARCHAR2 (40),
    MILL_NUMBER VARCHAR2 (2),
    MILL_COIL_STATUS VARCHAR2 (15).
    ITEM_NUMBER VARCHAR2 (40),
    COIL_WEIGHT NUMBER (38),
    WEIGHT_UOM VARCHAR2 (10),
    DOCUMENT_NUMBER VARCHAR2 (40),
    DATE OF DOCUMENT_DATE,
    DOCUMENT_STATUS VARCHAR2 (15).
    DOCUMENT_TYPE VARCHAR2 (20).
    DOCUMENT_SOURCE VARCHAR2 (20).
    TEST_ID NUMBER (38),
    NUMBER VALUE,
    TEST_UOM VARCHAR2 (20).
    TEST_STATUS VARCHAR2 (70).
    TESTER_LOGIN VARCHAR2 (20).
    EQUIPMENT_CODE VARCHAR2 (50).
    DOC_STS_MSG VARCHAR2 (600)
    )
    /
    For each record COILID, there could be several folders baased on TEST_ID/VALUE/TEST_UOM etc.

    And I would like to prepare the xml file in the following format by selecting data in the COIL?


    <? XML version = "1.0"? >
    -coil xsi: noNamespaceSchemaLocation = "www.tempel.com/COIL.xsd" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xdb = "http://xmlns.oracle.com/xdb" >
    < CoilId > 1419532 < / CoilId >
    < CoilNo > D2221050010A0 < / CoilNo >
    Changzhou < CoilPOOperatingUnit > < / CoilPOOperatingUnit >
    < CoilPONo > 4619 < / CoilPONo >
    < MillNo > 86 < / MillNo >
    Test of < MillCoilStatus > < / MillCoilStatus >
    C5 050FP800 < ItemNo > < / ItemNo >
    < weight > 7076 < / weight >
    KILOGRAM of < GLU > < / UDM >
    < DocumentNo > 0 < / DocumentNo >
    < DocumentDate > 2013 - 01 - 11 < / DocumentDate >
    < DocumentStatus > not < / DocumentStatus >
    < DocumentType > test < / DocumentType >
    CHIGMA1 < DocumentSource > < / DocumentSource >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4992" TestUnit = "mm" Status = 'NonProcessed' TestId = "135" / >
    < test DocStsMsg = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.0128" TestUnit = "mm" Status = 'NonProcessed' TestId = "124" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "12" TestUnit = "mm" Status = 'NonProcessed' TestId = "125" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.5095" TestUnit = "mm" Status = 'NonProcessed' TestId = "127" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.5042" TestUnit = "mm" Status = 'NonProcessed' TestId = "128" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.5058" TestUnit = "mm" Status = 'NonProcessed' TestId = "129" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4967" TestUnit = "mm" Status = 'NonProcessed' TestId = "130" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.5049" TestUnit = "mm" Status = 'NonProcessed' TestId = "131" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4972" TestUnit = "mm" Status = 'NonProcessed' TestId = "132" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4960" TestUnit = "mm" Status = 'NonProcessed' TestId = "133" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4996" TestUnit = "mm" Status = 'NonProcessed' TestId = "134" / >
    < / reel >

    Can you please guide me how to do it in a single query?

    Thanks in advance.

    Function EXTRACT will force a print in your version:

    SELECT XMLElement("Coil",
             XMLAttributes(
               'http://www.w3.org/2001/XMLSchema-instance' as "xmlns:xsi"
             , 'www.tempel.com/COIL.xsd' as "xsi:noNamespaceSchemaLocation"
             )
           , XMLForest(
               COIL_ID                as "CoilId"
             , COIL_NUMBER            as "CoilNo"
             , COIL_PO_OPERATING_UNIT as "CoilPOOperatingUnit"
             , COIL_PO_NUMBER         as "CoilPONo"
             , MILL_NUMBER            as "MillNo"
             , MILL_COIL_STATUS       as "MillCoilStatus"
             , ITEM_NUMBER            as "ItemNo"
             , COIL_WEIGHT            as "Weight"
             , WEIGHT_UOM             as "UOM"
             , DOCUMENT_NUMBER        as "DocumentNo"
             , DOCUMENT_DATE          as "DocumentDate"
             , DOCUMENT_STATUS        as "DocumentStatus"
             , DOCUMENT_TYPE          as "DocumentType"
             , DOCUMENT_SOURCE        as "DocumentSource"
             )
           , XMLAgg(
               XMLElement("Tests",
                 XMLAttributes(
                   DOC_STS_MSG    as "DocStsMsg"
                 , EQUIPMENT_CODE as "EquipmentCode"
                 , TESTER_LOGIN   as "TesterLogin"
                 , VALUE          as "Value"
                 , TEST_UOM       as "TestUnit"
                 , TEST_STATUS    as "Status"
                 , TEST_ID        as "TestId"
                 )
               )
             )
           ).extract('/*')
    FROM coil
    GROUP BY COIL_ID
           , COIL_NUMBER
           , COIL_PO_OPERATING_UNIT
           , COIL_PO_NUMBER
           , MILL_NUMBER
           , MILL_COIL_STATUS
           , ITEM_NUMBER
           , COIL_WEIGHT
           , WEIGHT_UOM
           , DOCUMENT_NUMBER
           , DOCUMENT_DATE
           , DOCUMENT_STATUS
           , DOCUMENT_TYPE
           , DOCUMENT_SOURCE ;
    

Maybe you are looking for

  • Journal of the iMac in question

    Hi, I have a late 2012 27 "iMac. He has recently started to generate random passwords in the log at the stage. The only solution seems to be the power down and reset the PRAM. It's happening almost daily now. This doesn't seem to be affected by the d

  • Satellite A210-16F - noise emissions

    Hi, I have a problem with the sound. The sound is "lag" and "jump-y". I try to install [new driver] [http://ce.computers.toshiba-europe.com/innovation/download_driver_details.jsp?LNG=21&service=CE&selC fulltext = 2 & selFamily = 2 & selSeries = 153 &

  • Why is - one of my photos will not be open in windows photo gallery

    You are using windows vista, none of the photos in my photo gallery of windows open when I double click to edit.  No message appears... just the hourglass as it loads the picture, but it never does.  I can open them in the paint but want to see what

  • The user profile Service has no logon (for the 2nd time)

    I have Windows Vista, and this is the 2nd time in a few months this product. The first time that I could remedy this by following this tutorial. http://www.Vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.htm

  • RINIT.exe: he executed and crashed my computer

    original title: rinit.exe Recently, I overcame a malware infection and has research on files that have been added to my computer. I kept getting a pop-up for security essentials and found out it was a program of thugs invade my computer.after find an