Splitting the tables in the tables more

Hello world

I couldn't find a similar problem on the forum, hency my new post. I have a number of paintings in need of splitting.

Say I have data stored in 4 tables (or columns), appointed IGS, VGS, VDS and IDS. These four columns each have n * 80 cells, where n is the number of measures. What I want to do is to have the n number of times IGS, CGS, IDS and VDS, where each table is only 80 cells long. Thus, when displayed in Excel for example, the first row would look like:

IGS VGS IDS VDS VGS ID VDS IGS VGS GHI...

Thanks a lot for help.

You can start by finding the size of you individual tables, IGS, CGS, IDS and VDS.  I guess they would be of the same size.  Divide size by 80 and that's your hand for loop index.  Use the subset of table VI and shoot 80 pieces of each array element.  Once you have the 80 item chucks you can set up another loop on the berries and build the table 1 d longer with an Array function construction with a CONCATENATE entry-level feature.  Using shift registers and another function of matrix to build to add the following line in the main table.

I think that's what you wanted.

Tags: NI Software

Similar Questions

  • How to get a list of the tables more fragmented in Oracle?

    Is there a SQL on how to get a list of the tables more fragmented in the Oracle DBMS?

    Update the statistics on the table and try this, you should see very fragmented tables upstairs with high wasted_space.

    select table_name,round((blocks*8),2) "size (kb)" ,
                                round((num_rows*avg_row_len/1024),2) "actual_data (kb)",
                                (round((blocks*8),2) - round((num_rows*avg_row_len/1024),2)) "wasted_space (kb)"
    from dba_tables
    where (round((blocks*8),2) > round((num_rows*avg_row_len/1024),2))
    order by 4 desc
    

    I changed the query a little because the ORDER BY will not work if we concat | ' Ko ' with the column because this makes the output a character column data.
    And added a WHERE condition to see that these tables where the total size is greater than the actual size of data.

    Published by: zahid79 on July 23, 2010 13:40

  • split the 2D table to make a xy chart

    I need to plot some points in these graphs, but I don't know how to do this. In this example I send, I need to draw all this points, but don't need to draw straight on the first point of the next value. I need to split the input array.

    Andrebiffe wrote:

    And there is always the possibility of these lines with different colors?

    You simply create separate locations for each segment. If we can assume that all segments have the same length, the code can be considerably simplified, for example as follows. If we cannot assume that, you can try changing my previous code. Shouldn't be too difficult.

  • How to split the screen with 2 or more apps

    How do I split the screen when I have 2 or more open applications?

    Here are the instructions for use, two Mac apps side by side in split - view Apple Support

  • Query SQL to split the lines based on the amount

    I have the data in the following format in the table.

    ORDER_ID PRODUCT_ID QUANTITY

    O1 A1   3

    I need to write the sql query to divide the data in following format:

    ORDER_ID PRODUCT_ID QUANTITY

    O1 A1   1

    O1 A1   1

    O1 A1   1

    Query must split the data based on the value in the quantity column.

    Thank you

    Developer

    Hello

    create table order_items (
      order_id varchar2(2),
      product_id varchar2(2),
      quantity number
    )
    ;
    insert into order_items values ('O1', 'A1', 3)
    ;
    -- Recursive Subquery Factoring
    with item(order_id, product_id, quantity) as (
      select
        order_id, product_id, quantity
      from order_items
      union all
      select
        order_id, product_id, quantity - 1
      from item
      where quantity > 1
    )
    select
      order_id, product_id, 1 quantity
    from item
    order by order_id
    ;
    drop table order_items purge
    ;
    
    Table ORDER_ITEMS created.
    
    1 row inserted.
    
    OR PR   QUANTITY
    -- -- ----------
    O1 A1          1
    O1 A1          1
    O1 A1          1
    
    Table ORDER_ITEMS dropped.
    
  • How to make the query more efficient

    Hi all

    I use the following query in my app that works very well. Although I'm not an expert in PL/SQL, can someone please suggest how can I make the query more efficient? Because I use the same contract for every query table. Only difference is that in the name of the condition column. Again I am showing same column comments for each request. I was wondering if I can join these 3 and do 1 single request if possible

    DECLARE
    v_CONTRACTNO varchar2(100);
    v_CHILDCONTRACTNO varchar2(100);
    v_SOURCESYSTEM varchar2(100);
    
    BEGIN
    begin
    SELECT comments
    into v_CONTRACTNO
    from user_col_comments
      where TABLE_NAME = 'CONTRACT'
    and COLUMN_NAME = 'CONTRACTNO';
    end;
    begin
    SELECT comments
    into v_CHILDCONTRACTNO
    from user_col_comments
      where TABLE_NAME = 'CONTRACT'
    and COLUMN_NAME = 'CHILDCONTRACTNO';
    end;
    begin
    SELECT comments
    into v_SOURCESYSTEM
    from user_col_comments
      where TABLE_NAME = 'CONTRACT'
    and COLUMN_NAME = 'SOURCESYSTEM';
    end;
    END;
    

    Thanks in advance...

    Concerning

    Nabila

    Hi, Nabila,

    The nabila Islam wrote:

    Hi all

    I use the following query in my app that works very well. Although I'm not an expert in PL/SQL, can someone please suggest how can I make the query more efficient? Because I use the same contract for every query table. Only difference is that in the name of the condition column. Again I am showing same column comments for each request. I was wondering if I can join these 3 and do 1 single request if possible

    1. DECLARE
    2. v_CONTRACTNO varchar2 (100);
    3. v_CHILDCONTRACTNO varchar2 (100);
    4. v_SOURCESYSTEM varchar2 (100);
    5. BEGIN
    6. Start
    7. SOME comments
    8. in v_CONTRACTNO
    9. of user_col_comments
    10. where TABLE_NAME = 'CONTRACT '.
    11. and COLUMN_NAME = 'CONTRACTNO ';
    12. end;
    13. Start
    14. SOME comments
    15. in v_CHILDCONTRACTNO
    16. of user_col_comments
    17. where TABLE_NAME = 'CONTRACT '.
    18. and COLUMN_NAME = 'CHILDCONTRACTNO ';
    19. end;
    20. Start
    21. SOME comments
    22. in v_SOURCESYSTEM
    23. of user_col_comments
    24. where TABLE_NAME = 'CONTRACT '.
    25. and COLUMN_NAME = 'SOURCESYSTEM ';
    26. end;
    27. END;

    Thanks in advance...

    Concerning

    Nabila

    Of course, you can get all 3 values in a query.  Here's one way:

    SELECT contractno, childcontractno, sourcesystem

    IN v_contractno, v_childcontractno, v_sourcesystem

    Of user_col_comments

    PIVOT (MIN (comments)

    FOR column_name IN ('CONTRACTNO' AS contractno

    'CHILDCONTRACTNO' AS childcontractno

    'SOURCESYSTEM' AS sourcesystem

    )

    )

    WHERE table_name = 'CONTRACT '.

    ;

    But I doubt that it makes things very slow.   If your PL/SQL performance is poor, I suspect that the cause is somewhere that you haven't posted.

  • splits the string into 3 parts

    Hello

    I have a requirement to split the string into 3 different room example inf.ethz.ch should be subdivided into inf ethz ch in 3 different column

    We have table called email within this column contains all identification of email we need to divide email with dot (.) in different columns and display please suggest how to implement in the query

    Thank you

    Sudhir

    Use REGEXP_SUBSTR:

    SQL > with t as (select ' inf.ethz.ch' double txt)
    2 Select regexp_substr (txt,'[^.] +') part_1,.
    3 regexp_substr (txt,'[^.] +', 1, 2) part_2,.
    4 regexp_substr (txt,'[^.] +' 1, 3) part_3
    5 t
    6.

    BY PARTY PA
    --- ---- --
    INF ethz ch

    SQL >

    Or you can use SUBSTR + Instr.

    SY.

  • Concatenate and split the string

    Hi all

    Is there some how we can split the string like this "1 | ~ | Diego | Maradona | ~ | Footballer | The Argentina.

    in the table of 3 elements: '1', ' Diego | Maradona', ' football '. The Argentina.

    Here is my code
    public static void main(String args[]){
              System.out.println("========USE SPLIT========== " );
                   String data = "1 |~| Diego|Maradona |~| Footballer|Argentina";
                 String[] items = data.split(" |~| ");
                 for (String item : items)
                 {
                      System.out.println("item = " + item);
                 }
                 StringTokenizer tok = new StringTokenizer(data," |~| ");
                 System.out.println("========USE TOKENIZER========== " );
                 while(tok.hasMoreElements()){
                      System.out.println("item = " + tok.nextToken());
                 }
              
         }
    and put it is:
    = USE SPLIT =.
    Item = 1
    Item = |
    Item = |
    Item = Diego | Maradona
    Item = |
    Item = |
    Item = football | Argentina
    = USE TOKENIZE =.
    Item = 1
    Item = Diego
    Item = Maradona
    Item = footballer
    Item = Argentina

    Published by: mycoffee on February 1, 2011 06:49

    Split() takes a regular expression. ' | ' has a special meaning in regular expressions.

    Try to use

    " \\|~\\| "
    

    as the argument of split()

  • Run (or re-run) orders in the SQL * more buffer

    I'm confused about sql / command. by defination, it run (or re-run) orders in the SQL * more buffer. How do I know if it execete or re - run a command?
    for example, I run a select statement, seems that I have to type / for the result. When I run a create table statement, it seems to run twice with / and table I is error.

    Someone could clearify when must - be used and when not to use it.

    As suggested Aman, that's the difference between a pl/sql block and a SQL statement (DDL or DML).

    The semicolon is therefore not a part of SQL when you enter a statement SQL, SQL * Plus knows and will execute the statement as soon as she sees a point comma (which ends with the statement), or slash (run the buffer).

    But a semicolon is a pl/sql statement terminator. So when you enter a pl/sql block, SQL * Plus keeps accepting lines of code until you have finished and then send the entire block to the database when you type a slash. This is also true when you enter CREATE PROCEDURE etc.

  • Oracle regular expressions - splits the string into words for

    Hello

    Nice day!

    My requirement is to split the string into words.

    So I need to identify the new line character and the semicolon (;), comma and space like terminator for string entry.

    Please note that I am currently embedded blank and the comma as separator, as shown below.

    Select regexp_substr('test)
    TO
    string in words, "([^, [: blanc:]] +) (', 1, 1) double;"

    How to integrate the semicolons and line break characters in regular expression Oracle?

    Please notify.

    Thanks and greetings

    Sree

    This has nothing to do with REGEXP. Is SQL * more parser does not not a semicolon at the end of the line:

    SQL > select ' testto, mm\;
    ERROR:
    ORA-01756: city not properly finished chain

    SQL >

    Just break the chain:

    SQL > select regexp_substr ('testto, mm\;' |) '
    2 string into words
    3 \w+',1,level ',') of double
    4. connect by level<= regexp_count('testto,mm\;'="" ||="">
    5 string in words
    6      ','\w+')
    7.

    REGEXP_SUBSTR ('TESTTO, MM\;' |') STRINGIN
    --------------------------------------
    Testto
    mm
    string
    in
    Words

    SQL >

    Or modify SQL * more the character of endpoints:

    SQL > set sqlterm.
    SQL > select regexp_substr ('testto, mm\;)
    2 string into words
    3 \w+',1,level ',') of double
    4. connect by level<=>
    5 string in words
    6      ','\w+')
    7.

    REGEXP_SUBSTR ('TESTTO, MM\;) STRINGINTOWO
    --------------------------------------
    Testto
    mm
    string
    in
    Words

    SQL >

    SY.

  • When I click on the sign more to open a new tab. The tab opens with bing pg and I hate bing. How can I stop thiis doesn't happen.

    When I click on the sign more to open a new tab. The tab opens with bing pg and I hate bing. How can I stop thiis doesn't happen. I can find nothing to help even had a computer tech friend check.

    Looks like your pref browser.newtab.url has been changed.

    This extension will reset some prefs to the value default - browser.newtab.url - is covered. See "on this add-on" for more details.
    https://addons.Mozilla.org/en-us/Firefox/addon/SearchReset/

    It will run automatically and then disappear.

  • the sign "more" to open a new tab disappeared. That's happened?

    the sign "more" to open a new tab disappeared. That's happened? How can this be repaired?

    Try clicking on default settings in the palette to customize window.

    • Firefox '3-bar' menu button > customize
    • View > toolbars > customize
  • Where can I find the download more updated of the Windows Migration Wizard?

    Where can I find the download more updated of the Windows Migration Wizard?

    Article Apple describing the use of the Windows Migration Wizard that is located here – move your data from a Windows PC to Mac - Apple Support

    This article includes a link to the download page for the latest version and the download page is here - Migration of Windows Wizard v1.0.5.7

    It does not seem to have been updated for a couple of years and doesn't mention Windows 10. While many the most applications that are compatible with Windows 7 and 8 works perfectly under Windows 10 I can say from personal experience, if this also applies to the Windows Migration Wizard.

  • Hi, can I connect the machine to the time more than a mac?

    Hi, can I connect the machine to the time more than a mac?

    Yes. Each time backwards Machine until will settle on the Time Capsule in a separate file.

  • where is the progress bar for the logic more downloading sounds

    where is the progress bar for the logic more downloading sounds?  I would like to see how many time or content that remains to download.

    Hello

    It's been moved to a discreet place in the LCD display area.

    Click to reveal a 'progress bar' and time display

    TDC

  • iOS 9.3 cannot open the links more on safari, mail, and other messengers

    My Safari on iOS 9.2.1 (update: and now 9.3) will not open most of the links more, i.e. by typing on a link on a page does nothing. Worse, other applications like Messages, Chrome are problems when they try to open URL links.

    The common question is breaks when you tapoterez links and even Mobile Safari press and hold (to get the app open a link in a new tab), the device will freeze and eventually crashes.

    Unfortunately, this is a common problem.

    Try turning off JavaScript under settings - Safari - Advanced.

    You can find more information at the link:

    For those having issues with the iOS 9.3 update please read...

    New construction of iOS with the latest bugfixes 9.3 is now available for download [MAJ]

Maybe you are looking for