Separate tables

I have a 1 d table, and I want to divide it into two. I.e. first array will contain index(0,2,4,6,8...). Second table will contain index(1,3,5,7...). I try to avoid a for or while loop, but it is difficult to understand just with the table functions.

Thanks for any suggestions.

Decimate table 1 d

Tags: NI Software

Similar Questions

  • Problem: Build a VI to display a string in the table of the lights. Each letter must be posted in a separate table and letters must move from one table to the other in the direction from left to right.

    Hi all

    Problem: Build a VI to display a string in the table of the lights. Each letter must be posted in a separate table and letters must move from one table to the other in the direction from left to right.

    I did program mentioned above but it does not work. Can you tell me what is the problem?

    There is no error is indicated in the program. If someone knows about it please try to find solutions and help me out of this problem.

    I have attached my program with this message.

    Thank you in advance!

    (1) FOR loops are your friend here.  You can make a slight restructuring using loops, and then you will have less mess to deal with, the inner loop through tunnels of autoindexing to make it even simpler.

    (2) I would only treat the numeric values of the characters.  So go terminal of control of the chain, the capital letters and byte array to before the outer loop.  You can use a size of Board over there to tell how many times the outer loop to iterate.

    (3) the Index table is extensible.  So you only need over the index of the first, and it will increment itself, as it develops.

    (4) you need to finish the lookup table (table 3D)

  • How to divide a string into an array of strings in separate tables

    Greetings,

    I have an array of strings which displays strings in a text file. I read each line of the text file and put it in an element of the matrix of the chain.

    Now, I'm trying to divide each string for each part of the chain, then put in a separate table. Each element in the chain is separated by a comma. I hit a brick wall at this point and would like to help please?

    The purpose of this is so that I have 4 tables that will be ready their item values and set variables based on these values until I went through all the elements in each array.

    Attached example.

    Also my VI is attached.

    Thanks in advance for your help.

    Then just use Index Array on 2D array provided.

  • How to compare data from the two table column by column and connect the result compared to the separate table

    Hello experts...

    I'm new to this forum and Oracle coding complex.

    I have a task in which I want to compare two tables with the same structure, same columns. My Oracle database is 11g Release 2. I want this column-by-column comparison and save the result in a separate table. (say result_table)

    The structure of the table would be as follows:

    SQL > desc emp;

    Name                                      Null?    Type

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

    EMPNO NOT NULL NUMBER 4

    ENAME VARCHAR2 (10)

    JOB                                                VARCHAR2(9)

    MGR                                                NUMBER(4)

    HIREDATE DATE

    SAL                                                NUMBER(7,2)

    COMM                                               NUMBER(7,2)

    DEPTNO NUMBER (2)

    SQL > emp_comp desc;

    Name                                      Null?    Type

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

    EMPNO NOT NULL NUMBER 4

    ENAME VARCHAR2 (10)

    JOB                                                VARCHAR2(9)

    MGR                                                NUMBER(4)

    HIREDATE DATE

    SAL                                                NUMBER(7,2)

    COMM                                               NUMBER(7,2)

    DEPTNO NUMBER (2)

    Both of the tables EMPNO is the primary key.

    I want to compare these two tables based on the EMPNO (EMPNO even is both tables).

    The result log table would be as follows:

    SQL > create table result_table

    2 (check_sr_no, number (5),)

    table_name 3 varchar2 (30),

    ROW_ID 4 varchar2 (20).

    column_name 5 varchar2 (20).

    6 column_data varchar2 (1000).

    compared_by 7 varchar2 (10));

    Table created.

    SQL > alter table result_table

    2 Add the constraint result_table_pk

    3 primary key (check_sr_no);

    Modified table.

    The name of the table and the name of the column will not be hardcoded (based parameter by user)

    I tried to use the dbms_comparison package, but do not find comparison of column to column.

    I also used by using the query operator LESS. It's showing the difference in rank.

    I also went to https://asktom.oracle.com/pls/apex/f?p=100:11:0:P11_QUESTION_ID:2151582681236

    Your help will be very appreciated.

    Thank you

    DK

    Tom Kyte has answered this question MANY times over the years. Here are links for its solution

    https://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:4934799800346640847

  • Table names are stored in a separate table; How can I use the domain as table name?

    Dear Experts,

    My version of oracle is,

    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production

    PL/SQL Release 9.2.0.1.0 - Production

    CORE 9.2.0.1.0-Production

    AMT for 32-bit Windows: Version 9.2.0.1.0 - Production

    NLSRTL Version 9.2.0.1.0 - Production

    I stored the table names in a separate table as

    Table name: all_table

    Fields are: table_id, table_name, desc

    record of the sample: 1, EMP, EMPLOYMENT DETAILS

    Now I want to select all the contents of a perticular table, his name is all_table.

    (ie)

    Select * from (select table_name from all_table where table_id = 1);

    But it is not listing the details of the EMP table.  Its poster simply the name of the field "EMP".

    Please help me in this regard.

    Hello

    Whenever you make dynamic SQL statements, you must place the dynamic whole statement in a single string variable.  When debugging, display this string before running it.  If you get a runtime error that will show you the statement he makes, which often made the obvious cause.  For example:

    DECLARE

    CURSOR c IS

    SELECT table_name

    From user_tables;

    CNT NUMBER;

    sql_txt VARCHAR2 (1000);

    BEGIN

    FOR ut IN t

    LOOP

    sql_txt: = 'SELECT COUNT (*).

    || « DE » ' || t.table_name | '"';

    dbms_output.put_line (sql_txt |) "= sql_txt"); -For debugging

    EXECUTE IMMEDIATE sql_txt INTO cnt;

    dbms_output.put_line (' Table: ')

    || t.table_name

    || ' ('

    || CNT

    || "lines)"

    );

    END LOOP;

    END;

    /

    You can comment the put_line extra call when you are convinced that sylvie statement works.

    If you have non-standard table names (for example, names that contain spaces) you must place the names of the tables in double - quotes, as I did above.

  • Urgent - how to separate incorrect load records and put it in a separate table

    We won't be a requirement in ODI 11 g of the customer each time a wrong record execution flow shud is met rather separate shud of those records in a table of errors as well as at the end of the charge of the management of errors we shud be left with all the documents (with the exception of incorrect records) in the target table and these records incorrect shud be there in a separate table of error.
    The definition of the incorrect records may include the size of a column or data type incompatible between the source table and target. How to implement this strategy in ODI of error handling, or is it one out of the box solution that we can leverage it please help.

    Thank you and best regards,
    SBV

    Published by: user13133733 on December 23, 2011 04:45

    Hi, SBV,.

    Please find my answers below,

    I tried the steps suggested, however I have some doubts:
    1. what all data exceptions (for example, violation of constraint primary key etc.) are dealt with in this mechanism?

    Yes, you can manage PK, FK, check violations of constraints etc. with CKM.

    2. If there is a difference in size between the source and target table column it will work? (I know because I tried it and it will give error before completing the I$ table, because I$ is created according to the source).

    You're right column size incompatibilities will not be captured under the property default CKM.

    Also, I get an error in the creation of the SNP_CHECK_TAB step. In my case, ODI's by default making a query like "create table. SNP_CHECK_TAB", now this period (.) before SNP_CHECK_TAB is what makes an invalid table name and that is why this step is a warning (not an error), but to the next step (delete previous checksum) is to launch a mistake because this step is also looking at. Table SNP_CHECK_TAB who's not here.

    Please help me here the whole issue. I don't know why he does this default query I freshly impoted the CKM Oracle and used.

    It's coz there is no physical schema by DEFAULT not defined on your target data server.

    Open Manager, topology-> Phy architecture-> -> -> develop, open your physical schema and check DEAFULT.

    Thank you
    Guru

  • Import an XML level 3 in 3 separate tables

    Hello

    I read some interesting discussions of Odie where he had several great solutions for this. However, I could not solve those in a solution of work for my challenge, so I was wondering if some could give me another push in the back. I look like a huge post, but I'm not able to attach files so it is all copied in corn so I guess that very easy to understand what I'm trying to achieve.

    Based on the example XML file that I expect to get:
    7 records in the INVOICE table
    8 records in table USR
    14 records in the PRODUCTS table.

    But I do not know how... I am very happy if someone could help me.

    I have a XML file with 3 levels (invoice, user, product) and I want to store these 3 separate tables in and of course create references between these entities.
    I add 3 things in this post:
    DB version:
    Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE Production 11.1.0.7.0
    AMT for 64-bit Windows: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production

    Tables in which I would like to store the information: (if changes are needed is OK)
    CREATE THE TABLE GOA_DOCS. INVOICE
    (
    SUBID NUMBER,
    STYPE VARCHAR2 (20 BYTE),
    VARCHAR2 (20 BYTE) GENDER,
    FNAME VARCHAR2 (50 BYTE),
    MNAME VARCHAR2 (50 BYTE),
    LNAME VARCHAR2 (50 BYTE),
    STREET VARCHAR2 (75 BYTE),
    NUMBER OF HOUSENO,
    HOUSENOADD VARCHAR2 (20 BYTE),
    ZIP VARCHAR2 (20 BYTE),
    CITY VARCHAR2 (50 BYTE),
    COUNTRY VARCHAR2 (50 BYTE)
    PHONE VARCHAR2 (20 BYTE),
    VARCHAR2 (20 BYTE) MOBILE,
    E-MAIL VARCHAR2 (20 BYTE),
    ACCOUNT BANK VARCHAR2 (20 BYTE),
    BANKACCOWNER VARCHAR2 (50 BYTE),
    PAYMENTTYPE NUMBER,
    NUMBER OF PAYMENTINTERVAL
    FDATE VARCHAR2 (20 BYTE),
    NUMBER OF CURRENTPERIOD,
    YEAR SCHOOL VARCHAR2 (20 BYTE).
    VARCHAR2 (75 BYTE) PRODUCTS,
    USERS VARCHAR2 (750 BYTE)
    )
    TABLESPACE DOCUMENTEN
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE)
    64K INITIALS
    ACCORDING TO 1 M
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    DEFAULT USER_TABLES
    )
    NOLOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING;

    CREATE THE TABLE GOA_DOCS. USR
    (
    THE USER ID NUMBER,
    TYPE VARCHAR2 (20 BYTE),
    FNAME VARCHAR2 (50 BYTE),
    MNAME VARCHAR2 (50 BYTE),
    LNAME VARCHAR2 (50 BYTE),
    NUMBER OF SAPID,
    SCHOOL VARCHAR2 (50 BYTE),
    VARCHAR2 (20 BYTE) EDATE,
    VARCHAR2 (750 BYTE) PRODUCTS,
    SUBID NUMBER
    )
    TABLESPACE DOCUMENTEN
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE)
    64K INITIALS
    ACCORDING TO 1 M
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    DEFAULT USER_TABLES
    )
    NOLOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING;

    CREATE THE TABLE GOA_DOCS. OUR
    (
    PRODID NUMBER,
    NAME VARCHAR2 (50 BYTE),
    NUMBER OF THE MOMENT,
    NUMBER OF AMOUNT,
    NUMBER OF UNIT PRICE,
    TOTALPRICE NUMBER,
    INVOICETYPE VARCHAR2 (20 BYTE),
    VAT VARCHAR2 (20 BYTE),
    THE USER ID NUMBER
    )
    TABLESPACE DOCUMENTEN
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE)
    64K INITIALS
    ACCORDING TO 1 M
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    DEFAULT USER_TABLES
    )
    NOLOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING;

    Example XML file: (I removed some TAGS with sensitive information)
    <? XML version = "1.0" encoding = "ISO-8859-1? >
    < INVOICE >
    < INVOICE >
    < SUBID > 90011302 < / SUBID >
    Parent < STYPE > < / STYPE >
    Female < SEX > < / TYPE >
    B < FNAME > < / FNAME >
    < MNAME / >
    Baart < LNAME > < / LNAME >
    < PAYMENTTYPE > 2 < / PAYMENTTYPE >
    < PAYMENTINTERVAL > 2 < / PAYMENTINTERVAL >
    < FDATE > 2011 - 12 - 08 < / FDATE >
    < CURRENTPERIOD > 2 < / CURRENTPERIOD >
    < year SCHOOL > 2011-2012 < / year SCHOOL >
    < PRODUCTS / >
    < USER >
    < USER >
    < username > 80018011 < / USERID >
    Student of < TYPE > < / TYPE >
    Lidewij < FNAME > < / FNAME >
    < MNAME / >
    Baart < LNAME > < / LNAME >
    < SAPID > 80001960 < / SAPID >
    Boldinghschool M.M. < SCHOOL > < / SCHOOL >
    < EDATE / >
    < PRODUCTS >
    < PRODUCT >
    < PRODID > 93 < / PRODID >
    < NAME > Halfvolle chocolademelk 200 ml < / NAME >
    < TIME > 2 < / TIME >
    < AMOUNT > 41 < / AMOUNT >
    < UNITPRICE > 38 < / UNIT price >
    < > 1558 TOTALPRICE < / TOTALPRICE >
    credit of < INVOICETYPE > < / INVOICETYPE >
    Laag < VAT > < / VAT >
    < / PRODUCT >
    < PRODUCT >
    < PRODID > 703307 < / PRODID >
    < NAME > Halfvolle melk 200 ml < / NAME >
    < TIME > 2 < / TIME >
    < AMOUNT > 41 < / AMOUNT >
    < UNITPRICE > 36 < / UNIT price >
    < > 1476 TOTALPRICE < / TOTALPRICE >
    debit < INVOICETYPE > < / INVOICETYPE >
    Laag < VAT > < / VAT >
    < / PRODUCT >
    < / PRODUCT >
    < / USER >
    < / USERS >
    < / INVOICE >
    < INVOICE >
    < SUBID > 90011326 < / SUBID >
    Parent < STYPE > < / STYPE >
    Female < SEX > < / TYPE >
    R < FNAME > < / FNAME >
    < MNAME / >
    < LNAME > JC-lalmahomed < / LNAME >
    < PAYMENTTYPE > 2 < / PAYMENTTYPE >
    < PAYMENTINTERVAL > 2 < / PAYMENTINTERVAL >
    < FDATE > 2011 - 12 - 08 < / FDATE >
    < CURRENTPERIOD > 2 < / CURRENTPERIOD >
    < year SCHOOL > 2011-2012 < / year SCHOOL >
    < PRODUCTS / >
    < USER >
    < USER >
    < username > 80018092 < / USERID >
    Student of < TYPE > < / TYPE >
    Seyyed < FNAME > < / FNAME >
    < MNAME / >
    JC < LNAME > < / LNAME >
    < SAPID > 80002007 < / SAPID >
    Parkiet < SCHOOL > < / SCHOOL >
    < EDATE / >
    < PRODUCTS >
    < PRODUCT >
    < PRODID > 702632 < / PRODID >
    < NAME > Campina glass rolled vruchten 200 ml < / NAME >
    < TIME > 2 < / TIME >
    < AMOUNT > 51 < / AMOUNT >
    < UNITPRICE > 38 < / UNIT price >
    < > 1938 TOTALPRICE < / TOTALPRICE >
    debit < INVOICETYPE > < / INVOICETYPE >
    Laag < VAT > < / VAT >
    < / PRODUCT >
    < PRODUCT >
    < PRODID > 703307 < / PRODID >
    < NAME > Halfvolle melk 200 ml < / NAME >
    < TIME > 2 < / TIME >
    < AMOUNT > 51 < / AMOUNT >
    < UNITPRICE > 36 < / UNIT price >
    < > 1836 TOTALPRICE < / TOTALPRICE >
    credit of < INVOICETYPE > < / INVOICETYPE >
    Laag < VAT > < / VAT >
    < / PRODUCT >
    < / PRODUCT >
    < / USER >
    < / USERS >
    < / INVOICE >
    < INVOICE >
    < SUBID > 90011548 < / SUBID >
    Parent < STYPE > < / STYPE >
    Female < SEX > < / TYPE >
    < FNAME > A < / FNAME >
    Van < MNAME > < / MNAME >
    Loo < LNAME > < / LNAME >
    < PAYMENTTYPE > 2 < / PAYMENTTYPE >
    < PAYMENTINTERVAL > 2 < / PAYMENTINTERVAL >
    < FDATE > 2011 - 12 - 08 < / FDATE >
    < CURRENTPERIOD > 2 < / CURRENTPERIOD >
    < year SCHOOL > 2011-2012 < / year SCHOOL >
    < PRODUCTS / >
    < USER >
    < USER >
    < username > 80018607 < / USERID >
    Student of < TYPE > < / TYPE >
    Ricardo < FNAME > < / FNAME >
    < MNAME / >
    Ramaker < LNAME > < / LNAME >
    < SAPID > 80000863 < / SAPID >
    SCHOOL <>Achtbaan < / SCHOOL >
    < EDATE / >
    < PRODUCTS >
    < PRODUCT >
    < PRODID > 703307 < / PRODID >
    < NAME > Halfvolle melk 200 ml < / NAME >
    < TIME > 2 < / TIME >
    < AMOUNT > 30 < / AMOUNT >
    < UNITPRICE > 36 < / UNIT price >
    < > 1080 TOTALPRICE < / TOTALPRICE >
    credit of < INVOICETYPE > < / INVOICETYPE >
    Laag < VAT > < / VAT >
    < / PRODUCT >
    < / PRODUCT >
    < / USER >
    < / USERS >
    < / INVOICE >
    < INVOICE >
    < SUBID > 90011555 < / SUBID >
    Parent < STYPE > < / STYPE >
    Female < SEX > < / TYPE >
    J. < FNAME > < / FNAME >
    < MNAME / >
    Dijkman < LNAME > < / LNAME >
    < PAYMENTTYPE > 1 < / PAYMENTTYPE >
    < PAYMENTINTERVAL > 2 < / PAYMENTINTERVAL >
    < FDATE > 2011 - 12 - 08 < / FDATE >
    < CURRENTPERIOD > 2 < / CURRENTPERIOD >
    < year SCHOOL > 2011-2012 < / year SCHOOL >
    < PRODUCTS / >
    < USER >
    < USER >
    < username > 80018618 < / USERID >
    Student of < TYPE > < / TYPE >
    Tess < FNAME > < / FNAME >
    < MNAME / >
    Dijkman < LNAME > < / LNAME >
    < SAPID > 80009575 < / SAPID >
    Burcht < SCHOOL > < / SCHOOL >
    < EDATE / >
    < PRODUCTS >
    < PRODUCT >
    < PRODID > 702633 < / PRODID >
    < NAME > Optimel drink 200 ml framboos < / NAME >
    < TIME > 2 < / TIME >
    < AMOUNT > 42 < / AMOUNT >
    < UNITPRICE > 38 < / UNIT price >
    < > 1596 TOTALPRICE < / TOTALPRICE >
    credit of < INVOICETYPE > < / INVOICETYPE >
    Laag < VAT > < / VAT >
    < / PRODUCT >
    < / PRODUCT >
    < / USER >
    < / USERS >
    < / INVOICE >
    < INVOICE >
    < SUBID > 90011597 < / SUBID >
    Parent < STYPE > < / STYPE >
    Female < SEX > < / TYPE >
    E.J. < FNAME > < / FNAME >
    < MNAME / >
    Sebok < LNAME > < / LNAME >
    < PAYMENTTYPE > 2 < / PAYMENTTYPE >
    < PAYMENTINTERVAL > 2 < / PAYMENTINTERVAL >
    < FDATE > 2011 - 12 - 08 < / FDATE >
    < CURRENTPERIOD > 2 < / CURRENTPERIOD >
    < year SCHOOL > 2011-2012 < / year SCHOOL >
    < PRODUCTS / >
    < USER >
    < USER >
    < username > 80018711 < / USERID >
    Student of < TYPE > < / TYPE >
    Wort < FNAME > < / FNAME >
    < MNAME / >
    Sebok < LNAME > < / LNAME >
    < SAPID > 80006071 < / SAPID >
    Basisschool Montini < SCHOOL > < / SCHOOL >
    < EDATE / >
    < PRODUCTS >
    < PRODUCT >
    < PRODID > 702633 < / PRODID >
    < NAME > Optimel drink 200 ml framboos < / NAME >
    < TIME > 2 < / TIME >
    < AMOUNT > 39 < / AMOUNT >
    < UNITPRICE > 38 < / UNIT price >
    < > 1482 TOTALPRICE < / TOTALPRICE >
    credit of < INVOICETYPE > < / INVOICETYPE >
    Laag < VAT > < / VAT >
    < / PRODUCT >
    < PRODUCT >
    < PRODID > 703307 < / PRODID >
    < NAME > Halfvolle melk 200 ml < / NAME >
    < TIME > 2 < / TIME >
    < AMOUNT > 52 < / AMOUNT >
    < UNITPRICE > 36 < / UNIT price >
    < > 1872 TOTALPRICE < / TOTALPRICE >
    debit < INVOICETYPE > < / INVOICETYPE >
    Laag < VAT > < / VAT >
    < / PRODUCT >
    < / PRODUCT >
    < / USER >
    < / USERS >
    < / INVOICE >
    < INVOICE >
    < SUBID > 90011631 < / SUBID >
    Parent < STYPE > < / STYPE >
    Female < SEX > < / TYPE >
    < FNAME > I < / FNAME >
    < MNAME / >
    Vliese < LNAME > < / LNAME >
    < PAYMENTTYPE > 1 < / PAYMENTTYPE >
    < PAYMENTINTERVAL > 1 < / PAYMENTINTERVAL >
    < FDATE > 2011 - 12 - 08 < / FDATE >
    < CURRENTPERIOD > 9 < / CURRENTPERIOD >
    < year SCHOOL > 2011-2012 < / year SCHOOL >
    < PRODUCTS / >
    < USER >
    < USER >
    < username > 80034981 < / USERID >
    Student of < TYPE > < / TYPE >
    Lyandra < FNAME > < / FNAME >
    < MNAME / >
    Vliese < LNAME > < / LNAME >
    < SAPID > 80002299 < / SAPID >
    Dominicus < SCHOOL > school < / SCHOOL >
    2011-11-30 < EDATE > < / EDATE >
    < PRODUCTS >
    < PRODUCT >
    < PRODID > 702633 < / PRODID >
    < NAME > Optimel drink 200 ml framboos < / NAME >
    < TIME > 1 < / TIME >
    < AMOUNT > 123 < / AMOUNT >
    < UNITPRICE > 38 < / UNIT price >
    < > 4674 TOTALPRICE < / TOTALPRICE >
    credit of < INVOICETYPE > < / INVOICETYPE >
    Laag < VAT > < / VAT >
    < / PRODUCT >
    < PRODUCT >
    < PRODID > 702633 < / PRODID >
    < NAME > Optimel drink 200 ml framboos < / NAME >
    < TIME > 2 < / TIME >
    < AMOUNT > 123 < / AMOUNT >
    < UNITPRICE > 38 < / UNIT price >
    < > 4674 TOTALPRICE < / TOTALPRICE >
    credit of < INVOICETYPE > < / INVOICETYPE >
    Laag < VAT > < / VAT >
    < / PRODUCT >
    < / PRODUCT >
    < / USER >
    < USER >
    < username > 80053302 < / USERID >
    Student of < TYPE > < / TYPE >
    Tany < FNAME > < / FNAME >
    < MNAME / >
    Vliese < LNAME > < / LNAME >
    < SAPID > 80002976 < / SAPID >
    SCHOOL <>BS Joh. of Graaff < / SCHOOL >
    2011-11-30 < EDATE > < / EDATE >
    < PRODUCTS >
    < PRODUCT >
    < PRODID > 702633 < / PRODID >
    < NAME > Optimel drink 200 ml framboos < / NAME >
    < TIME > 1 < / TIME >
    < AMOUNT > 127 < / AMOUNT >
    < UNITPRICE > 38 < / UNIT price >
    < > 4826 TOTALPRICE < / TOTALPRICE >
    credit of < INVOICETYPE > < / INVOICETYPE >
    Laag < VAT > < / VAT >
    < / PRODUCT >
    < PRODUCT >
    < PRODID > 93 < / PRODID >
    < NAME > Halfvolle chocolademelk 200 ml < / NAME >
    < TIME > 2 < / TIME >
    < AMOUNT > 101 < / AMOUNT >
    < UNITPRICE > 38 < / UNIT price >
    < > 3838 TOTALPRICE < / TOTALPRICE >
    credit of < INVOICETYPE > < / INVOICETYPE >
    Laag < VAT > < / VAT >
    < / PRODUCT >
    < / PRODUCT >
    < / USER >
    < / USERS >
    < / INVOICE >
    < INVOICE >
    < SUBID > 90014733 < / SUBID >
    Parent < STYPE > < / STYPE >
    < SEX > unknown < / TYPE >
    M.J. < FNAME > < / FNAME >
    < MNAME / >
    Artiel < LNAME > < / LNAME >
    < PAYMENTTYPE > 2 < / PAYMENTTYPE >
    < PAYMENTINTERVAL > 1 < / PAYMENTINTERVAL >
    < FDATE > 2011 - 12 - 08 < / FDATE >
    < CURRENTPERIOD > 9 < / CURRENTPERIOD >
    < year SCHOOL > 2011-2012 < / year SCHOOL >
    < PRODUCTS / >
    < USER >
    < USER >
    < username > 80024315 < / USERID >
    Student of < TYPE > < / TYPE >
    Rey < FNAME > < / FNAME >
    < MNAME / >
    Artiel < LNAME > < / LNAME >
    < SAPID > 80002292 < / SAPID >
    SCHOOL <>Blijberg < / SCHOOL >
    < EDATE / >
    < PRODUCTS >
    < PRODUCT >
    < PRODID > 703307 < / PRODID >
    < NAME > Halfvolle melk 200 ml < / NAME >
    < TIME > 1 < / TIME >
    < AMOUNT > 102 < / AMOUNT >
    < UNITPRICE > 36 < / UNIT price >
    < > 3672 TOTALPRICE < / TOTALPRICE >
    credit of < INVOICETYPE > < / INVOICETYPE >
    Laag < VAT > < / VAT >
    < / PRODUCT >
    < PRODUCT >
    < PRODID > 703307 < / PRODID >
    < NAME > Halfvolle melk 200 ml < / NAME >
    < TIME > 2 < / TIME >
    < AMOUNT > 80 < / AMOUNT >
    < UNITPRICE > 36 < / UNIT price >
    < > 2880 TOTALPRICE < / TOTALPRICE >
    credit of < INVOICETYPE > < / INVOICETYPE >
    Laag < VAT > < / VAT >
    < / PRODUCT >
    < / PRODUCT >
    < / USER >
    < / USERS >
    < / INVOICE >
    < / INVOICES >

    However, this directory exists on my local machine and it will perhaps exist on DB server?

    Indeed, a directory object Oracle should point to a location on the DB server, or elsewhere on the network, the server can reach.

  • compare amounts of two separate tables to each other.

    I have two tables
     table pants
    
    id amt
    1 50
    1 50
    1 50
    
    
    table jacket
    
    id amt
    1  50
    1  50
    1  50
    
    when i do a select  of say 
    
    
    SELECT  a.id, b.id   SUM(a.amt),sum(b.amt) from pants a, jacket b WHERE A.ID = B.ID group by a.id, b.id 
    
    
    /* i get a really awkaward result i can't understand what im doing wrong*/
    I would get a single line with the result set


    an a.mt b b.amt
    1 1 150 150


    but instead my amount in duplicate like 3 or four times. like the 450 and 450?
    I tried to use SEPARATE on the sql, but I got no where can someone throw me a BONE here.
    Thanks in advance.

    That's what you want...

    sudhakar@ORCL>-- Sample data in virtual tables
    sudhakar@ORCL>with pants as
      2  (select 1 id, 50 amt from dual union all
      3  select 1 id, 50 amt from dual union all
      4  select 1 id, 50 amt from dual)
      5  ,jacket as
      6  (select 1 id, 50 amt from dual union all
      7  select 1 id, 50 amt from dual union all
      8  select 1 id, 50 amt from dual)
      9  -- Actual QUERY
     10  select aid, bid, aamt, bamt
     11  from
     12  (SELECT  a.id aid,   SUM(a.amt) aamt from pants a group by a.id) pants_summary
     13  inner join
     14  (SELECT  b.id bid,   sum(b.amt) bamt from  jacket b group by  b.id ) jacket_summary
     15   on( pants_summary.aid = jacket_summary.bid)
     16   ;
    
           AID        BID       AAMT       BAMT
    ---------- ---------- ---------- ----------
             1          1        150        150
    
    sudhakar@ORCL>
    

    pre
    Sudhakar B.

  • Remove the same instance of two separate tables online

    Hi all

    I have two tables that each repeatable lines. Both tables must display almost the same information in each case of the line (I managed to code to link the values in specific cases of the lines). However, I added a button in the repeatable row, which allows the user to remove from the current instance of the line, so will they look back and realize that they do not need a line, they can take directly from the table. However, I can't seem to get the deletion affects the same instance of row of the second table. Is it possible to do this? I'm not terribly familiar with the instance Manager.

    Any help would be greatly appreciated. I just can't understand how to identify a specific instance of the repeatable row in table 2.

    Hello

    Removing instances in the event of an object that is inside the instance, you must ensure that you remove this particular instance at the end of the event.

    For example:

    If you delete the instance that the button is on the inside before finishing the entire event, the program will not recognize what event is to finish because you have removed it from the object that is triggered...

    You try here at the end of the code that no longer exists...

    I suggest that you still need to delete the instance (this) object at the end of any event to make sure to complete all your actions before deleting the object.

    I hope this helps!

  • separate table and figure numbering sequences

    I need to a few pointers and guideance on how to set up automatic numbering for tables and figures separately.  As is the case, the sequence number ahead of the use by a table or figure.  For example, table 1, Figure 2, Figure 3, table 4.    What I need in this case, it is table 1, Figure 1, Figure 2, table 2.

    Steve,

    The easisest way is to use what is called an indicator of the series for you the sequence of automatic numbering. It is a single letter to the star of automatic numbering. As a general rule, we can use F: to figures and T: for tables. FM will then number these flows differently. You can make things more complicated in your configuration (and much easier for authors) by using a matrix of numbers where the parent title tags reset low counters (which is what Peter was referring to).

    See:

    http://www.freeframers.org/archive/99/msg00281.html

    http://help.Adobe.com/en_US/FrameMaker/9.0/using/WSF176D8C8-8133-4860-88E3-AF69262623F0.ht ml

    http://www.techcomplus.com/reference/Autonumbering.PDF

    http://www.MicroType.com/resources/articles/AUTONUM_DE.PDF

    http://www.InfoCon.com/files/AUTONUM.PDF

  • Populate a drop-down list based on selected in a drop-down list in a separate table

    Good day all.

    This may seem a simple question for most, but... He had me frustrated trying to figure out.

    I'm trying to fill in a drop-down list that is based on what is selected in another drop-down list.

    Let me explain what I've done so far.

    Life cycle of Designer 8.05.2

    When I got the two drop-down lists in the same table, I've not had a problem. The code I used is

    The table name is "table1".

    if (directorate.rawValue == '1')

    {

    division.clearItems ();

    division.addItem ("select" "")

    }

    I was asked to move things and now 'division' is located in 'Table2 '.

    I know that I need the "Table1" reference, but I'm running into a syntax error. I tried the following code;

    if (Table1 Row1 directorate.rawValue == '1')

    {

    division.clearItems ();

    division.addItem ("make a choice")

    }

    if (Table1.Row1.directorate.rawValue == '1')

    {

    division.clearItems ();

    division.addItem ("make a choice")

    }

    Any help would be appreciated

    Chomp

    You are missing a semicolon at the end of the line, addItem, and the second code example, you have no periods in the SOM (Table1 Row1 direction) reference.

    The best way to get the path to another field is to ctrl-click on the ground while you are in the script editor.

  • index in the separate table space

    Hello

    in separate indexes improves performance if yes then how?

    810345 wrote:
    good article but my question is different from maintaining index in separate tablespace how to increase performance?

    This isn't. Separating the data and the indexes to improve performance is a myth.

  • Link Image to user in a separate table

    I am building a dynamic image gallery where users can upload pictures to your profile for customers to view. The images are stored in a file with the path to the image stored in another table that details for the user. So far, I managed to make the image upload and link the user ID in the table of Images to the ID of the table Details so that all the images associated with that user is tied to its registration in the Details table. My problem comes when joining these two tables for a Recordset. I managed to join them, only that each record with more than one associated image it displays more than once. Therefore, if user 1 uploaded two images, his record comes back twice in the results. Suggestions as to how I can force the query to show all the records only once no matter how much images uploaded this user?

    Hope it makes sense. Thank you

    Cedric

    reandre68 wrote:

    I don't want to copy the methods of facebook, but this proves only that there is a simpler way to do it.

    What makes you think that the back-end of Facebook is simple? What makes a site like Facebook success makes the simple front-end for users, while hiding the complexity behind the scenes.

    One of the difficulties to provide assistance in a forum like this is that there is no way to know the level of the other person of knowledge or to what extent, on the road, they left with a particular strategy. It sounds as if you start just with PHP and database-driven sites. It's challenging and often frustrating time. I remember the problems that I had to try to get my head around how best to structure a database. What makes it difficult is that there is no single "right" way to do. Each database is different. You could develop a database that works very well; but when you decide to add additional features, you will discover that the structure is too rigid. This happened to me with a major project that I've worked on several years.

    The best advice on the use of the databases, I received was to spend a lot of time planning not only what you want the database to do so now, but also what you can do in the future. The encoding takes a small proportion of the total time spent on the design of the project. A book that really helped was "Database Design for mere mortals". The author writes style is a bit tedious, but the information is solid as a rock.

    Good luck with your redesign.

  • Pseudo-classes: how to apply the different link colors in two separate table cells

    How can I add the link for these two cells status styles?

    Foot table is in an include file

    The current code is:

    < table width = "800" border = "0" align = "center" cellpadding = "0" cellspacing = "0" >
    < b >
    < class td = "tdfooter1" > < a href = "index.php" > home < /a > |  < a href = "about.php" > about our company < /a > |  < a href = "clients.php" > customers < /a > |  < a href = "partners.php" > our partners < /a > |  < a href = "contact.php" > contact us < /a > < table >
    < /tr >
    < b >
    < class td = "tdfooter2" > data Copyright 2010 carpet & amp; Carpet |  < a href = "terms.php" > terms of use < /a > |  < a href = "privacy.php" > < /a > privacy statement < table >
    < /tr >
    < /table >

    Current CSS is:

    {.tdfooter1}
    do-family: Tahoma;
    do-size: 12px;
    color: #FFFFFF;
    background-color: #666666;
    text-align: center;
    height: 30px;
    }
    {.tdfooter2}
    do-family: Tahoma;
    do-size: 12px;
    background-color: #CCCCCC;
    text-align: center;
    text-transform: capitalize;
    height: 30px;
    }

    Lack of variations, and any help will be really appreciated

    .tdfooter1 a: link {...

    .tdfooter1 a: visited {...

    .tdfooter1 a: hover {...

    .tdfooter1 a: active {...

    .tdfooter2 a: link {...

    .tdfooter2 a: visited {...

    .tdfooter2 a: hover {...

    .tdfooter2 a: active {...

  • How can I make a separate Table of Multiplication?

    Table of Multiplication to make this Code: -.


    BEGIN
    FOR I IN 1... 12 LOOP
    DBMS_OUTPUT. PUT_LINE ('-['])
    || I have
    ||'] ----------------------');

    FOR J FROM 1... 12 LOOP
    DBMS_OUTPUT. PUT_LINE (I
    ||' *'
    || J
    ||' ='
    || I * J);
    END LOOP;
    END LOOP;
    END;
    /

    ---------------------[1]----------------------
    1 * 1 = 1
    1 * 2 = 2
    1 * 3 = 3
    1 * 4 = 4
    1 * 5 = 5
    1 * 6 = 6
    1 * 7 = 7
    1 * 8 = 8
    1 * 9 = 9
    1 * 10 = 10
    1 * 11 = 11
    1 * 12 = 12
    ---------------------[2]----------------------
    2 * 1 = 2
    2 * 2 = 4
    2 * 3 = 6
    2 * 4 = 8
    2 * 5 = 10
    2 * 6 = 12
    .................. ......................
    .................. .......................
    11 * 7 = 77
    11 * 8 = 88
    11 * 9 = 99
    11 * 10 = 110
    11 * 11 = 121
    11 * 12 = 132
    ---------------------[ 12 ]----------------------
    12 * 1 = 12
    12 * 2 = 24
    12 * 3 = 36
    12 * 4 = 48
    12 * 5 = 60
    12 * 6 = 72
    12 * 7 = 84
    12 * 8 = 96
    12 * 9 = 108
    12 * 10 = 120
    12 * 11 = 132
    12 * 12 = 144

    PL/SQL procedure successfully completed.
    =====================

    It's good, but I want to change my code to perform a distinct results.
    meaning precise, if this result produce (1 * 12 = 12) that I do not have it repeat
    Once again as (12 * 1 = 12) or (2 * 6 = 12)... ect.

    are there any suggest?

    Simply store your results in a table of hash and before the arrival of output, if the results have already been produced.

    declare
      type res_t is table of number index by binary_integer;
      results res_t;
    begin
      for i in 1 .. 12 loop
        dbms_output.put_line('---------------------[' || i ||
                             ']----------------------');
        for j in 1 .. 12 loop
          if not results.exists(i * j)  then
            dbms_output.put_line(i || '*' || j || '=' || i * j);
            results(i * j) := i * j;
          end if;
        end loop;
      end loop;
    end;
    

    Best regards

    Maxim

Maybe you are looking for

  • HP officejet pro 8610

    Hi all! New to this forum... I just buy the hp officejet pro 8610 with instant ink package. In addition, I do not use the wireless instead, I am using Ethernet. Y at - he no from lessions of the forum to be able to use this printer with rather wired

  • Z420: accidentally deleted the recovery partition

    Accidentally deleted the Partition D:Recovery on my win machine 7 Z420. I have HP recovery disks: System Recovery, Driver Recovery DVD, 8.1Pro operating system and operating system Win 7 pro sp1.  The use of these will recreate the partition D automa

  • (Redirected) Vosteo 3400 close unexpectedly

    Hello community, I am mohd rizal from miri, sarawak, Malaysia. I want to share the knowledge of my current problem with the computer laptop vostro 3400. Before I continue to write that these i would ask you apologize if my English is not fluent. Now

  • Software BlackBerry RIM Device Manager.exe - Application error

    This error code is displayed whenever I closed my laptop- The Instruction at 0x6514a8F2 referenced memory at 0 x 00000484 The memory could not be reached Any ideas out there, a difficulty? KR

  • Question of Image system

    I have 10 computers which are all identical.  I took one and set up how I want them all to be (add software, custimiztions, etc.  Then, I created an Image using the Image of this one and then reconstituted system to another machine.  It worked perfec