Several spreadsheet tables

Hello

I have a vi of this process, data files and saves the analysis on a new file (it's a 2D table). What is done in a loop for to allow several files to be processed with the intervention of the user. Instead of save a new file for analysis each iteration, I would record all the data analyzed in a single file. For example:

Cable #11

x y z

1 2 3

4 5 6

Cable #12

4 5 4

3-2-2

.

.

.

.

I have two problems:

I know how to insert headers, but how can I insert a string after each table?

How to record all paintings on a table? I tried to take the spreadsheet on the for function loop, but it did not work.

I'll appreciate any input,


Tags: NI Software

Similar Questions

  • Remove the performance of a large table or several small tables.

    I have a table with 30 million lines, that is used in a statistic application developed in home treatment.

    In the process, there is an application that will scan old records and then remove them from the database.

    I'm looking for a way to improve it, and I am currently faced with alternatives:

    Option #1
    Separate the old records into several smaller tables, and then run several copies of the application, a single instance of the application by the smaller table.

    Option #2
    Use additional criteria to when choosing the rows of the table (which would be indexed on), an execution mulltiple of copies of the application based on the criteria.

    From a logistical point of view, I'd prefer Option #2, my only concern with him is what's performance comparrison between:

    50 processes Delete form 50 small individual tables with 100,000 rows in each
    vs
    50 to a table with more than 30 million lines removal process

    Anyone has any experience on a preview?

    We use an instance of Oracle 9i, no partitioning.

    Unfortunately I don't have a lot of control in the application or make major changes to Oracle.

    940507 wrote:
    It redundant seams, one of the reasons why I prefer Option 2, using additional criteria...

    I just need to make sure that when 20 process attempts to remove it from the same table with 30 + million lines, the contetion on the updating of the table, index... will not introduce a point of suffocation.

    This can vary widely based on the distribution of data and model of data access. Oracle accesses data in blocks, so if someone updates an another line of the block while you delete, you could get a transaction wait. For playback from your deletion, Oracle is good, not blocking, but compromise can be a lot of waiting. If your data in the table such as two of your processes to remove from the same block, you could come back here crying on the performance and have people laugh design.

    Rather than the mud things with more java spawning process, you may need to perform these deletions by a single stored procedure with very specific criteria. Then, rather that dealing with the issues of contention, you serialize everything to go as soon as possible and reduce to a minimum the block copy and cancel demand to keep multiuser. Oracle is biased in favor of adding data instead of delete, add will always be potentially more fast-able.

    Think about this: http://jonathanlewis.wordpress.com/2011/04/19/more-cr/

  • Best approach to join several statistical tables in one

    I read different approaches to join several statistical tables in one, they all have a column 'productobjectid '.

    I want to get all the data for each product and put it in excel, then output a jpg cfchart with statistics.

    How would you do that, the part of sql?

    Thank you.

    Your "abiguous" is caused when you reference multiple tables in your SQL query that have the same field name.

    for example

    TableA a field 'ID '.

    TableB also has a field named "ID".

    If your select statement was:

    SELECT *.

    OF inner join TableA TableB on TableA.myField = TableB.myField

    WHERE ID = 4

    then SQL would be panic because he doesn't know which field ID in which table you are trying to access.  Your best bet is always prefix your domain names with the name of your table (or an alias - alias are very useful if you have long table names) when you do a Select statement.

  • How to import an array of strings of labview in DIAdem spreadsheet/table

    How to set up a model of tiara so when you use labview express of tiara, the values are imported into a table.

    I have values such as gain, cut-off frequency and success/failure that exist in tables generated by the collection of information by a system of 7 EEG electrodes.  I want to create a table/worksheet in tiara that imports the data by using the DIAdem of LabVIEW express function, in a table or spread sheet?

    Notice to lovers?

    Hi eximo.

    The express block DIAdem report makes it easy fill the text boxes and the 2D graphics in DIAdem of variables (son) in LabVIEW.  Unfortunately no paintings 2D or 3D graphics are implemented in the express block DIAdem Rerpot.  So, you have 2 options.

    Option 1: If you do not have too many channels that you want to display, you can agree that several text boxes in the form of a 2D array and the use of the DIAdem report express block as it was planned (sending data to it by sons of LabVIEW).

    Option 2: at some point as you continue to add items to your report, you'll probably end up here.  The express block DIAdem report was designed to connect wires of LabVIEW with simple reports of DIAdem.  But there is a hook that you can use to run a VBScript script rather than load a REPORT model in DIAdem report express block *. File TDR.  With a DIAdem of VBScript, you can accomplish anything in tiara.  In addition to wiring up a way to VBScript instead of a path to the REPORT model, you will also need to send all the data you want to report on a TDMS file and have DIAdem read data from this file, instead of receive data directly from the LabVIEW of wire to the terminal of express block entry.  It's a little more complicated, but it will do absolutely everything you want in DIAdem and start this report of LabVIEW.

    I enclose an example of Option 2, but I'd be willing to help you adapt to your data and reporting needs if you are going to post or email ([email protected]) your data set and a rough *. File TDR that you want in the REPORT.  It's pretty slow here at the office at Christmas, so I have time...

    Brad Turpin

    Tiara Product Support Engineer
    National Instruments

  • How - to open several spreadsheets SQL in SQL Developer 4

    I'm on environmental assessment, v 4.0.0.12.84;

    How can I open multiple worksheets SQL? Can I open multiple worksheets in a Document tab, for example?

    Thank you

    Chuck Herrick

    [email protected]

    Austin, TX

    Just keep opening of spreadsheet, right-click on a connection or use tools > SQL worksheet, the buttons of toolbar tools, or ctrl + shift + n.

    Each worksheet is own document. You can create several document groups tabs if you want to see and work on multiple worksheets simultaneously.

  • Inserting data in several related tables using the database

    Hello world
    I'm working on a BPM application using Oracle BPM 11.1.1.5.0 and JDeveloper 11.1.1.5.0.

    In my database, I have two tables, loan and guarantee that are related by a field named employeeID (PK on loan) and FK in warranty.
    Each line can have several lines of guarantee.

    At this point, I'm doing an entry form for the user to insert data in the two tables.

    I did successfully before with a single table that has no relations.

    The way I'm doing here is, after the creation of the database successfully adapter, a type of LoanCollection is created in the types module, which can be used to create business objects and data objects of.

    The problem is when I create an object of type loanCollection process data and then create a UI generated automatically on that basis, only the fields in the primary table (the Table of loan) appear in the form.
    On the other hand, if I create a business object based on the LoanSchema, the form for all of the two tables is created automatically (the loan as a form, the guarantee in a table), but then, when I try to access it in the section processing service mission which calls the database adapter, I have no access to such.
    In fact, the only type which can be used in the service task is the process based on the loanCollection data object.

    To summorize, I have to use the type of business for my UI object to include all the fields in both tables, so I have to use the data object from the collection process in the transformation of service task dialog box.
    And I can't find a way to map to another.

    Can someone help me with this please?
    Thank you very much

    Try to follow these steps.

    1. create a new module in your catalogue our BPM project management section
    2. in this new module create 3 Business Objects - (LoanBusinessObject, GuaranteeBusinessObject and GuaranteeArrayBusinessObject)
    3. Add the attributes appropriate to the LoanBusinessObject and the GuaranteeBusinessObject so that they mimic your database tables, then to the GuaranteeArrayBusinessObject add an array of type attribute GuraranteeBusinessObject
    4. now you need to create two process data objects, type loanProcessObject LoanBusinessObject and type guaranteesProcessObject GuaranteeArrayBusinessObject
    5. as inputs to your human task adds the loanProcessObject and guaranteesProcessObject, these should now be available in your data controls and can be used to auto generate the form
    6. in your dbadapter you'll then use XSL Transformation and use for each so that it will write the data to the ready table and all the line items of warranty for the warranty table.

  • Site search using several database tables

    I am able to search my site for certain keywords using a single database table for example I can search for the butterflies using butterflies search table list. However I would like to have a global search for all types of wild animals on my ex of site from visitors to the homepage can search all species with the word Green in the name. If the search function needs to look at a range of tables, for example floralist; fungilist etc. I have problems with the sort code - I'm a bio-scientist a programmer so any suggestions would be appreciated.

    Here is my code for the search using a single table:

      <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
    {
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      }
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;    
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      }
      return $theValue;
    }
    }
    $colname_search11 = "-1";
    if (isset($_POST['species'])) {
      $colname_search11 = $_POST['species'];
    }
    mysql_select_db($database_cjwebsite, $cjwebsite);
    $query_search11 = sprintf("SELECT * FROM `moths searchl ist` WHERE species LIKE %s", GetSQLValueString("%" . $colname_search11 . "%", "text"));
    $search11 = mysql_query($query_search11, $cjwebsite) or die(mysql_error());
    $row_search11 = mysql_fetch_assoc($search11);
    $totalRows_search11 = mysql_num_rows($search11);
    ?>
    


    followed by:

    <div class="results">
          <?php do { ?>
            <ul>
              <li><a href="Insects/Moths/species.php?id=<?php echo $row_search11['id']; ?>"><?php echo $row_search11['species']; ?></a></li>
            </ul>
            <?php } while ($row_search11 = mysql_fetch_assoc($search11)); ?>
          </ul>
    


    My address is www.hebridensis.co.uk

    Thank you

    Christine

    Hi Chris,

    If the fields are basically the same for all the tables, seems, it would be better to merge them into a single table of "wildlife" and add a field "category", in this way you only ever have to query this table even if several categories are added, each record would have a unique id, and you could open up opportunities to do research with no dependents drop-down menus (i.e. a drop down menu allows the user to select) a category and then will fill up with the category-based species).

    It wouldn't be too hard to create the new table, but I wonder how many other elements of your site could be affected by the change.

    Hope this helps,

    Greg

  • Cannot exp several order tables

    I use the command to clear data from several tables, but some information on the raised error and dump finished, but when I remove some of the tables below will be dump successfully, if the command is too long? If I need to export multiple tables, how can I do? Use the settings file instead?

    ================================
    EXP-00019: failure of the treatment of parameters, type 'HELP EXP = Y' help
    EXP-00000: export completed unsuccessfully
    ================================


    exp user/password@sid buffer=2000000 compress=yes recordlength=64000 tables=(Catalog_Attribute_Bool,Catalog_Attribute_Code,Catalog_Attribute_Date,Catalog_Attribute_Date_Range,Catalog_Attribute_Num,Catalog_Attribute_Num_Range,Catalog_Attribute_Group,Catalog_Attribute_Object,Catalog_Attribute_Str_EnPoint_Attribute_Bool,Point_Attribute_Code,Point_Attribute_Date,Point_Attribute_Date_Range,Point_Attribute_Num,Point_Attribute_Num_Range,Point_Attribute_Group ,Point_Attribute_Object,Point_Attribute_Str_EnBucket_Attribute_Bool,Bucket_Attribute_Code,Bucket_Attribute_Date,Bucket_Attribute_Date_Range,Bucket_Attribute_Num,Bucket_Attribute_Num_Range,Bucket_Attribute_Group,Bucket_Attribute_Object,Bucket_Attribute_Str_En) query=\"where supplier_id in (select supplier_id where trunc(L_Upd_Date) > to_date('2008-12-22','YYYY-MM-DD'))\" file=d:/cw.dmp.base.attr

    Hellio,

    Create a parameter file and lanuch export using the settings file, another question query clause attribute is applied to all tables or others. I don't think its list of your table, also try the export help without query parameter using the parfile

    parfile filename.par name of user and password exp =

    #filename.par
    buffer = 2000000
    Compress = yes
    RecordLength = 64000
    tables is Catalog_Attribute_Bool, Catalog_Attribute_Code, Catalog_Attribute_Date, Catalog_Attribute_Date_Range, Catalog_Attribute_Num, Catalog_Attribute_Num_Range.
    Catalog_Attribute_Group, Catalog_Attribute_Object, Catalog_Attribute_Str_EnPoint_Attribute_Bool, Point_Attribute_Code, Point_Attribute_Date, Point_Attribute_Date_Range,
    Point_Attribute_Num, Point_Attribute_Num_Range, Point_Attribute_Group, Point_Attribute_Object, Point_Attribute_Str_EnBucket_Attribute_Bool, Bucket_Attribute_Code,
    Bucket_Attribute_Date, Bucket_Attribute_Date_Range, Bucket_Attribute_Num, Bucket_Attribute_Num_Range, Bucket_Attribute_Group, Bucket_Attribute_Object, Bucket_Attribute_Str_En)
    query =------"where supplier_id in (select supplier_id where trunc (L_Upd_Date) > to_date('2008-12-22','YYYY-MM-DD')) \" -you do not have escape \ if you use parfile. "
    queue = CW.dmp.base.attr

    Here are some restrictions for the query parameter
    The QUERY parameter cannot be specified for the complete user or tablespace mode exports.
    The QUERY parameter must be applicable to all the specified tables.
    The QUERY parameter cannot be specified in a direct path export (DIRECT = y)
    Cannot specify the QUERY parameter for tables with nested tables inside.
    You cannot determine the contents of the export file if the data is the result of a QUERY to export.

  • Update of the end of the year in a spreadsheet table

    Hello

    I'm moving my way up a feature of CLD screws (specially the one ATM) at a time, until now I managed to implimenting most of things but I'm stuck in the account keep scenario: how I balance update ((subtract) withdraw or deposit (add)) the element (lines and columns)?

    in other words, how can I automate the process of searching in a table 2d for an element (stored in the column 'n') and to replace the item in column n + 1 on the same line?

    Thank you.

    Watch Index Array, table 1, D and replace table subset of research as part of your solution.

  • Several 2-table join

    Hello

    I'm trying to join 4 tables in one column and I would return starting with the select statement.

    Tables-> e_sehir

    -> e_pano

    -> e_haberlesme_unitesi

    -> e_io_modulu


    common point

    e_sehir.ID -> e_pano.sehir_ID

    e_sehir.ID -> e_haberlesme_unitesi .sehir_ID

    e_sehir.ID -> e_io_modulu .sehir_ID


    I try to write code below but return of same value. Help me please

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

    / * Formatted on 10/11/2015 12:51:59 AM (PS5 v5.256.13226.35538) * /.

    SELECT S.name,

    COUNT (p.id),

    COUNT (hu.id),

    COUNT (io.id)

    Of e_pano p

    INNER JOIN e_sehir s ON P.IL_ID = s.ID

    INNER JOIN e_haberlesme_unitesi hu ON s.ID = HU. IL_ID

    INNER JOIN e_io_modulu io ON s.ID is IO. IL_ID

    GROUP BY (s.name);

    On my phone, so excuse the formatting.

    In general, I do not count indictment join if I select this table, I use where exists, which may force the optimizer to use loops nested with short circuit. The optimizer will always prefer the concatenation (optimizer speak for union all) in the resolution of the data set, but there are always dependencies on the data and indexes, in any case, I would expect something as below can be quite fast:

    Select sum (pcount) as pcount, sum (hcount) as hcount, sum (ecount) as ecount

    de)

    Select pcount County (p.id), to_number (null) hcount, to_number (null) ecount,

    of e_pano p

    where exists (select null

    of s e_sehir

    where s.id = p.il_id)

    Union of all the

    Select the value null, count (hu.id), null

    of e_haberlesme_unitesi hu

    where exists (select null

    s e_sehir

    where s.id = hu.il_id

    Union of all the

    Select null, null, count (io.id)

    of e_io_modulu io

    where exists (select null

    of s e_sehir

    where s.id = io.il_id)

    )

  • Large partition table with the primary key referenced by several child tables

    I tested this procedure and it works perfectly. Although when children tables refer to the key column, after execution of dbms_redefinition.finish_redef_table they all are referring to table exercised. In test I deal forced FK droped on tables children and recreated them. What could be the best way to do this in this scenario?

    Thanks for all comments/opinions!

    Are you sure? You should end up with the original FK constraint (disabled and renamed to have a prefix of $$ TMP) pointing to the staging table (which is of course the famous original table), and allowed a new constraint with the correct name, pointing to the new version of the table. so all you need to do to bring order to the top is to remove the constraint of renamed.

    This running-in of the SCOTT schema clearly indicates:

    create the table deptint in select * from dept where 1 = 2;

    exec dbms_redefinition.start_redef_table (user, 'dept', 'deptint')

    n number of var

    exec dbms_redefinition.copy_table_dependents (user, "dept', 'deptint', DBMS_REDEFINITION.") CONS_ORIG_PARAMS, TRUE, TRUE, TRUE, TRUE,: n)

    Print n

    exec dbms_redefinition.finish_redef_table (user, 'dept', 'deptint')

    Select CONSTRAINT_NAME, CONSTRAINT_TYPE, TABLE_NAME, user_constraints STATE;

  • FRAGMENTATION applied on several logical Tables does NOT WORK as expected

    Dear all,

    I have the below scenario implemented that does not work as expected.

    I have a logic Table LT1 (SUN) which is being implemented based on two physical Tables PT1 and PT2 (PT1 and PT2 are DIMS). LT1 has two of LTS, LTS1 and LTS2 implemented PT1 and PT2, respectively. Fragmentation is applied based on the ID of the system Source the PT1 and PT2 are loaded from different source systems. The granularity of the Tables physical is the same.

    Likewise, we have LT2 (DIM), which is implemented in two Tables of physics more and Fragmentation is applied in the Source systems function ID.

    We have an other TIMES DIM on which fragmentation is not applied.

    All of the above tables are linked to the fact (also physical and logical).

    I filter the data for TIME_DIM. Year = 2014 in all scenarios below.

    Scenario1: This solution works as expected when I shoot columns of LT1, SUN as well as the fact of TIME. (YEAR = 2014 is passed in the WHERE clause of queries UNION ALL 2, which is OK)

    Scenario2: This solution is also works very well when I shoot columns of LT2, SUN as well as the fact of TIME. (YEAR = 2014 is passed in the WHERE clause of queries UNION ALL 2, which is OK)

    Scenario 3: When I pull the LT1, LT2, SUN report, done TIME and filter the data for TIME_DIM. Year = 2014, the report does NOT WORK as expected. (Filter on YEAR = 2014 is not passed in UNION All queries in this scenario)

    When I build the model above (for scenario 3) report, it does not go as planned. Do not throw any error, it displays incorrect as results as physical demand generated by the BI server is not correct. Some of the filters is past the TIME SUN are not injected at the request of physics.

    Someone come in this scenario, no solution to the above is greatly appreciated. Thanks in advance

    Kind regards

    Madhav P.

    This is the bug in OBIEE 11 g of product. Oracle has provided the patch for the same and it is absolutely working fine now.

    Kind regards

    Madhav P.

  • query to display data in table with several detail table

    Hi all

    I have a few cases with a table header that have more than 3 table of detail, and I have to generate the query to show all the data horizontally.

    tblHdr have column A (PK)

    tblDtl1 have column A (FK), B (PK)

    tblDtl2 have column A (FK), C (PK)

    tblDtl3 have column A (FK), D (PK)

    and I need a query to display data like this:

    AB1C3D1
    AB2C4D2
    AC5D3
    AC6

    all the Details of the table should display data based on the relationship of tblHdr (A).

    tblDtl1 have only 2 rows of data for the FK A

    tblDtl2 just for FK 4 lines of data

    tblDtl3 only 3 lines of data for the FK A

    Another example:

    AB1C1D1
    AB2C2
    A

    B3

    tblDtl1 only 3 lines of data for the FK A

    tblDtl2 have only 2 rows of data for the FK A

    tblDtl3 have only 1 rows of data for the FK A

    Please shed some light. for the record, I'll use this query in ADF, so I'll put using PLSQL in second priority.  I prefer to do it in the SQL query.

    Thank you

    Here are 3 ways. First test of data:

    drop table ta purge;
    create table ta as
    SELECT 'A' AS A FROM dual
    union all
    select 'B' from dual;
    
    drop table tb purge;
    create table tb as
    SELECT 'A' AS A, 'B1' AS B FROM dual
    UNION ALL
    SELECT 'A', 'B2' FROM dual ;
    
    drop table tc purge;
    create table tc as
    SELECT 'A' AS A, 'C1' AS C FROM dual
    UNION ALL
    SELECT 'A', 'C2' FROM dual
    UNION ALL
    SELECT 'A', 'C3' FROM dual
    UNION ALL
    SELECT 'A', 'C4' FROM dual ;
    
    drop table td purge;
    create table td as
    SELECT 'A' AS A, 'D1' AS D FROM dual
    UNION ALL
    SELECT 'A', 'D2' FROM dual
    UNION ALL
    SELECT 'A', 'D3' FROM dual;
    

    Now 3 solutions: full join, group by and pivot:

    with b as (
      select a, b,
      row_number() over(partition by a order by b) rn
      from tb
    )
    , c as (
      select a, c,
      row_number() over(partition by a order by c) rn
      from tc
    )
    , d as (
      select a, d,
      row_number() over(partition by a order by d) rn
      from td
    )
    select a, b, c, d
    from ta left join b using(a)
    full join c using(a, rn)
    full join d using(a, rn)
    order by a, rn;
    
    select a, max(b) b, max(c) c, max(d) d
    from (
      select a, null b, null c, null d, 1 rn
      from ta
      union all
      select a, b, null, null,
      row_number() over(partition by a order by b) rn
      from tb
      union all
      select a, null, c, null,
      row_number() over(partition by a order by c) rn
      from tc
      union all
      select a, null, null, d,
      row_number() over(partition by a order by d) rn
      from td
    )
    group by a, rn
    order by a, rn;
    
    select A,B,C,D from (
      select 'A' tab, a, null val, 1 rn from ta
      union all
      select 'B' tab, a, b,
      row_number() over(partition by a order by b) rn
      from tb
      union all
      select 'C' tab, a, c,
      row_number() over(partition by a order by c) rn
      from tc
      union all
      select 'D' tab, a, d,
      row_number() over(partition by a order by d) rn
      from td
    )
    pivot(max(val) for tab in('B' B, 'C' C, 'D' D))
    order by a, rn;
    
    A B C D
    A B1 C1 D1
    A B2 C2 D2
    A C3 D3
    A C4
    B

    Personally, I would prefer to view the data by using a 'join the union', in order to avoid the impression that the different detail records are related somehow.

    select ta.a, b, c, d
    from tb full join tc on 1=0
    full join td on 1=0
    right join ta on ta.a in (tb.a, tc.a, td.a);
    
    A B C D
    A B1
    A B2
    A C1
    A C2
    A C3
    A C4
    A D1
    A D2
    A D3
    B
  • Several possability table constraint?

    master_table_1 (report_id) single

    master_table_2 (report_id) single

    child_table_1 (report_id) not unique

    You can create an FK constraint on child_table_1 where the report_id can exist on one of the master_tables?

    You can't do that with a standard foreign key.

    Without knowing the details - I'd probably looking to change the design instead of using a trigger. Assuming that there is at least a few common attributes - create a parent table and using views if you want objects that can be used to represent your two existing parent tables.

  • INSERT ALL - several problem table insertion

    There are three tables A, B, C. A has three rows. He made table B + 1 rank. B has two rows, made of table C + 1 rank. C has a single line.

    SQL > SELECT * FROM A;

    C1 C2

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

    1          1

    2          2

    3          3

    SQL > SELECT * FROM B;

    C1 C2

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

    1          1

    2          2

    SQL > SELECT * FROM C;

    C1 C2

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

    1          1

    I need to write a single query that puts equal lines for all tables. I use INSERT ALL WHEN the method but get after errors:

    SQL > INSERT ALL

    2 WHAT A.c1 NOT IN (SELECT c1 FROM B) THEN

    3 IN THE VALUES of B (A.c1, A.c2)

    4 WHAT A.c1 NOT IN (SELECT c1 OF C) THEN

    5 IN C (A.c1, A.c2) VALUES

    6. SELECT c1, c2 FROM has;

    IN THE VALUES of C (A.c1, A.c2)

    *

    ERROR on line 5:

    ORA-00904: "A". "" C2 ": invalid identifier

    However when I change the names of columns in table all and change the clause INSERT ALL. I was able to run it:

    SQL > select * from a;

    A1 A2

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

    1          1

    2          2

    3          3

    SQL > select * from b;

    B1 B2

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

    1          1

    2          2

    SQL > select * from c;

    C1 C2

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

    1          1

    SQL > INSERT ALL

    2. WHAT A1 NOT IN (SELECT B1 OF B) THEN

    3 IN THE VALUES OF B (A1, A2)

    4. WHEN A1 NOT IN (SELECT C1 OF C) THEN

    5 IN THE VALUES OF C (A1, A2)

    6 SELECT A1, A2 OF A;

    3 lines were created.

    My question is: what is the error with the previous syntax? Y at - it no INSERT ANY State restrictions.

    Please remove '.' in the insert statement. No need using table alias.

    INSERT ALL

    C1 — WHEN NOT IN (SELECT c1 FROM B) THEN

    IN VALUES B (c1, c2)

    WHEN NOT IN (SELECT c1 OF C) c2 CAN

    IN THE VALUES of C (c1, c2)

    (SELECT c1, c2 FROM (A);

    As you can see, you do not use aliases in second statement INSERT ALL

    Concerning

    Mr. Mahir Quluzade

Maybe you are looking for

  • How do I Change reorganize my favorites or manage by creating folders?

    For Firefox Mobile: How I do or I even to edit or reorder my list of bookmarks or manage by creating categories of records? I can't able to rearrange my favorites moving them upwards or downwards?

  • Calls to scam of supposed "Windows Support".

    I live in the United States and received a phone call today from someone who claims to be from Windows Support and the Canada.  They said that my computer sent error reports and that 85% of my software has been altered.  They said they had a difficul

  • Add to the data model

    I know that you can add to a data model to help myDataModel.append(data) Is there an equivalent of the function to add data to the beggening of a data model?

  • Administrator account disabled unable to open a session

    I count only one connection of have (had) who was a Director for win 7 ultimate.  This account is invalid.  I tried to reset my computer with win 7 installation disk (restore).  It will not work.  I tried to boot into 'safe mode '... It does not work

  • Where to place the files .xls and .doc on SD card to E2?

    Howdy, I have searched but did not find a thread that explains the file structure that Palm uses on SD cards so that all .xls and .doc files are located when the card is inserted.  I tried to put it in the root directory of the card and which did not