Is mapping dimension AWM - possible to load the data in two tables of entry?

Hi all

I have two tables ProductFamily (parent level) and products (child level).

I want to load a dimension of those tables where the parent-child relationships are maintained (I use AWM).

I created a map with these two entry tables, but the loaded data has no relationship.
So, how do I do that? Is it possible to load dimensions where different levels get data from multiple tables?
Is any type of Carpenter available in AWM?

Thank you

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

A few Notes:

-I don't want to use OWB here that my data are clean
-In AWM, when I loaded the data in a single view that contains two tables of input data, it worked fine. But it's my worst case option.

You must use Dimension option in snowflake in the mapping screen of size for the Product Dimension (as opposed to the default style mapping - star schema dimension).

This will modify map entries to include a separate parent for each level of hierarchy level / that is to say, for each level of hierarchy / (unless a higher level of the hierarchy), you must specify the parent level key in addition to the key current level, code/name/description/other attributes etc.

You can make the mapping or... use the icons at the top of the map screen.
mode drag/drop by dragging the relational column on dimension - level/hierarchy/attribute model
-or-
the table expression mapping mode that gives the same effect... by dragging a column on an attribute defined in the .

. the format of .

HTH
Shankar

Note1: Complete the mapping of a sudden... B & w switching mapping modes cause the mappings to reset.
NOTE2: assumes that your data are correct foreign key table parent level: ProductFamily exists in the child level table: products.

Tags: Business Intelligence

Similar Questions

  • Kindly help me with the request to find the data in two tables

    Hello Guru

    Kindly help me to recover the data from two tables-

    BASEBALL
    LEGAL_ENT_ID (PK)
    GAME_ID (FK)
    LEGAL_ENT_NM
    INACTIVE_DT
    DATE OF INS_TS
    INS_LOGIN
    DATE OF UPD_TS
    UPD_LOGIN


    FOOTBALL
    GAME_ID (PK)
    BRKR_NM,
    BRKR_ISR_ID
    BROKER_SYMBOL
    INACTIVE_DT
    BRKR_SWIFT_FLG
    BRKR_INTERNAL_FLG
    BRKR_CATEGORY
    UPD_TS
    MINORITY_FLG
    BROKER_TYP
    STATUS
    INS_TS
    INS_LOGIN
    UPD_LOGIN
    APP_USER
    ACTIVE_FLG

    and if I want fecth data from these two tables according to the following condition then it is fine with the suite of applications.

    1 select distinct values only table of BASEBALL by using the following query.

    SELECT DISTINCT B.GAME_ID as 'CLEARING GAME ID', B.BRKR_NM "NAME of THE GAME of COMPENSATION" OF BASEBALL A, FOOTBALL B WHERE A.BROKER_RELATION_CD IN ('FUTBRKR1', 'FUTBRKR2') AND A.GAME_ID = B.GAME_ID

    2 Select all the table BRKR_NM OF FOOTBALL as well by using the query - next

    SELECT GAME_ID "RUNNING GAME ID", 'NAME OF THE GAME OF EXECUTION' BRKR_NM SOCCER

    Now, my query is that--

    I want a query that gives me a combination of above mentioned queries... and if I tried to use Union or Union All, then she is not giving me the result as expected.

    I like the result to look like who has a few conditions such as -
    1 - the records in the table Football are high vs Baseball table because there is no condition to filter the records of the Football.
    2 - football is a superset of records and Baseball is a subset.
    3 - COMPENSATION NOM_JEU and RUNNING NOM_JEU may return the same values as well.

    I want the result to be in the following form-

    EXECUTION ID GAME | NAME OF THE GAME TO RUN. COMPENSATION ID GAME | DELETE THE NAME OF THE GAME.
    2123 test1 2345 test5
    2456 test10 2456 test10


    Thanks in advance. Kindly help me.

    Published by: user555994 on January 4, 2011 23:48

    In the output you want.
    All the values of baseball;
    Values of football that are matched;
    But on what condition you want to match?

  • loading the data into a table

    Hi master,

    I have to use sql loader...!

    The client gave the data format below.

    ****************************************************

    21, 1-Oct-2010, 31-Oct-2010, 49573, 33048, 1000, 11860

    33048 21, 1-Nov-2010, 30-Nov-2010, 49573, 1000, 9408

    1000 21, 1-Dec-2010, 31-Dec-2010, 49573, 33048,

    33048 21, jan-1-2011, 31-Jan-2011, 49573, 1000, 8520

    When I loaded through Sql loader with TOAD...

    I get lines like this...

    ************************************

    21, 1-Oct-2010, 31-Oct-2010, 49573, 33048, 1000, 11860

    TECOM Business Group,

    33048 21, 1-Nov-2010, 30-Nov-2010, 49573, 1000, 9408

    TECOM Business Group,

    21, 1-Dec-2010, 31-Dec-2010, 49573, 33048, 1000, TECOM Business Group.

    33048 21, jan-1-2011, 31-Jan-2011, 49573, 1000, 8520

    TECOM Business Group,

    There are so many (more than 50 columns) columns in my table.

    Please advise...!

    AR

    You can declare the empty fields as fields of FILLING.

    Scott@orcl12c > t DESC

    Name                                      Null?    Type

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

    COL1                                               NUMBER

    COL2                                               DATE

    COL3                                               DATE

    COL9                                               NUMBER

    Scott@orcl12c > a.ctl TYPE of HOST

    load data

    INFILE *.

    in the t table truncate

    fields ended by ',' possibly framed by "" "

    TRAILING NULLCOLS

    (

    col1,

    col2 DATE 'DD_MON-YYYY. "

    COL3 DATE 'DD_MON-YYYY. "

    COL4 FILLER,

    col5 FILLER,

    col6 FILLER,

    col7 FILLER,

    COL8 FILLER,

    col9

    )

    BEGINDATA

    33048 21, 1-Oct-2010, 31-Oct-2010, 49573,

    33048 21, 1-Nov-2010, 30-Nov-2010, 49573,

    Scott@orcl12c > HOST SQLLDR scott/tiger CONTROL = a.ctl LOG = a.log

    SQL * Loader: release 12.1.0.1.0 - Production on Sun Feb 2 10:23:28 2014

    Copyright (c) 1982, 2013, Oracle and/or its affiliates.  All rights reserved.

    Path used: classics

    Commit the point reached - the number of logical records 2

    Table T:

    2 rows loaded successfully.

    Check the log file:

    a.log

    For more information on the charge.

    Scott@orcl12c > select * from t

    2.

    COL1 COL2 COL3 COL9

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

    21 Friday, October 1, 2010 Sunday, October 31, 2010 33048

    21 Monday, November 1, 2010 on Tuesday, November 30, 2010 33048

    2 selected lines.

  • display the data in two tables.

    Hi considers the following data
    WITH table1 AS
    (
      SELECT 111 userid,  To_Date('7/31/2010','mm/dd/yyyy') dt  FROM dual UNION ALL
      SELECT 111 userid,  To_Date('8/1/2010','mm/dd/yyyy') dt  FROM dual UNION all
      SELECT 111 userid,  To_Date('8/2/2010','mm/dd/yyyy') dt FROM dual UNION ALL
      SELECT 111 userid,  To_Date('8/3/2010','mm/dd/yyyy') dt  FROM dual UNION ALL
      SELECT 111 userid,  To_Date('8/4/2010','mm/dd/yyyy') dt FROM dual UNION ALL
      SELECT 111 userid,  To_Date('8/5/2010','mm/dd/yyyy') dt  FROM dual UNION ALL
    
      SELECT 222 userid,  To_Date('2/28/2010','mm/dd/yyyy') dt  FROM dual UNION all
      SELECT 222 userid,  To_Date('3/5/2010','mm/dd/yyyy') dt  FROM dual UNION all
    
    ),
     mydates AS
    (
     SELECT To_Date('7/31/2010','mm/dd/yyyy') dt1, To_Date('8/4/2010','mm/dd/yyyy') dt2 FROM dual  UNION ALL 
     SELECT To_Date('2/28/2010','mm/dd/yyyy') dt1, To_Date('3/5/2010','mm/dd/yyyy') dt2 FROM dual 
    )
    I want to join these two tables and result the following
    DT        DT2
    7/31/2010 8/04/2010
    8/01/2010  8/01/2010
    8/02/2010  8/02/2010
    8/03/2010  8/03/2010
    8/04/2010  8/04/2010
    8/05/2010  8/05/2010
    
    2/28/2010  3/5/2010
    3/5/2010   3/5/2010
    Basically, I join two tables, take dt from table1 and look into mydates. If the data match then display dt and DM2.
    If the date in table1 does not match date in t1d in mydates, then display the data but dt and DM2 there same date.

    for example,.

    7/31 in table1 is 7/31 in mydates so I show 7/31 dt and DM2 as 8/4(from mydates).
    now 8/01 does not match all lines in my dates so dt should be 8/01 and T2D should be 8/01. same logic applies to the other lines

    can someone write a query that gives the above result? Thank you

    Hello

    If you want all lines of table1 (attached to mydates when this is possible, but even when there is no match) then use an outer join:

    SELECT     t.dt
    ,     NVL (m.dt2, t.dt)     AS dt2
    FROM          table1     t
    LEFT OUTER JOIN     mydates     m     ON     t.dt     = m.dt1
    ORDER BY     t.dt
    ;
    
  • Select the data in two tables

    Hello

    I am trying to build a query WITH, but I can't seem to make it work:

    WITH P1 AS (SELECT OT_VALUE

    OF CSD_OPEN_VERY_HIGH_INCIDENTS VHIGH

    WHERE OT_VALUE > = 0

    ). P2 AS (SELECT OT_VALUE

    OF HIGH CSD_OPEN_HIGH_INCIDENTS

    WHERE OT_VALUE > = 0

    ), SELECT VHIGH. OT_VALUE, TOP. OT_VALUE

    P1 P2 JOIN INTERNALLY. RATING = P2. RANKING

    The two tables have the same column names.

    I want to only return a set of results if the two columns (OT_VALUE) contain in reality 1.

    Select this check box. This is a job for all four images. This will return the line to the following combinations. 0.0 and 0.1 and 1.0 and 1.1. Importance is 1.2.  Let me know if you face any problem

    SELECT CASE WHEN ((VH_OT_VAL = 0 ET H_OT_VAL = 0) OR (VH_OT_VAL = 1 AND H_OT_VAL = 0) OR (VH_OT_VAL = 0 AND H_OT_VAL = 1) or (VH_OT_VAL = 1 AND H_OT_VAL = 1)) 1

    ANOTHER ACE OF NULL TERMINATOR OT_VAL

    DE)

    SELECT H.OT_VALUE H_OT_VAL,

    VH. OT_VALUE VH_OT_VAL

    OF CSD_OPEN_VERY_HIGH_INCIDENTS VH.

    CSD_OPEN_HIGH_INCIDENTS H

    WHERE NVL (VH. CLASSIFICATION, 0) = NVL(H.CLASSIFICATION,0)

    AND VH. IMPORTANCE IN (1,2)

    AND H.IMPORTANCE IN (1,2)

    AND NVL (VH. OT_GROUP, 0) = NVL(H.OT_GROUP,0)

    AND VH. IMPORTANCE = H.IMPORTANCE

    AND VH. TIME_STAMP = H.TIME_STAMP

    );

  • How to find the data in two tables are the same?

    Hi people,

    Suppose we have table emp01, have 10 records and create another emp02 as table

    create the table emp02 in select * from emp01;

    now both the table has the same data.

    How to find a 'data' in the two tables are the same?

    Hello

    SELECT *
    FROM emp01
    MINUS
    SELECT *
    FROM emp02
    UNION
    SELECT *
    FROM emp02
    MINUS
    SELECT *
    FROM emp01
    

    You can also compare resultset hash to select * in emp01 and select * from emp02 by using dbms_sqlhash.

    Best regards
    Nikolai

  • I'm going to pull a recordset and I want to load the data into a table

    Loop through it and I see it passing through all data correctly, but when I try to assign to a table using $i - it just continues replacing, it does not add a new value in the table.

    Thanks in advance!

    $index = "";
    $service_singular = "";
    $service_plural = "";
    $sub_service = "";
    $description = "";
    $duration = "";
    $duration_descript = "";
    $price = "";
    $i = 0;
    If ($fac_id! = "" & & $fac_id! = 0) {}
    If ($stmt = $mysqli - > prepare ("SELECT ' index', 'service_singular', 'service_plural', 'sub_service', 'description', 'length', 'duration_descript', 'price' OF 'service' WHERE 'fac_id' =?")) {
    $stmt-> bind_param (of ', $fac_id); Bind "fac_id" to the parameter.
    $stmt-> execute(); Execute the prepared query.
    $stmt-> store_result();
    $i = $stmt-> num_rows;
    $stmt-> bind_result ($index, $service_singular, $service_plural, $sub_service, $description, $duration, $duration_descript, $price); read the result variables.
    While ($stmt-> fetch() {)}

    $i = $i++; }

    }

    Thanks for watching it.

    ~~~~~~~~~~~~

    ); read the result variables.

    While ($service-> fetch() {)}

    [$srv_rows] = array ("index"-online $index, "m_serve" => $m_serve, "sub_service" => $sub_service, "description"-online $des cription, "term"-online $duration, "duration_descript" => $duration_descript, 'price'-$price, "delete"-online $remove, online "display"-online $display).

    }

    ~~~~~~~~~~~~~~

    This gave me what I needed.

  • How to create a select statement to the data in two tables?


    Hi all

    Table 1

    ID YEAR

    758 2013

    Table 2

    ID YEAR

    758 2014

    I want to create some that translates into two lines: function that does this?

    ID YEAR

    758 2014

    758 2013

    Thank you, best regards.

    Hello

    Perhaps a select * from table1 UNION ALL select * from table2 will help you.

    concerning
    Kay

  • How to load the .xlsx file in table

    Hi all

    We all hope you are doing well.

    I have a test.xlsx file, which is kept in one place on unix server, now I want to load laod this file in the test table.

    I tried with charger but not get relationships, I tried with positional charger, with positional charger loading its data but some value of thing as waste? |||  something like that...

    My big question is - is it possible to load the .xlsx file into table in oracle?

    can I use the external table? or laoder?

    Thanks to all in advance

    Hello

    Here is a solution to your question:

    https://technology.AMIS.nl/2013/01/19/read-a-Excel-xlsx-with-PLSQL/

    Kind regards

    Bashar

  • SQL Loader loading data into two Tables using a single CSV file

    Dear all,

    I have a requirement where in I need to load the data into 2 tables using a simple csv file.

    So I wrote the following control file. But it loads only the first table and also there nothing in the debug log file.

    Please suggest how to achieve this.

    Examples of data

    Source_system_code,Record_type,Source_System_Vendor_number,$vendor_name,Vendor_site_code,Address_line1,Address_line2,Address_line3

    Victor, New, Ven001, Vinay, Vin001, abc, def, xyz

    Control file script

    ================

    OPTIONS (errors = 0, skip = 1)
    load data
    replace
    in the table1 table:
    fields ended by ',' optionally surrounded "" "
    (
    Char Source_system_code (1) POSITION "ltrim (rtrim (:Source_system_code)),"
    Record_type tank "ltrim (rtrim (:Record_type)),"
    Source_System_Vendor_number tank "ltrim (rtrim (:Source_System_Vendor_number)),"
    $vendor_name tank "ltrim (rtrim (:Vendor_name)),"
    )
    in the Table2 table
    1 = 1
    fields ended by ',' optionally surrounded "" "
    (
    $vendor_name tank "ltrim (rtrim (:Vendor_name)),"
    Vendor_site_code tank "ltrim (rtrim (:Vendor_site_code)),"
    Address_line1 tank "ltrim (rtrim (:Address_line1)),"
    Address_line2 tank "ltrim (rtrim (:Address_line2)),"
    Address_line3 tank "ltrim (rtrim (:Address_line3)).
    )

    the problem here is loading into a table, only the first. (Table 1)

    Please guide me.

    Thank you

    Kumar

    When you do not provide a starting position for the first field in table2, it starts with the following after a last referenced in table1 field, then it starts with vendor_site_code, instead of $vendor_name.  So what you need to do instead, is specify position (1) to the first field in table2 and use the fields to fill.  In addition, he dislikes when 1 = 1, and he didn't need anyway.  See the example including the corrected below control file.

    Scott@orcl12c > test.dat TYPE of HOST

    Source_system_code, Record_type, Source_System_Vendor_number, $vendor_name, Vendor_site_code, Address_line1, Address_line2, Address_line3

    Victor, New, Ven001, Vinay, Vin001, abc, def, xyz

    Scott@orcl12c > test.ctl TYPE of HOST

    OPTIONS (errors = 0, skip = 1)

    load data

    replace

    in the table1 table:

    fields ended by ',' optionally surrounded "" "

    (

    Char Source_system_code (1) POSITION "ltrim (rtrim (:Source_system_code)),"

    Record_type tank "ltrim (rtrim (:Record_type)),"

    Source_System_Vendor_number tank "ltrim (rtrim (:Source_System_Vendor_number)),"

    $vendor_name tank "ltrim (rtrim (:Vendor_name)).

    )

    in the Table2 table

    fields ended by ',' optionally surrounded "" "

    (

    source_system_code FILL (1) POSITION.

    record_type FILLING,

    source_system_vendor_number FILLING,

    $vendor_name tank "ltrim (rtrim (:Vendor_name)),"

    Vendor_site_code tank "ltrim (rtrim (:Vendor_site_code)),"

    Address_line1 tank "ltrim (rtrim (:Address_line1)),"

    Address_line2 tank "ltrim (rtrim (:Address_line2)),"

    Address_line3 tank "ltrim (rtrim (:Address_line3)).

    )

    Scott@orcl12c > CREATE TABLE table1:

    2 (Source_system_code VARCHAR2 (13),)

    3 Record_type VARCHAR2 (11),

    4 Source_System_Vendor_number VARCHAR2 (27),

    5 $vendor_name VARCHAR2 (11))

    6.

    Table created.

    Scott@orcl12c > CREATE TABLE table2

    2 ($vendor_name VARCHAR2 (11),)

    3 Vendor_site_code VARCHAR2 (16).

    4 Address_line1 VARCHAR2 (13),

    5 Address_line2 VARCHAR2 (13),

    Address_line3 6 VARCHAR2 (13))

    7.

    Table created.

    Scott@orcl12c > HOST SQLLDR scott/tiger CONTROL = test.ctl DATA = test.dat LOG = test.log

    SQL * Loader: release 12.1.0.1.0 - Production on Thu Mar 26 01:43:30 2015

    Copyright (c) 1982, 2013, Oracle and/or its affiliates.  All rights reserved.

    Path used: classics

    Commit the point reached - the number of logical records 1

    TABLE1 table:

    1 row loaded successfully.

    Table TABLE2:

    1 row loaded successfully.

    Check the log file:

    test.log

    For more information on the charge.

    Scott@orcl12c > SELECT * FROM table1

    2.

    RECORD_TYPE SOURCE_SYSTEM_VENDOR_NUMBER $VENDOR_NAME SOURCE_SYSTEM

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

    Victor Ven001 new Vinay

    1 selected line.

    Scott@orcl12c > SELECT * FROM table2

    2.

    $VENDOR_NAME VENDOR_SITE_CODE ADDRESS_LINE1 ADDRESS_LINE2 ADDRESS_LINE3

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

    Vinay Vin001 abc def xyz

    1 selected line.

    Scott@orcl12c >

  • "shuffle" the data in a table...

    Hello world...

    Pleade help me solve this problem.

    Is it possible to combine the data in a table?
    Let say if i have a table with following data..
    
    PERSON_ID    PERSON_LAST_NAME        PERSON_FIRST_NAME        DOB
    
       1             Test1                   Test1              01/01/1970
       2             Test2                   Test2              01/01/1971
       3             Test3                   Test3              01/01/1972
       4             Test4                   Test4              01/01/1973
       5             Test5                   Test5              01/01/1974
    
    I am trying to shuffle the above data so that no person will have their
    "real last,first and dob match".
    
    I need the output like this or in any combinations so that no one can
    identify a person actual "last name,first name and dob"
    
    
    PERSON_ID    PERSON_LAST_NAME        PERSON_FIRST_NAME        DOB
    
       1             Test1                   Test2              01/01/1974
       2             Test2                   Test4              01/01/1975
       3             Test3                   Test5              01/01/1971
       4             Test4                   Test3              01/01/1972
       5             Test5                   Test1              01/01/1973
    
    please help me to solve this issue. Thanks in advance

    Hello

    You can do something like this:

    WITH     got_nums     AS
    (
         SELECT     person_id
         ,     ROW_NUMBER () OVER (ORDER BY dbms_random.value)          AS person_id_num
         ,     person_last_name
         ,     ROW_NUMBER () OVER (ORDER BY dbms_random.value)          AS person_last_name_num
         ,     person_first_name
         ,     ROW_NUMBER () OVER (ORDER BY dbms_random.value)          AS person_first_name_num
         ,     dob
         ,     ROW_NUMBER () OVER (ORDER BY dbms_random.value)          AS dob_num
         FROM     table_x
    --     WHERE     ...     -- Any filtering goes here
    )
    SELECT     id.person_id
    ,     ln.person_last_name
    ,     fn.person_first_name
    ,     db.dob
    FROM     got_nums     id
    JOIN     got_nums     ln     ON id.person_id_num     = ln.person_last_name_num
    JOIN     got_nums     fn     ON id.person_id_num     = fn.person_first_name_num
    JOIN     got_nums     db     ON id.person_id_num     = db.dob_num
    ;
    

    This does not guarantee that no column of the same original line will be on the same line of output. I don't think that you really want it.

  • Loading external data to a table syntax error

    I'm trying to load some data from an external text file in a table. I created a table and can't seem to load the data into a table, if I explicitly say something like


    ActionScript code:
    Array [0] = event.target.data.uid1_name;

    I can then do a trace statement on array [0] and it will display the correct name of the file. My problem is that I try to browse the variable names in the text file in the file by using an index variable. This is the code I use after all the URLloader, URLRequest and so on things:


    ActionScript code:
    for (var i = 0; i < 20; i ++) {}
    fArray _name = event.target.data.uid;
    }

    It produces a syntax error. I tried several other variations of syntax but have not been able to understand.

    I also tried the following:

    = event.target.data fArray ["uid" + i + "_name"];
    fArray
    = event.target.data. ["uid" + i + "_name"];
    = event.target.data fArray. "" uid "+ i +"_name ";

    All three of those who also give me errors. For the first, education outputs trace "undefinded" instead of "Doug." For the second, I get 'syntax error. Expecting identifier before left hook. " And for the third, I get "syntax error, expecting to identify before uid.":

    Any thoughts on the syntax to iterate the number after uid (uid1_name, uid2_name, uid3_name, etc.)?

    This one:
    fArray [i] = event.target.data ["uid" + i + "_name"];

    is probably the one you want.

    But I suspect that your uid # _Nom variable start at 1, because it works:
    Array [0] = event.target.data.uid1_name;

    so, try:
    fArray [i] = event.target.data ["uid" +(i+1) + "_name"];

  • Delete the data in partitioned tables

    Hello

    Oracle 11.2.0.3.0 version, running on Linux Enterprise.

    I need to remove all the data from two tables (several 100 million lines each) that are partitioned.

    (1) table 1 is a partition table have varied to a DATE column

    (2) Table2 is a partition of reference table; partitioning is referenced on a relationship of foreign key to Table1 (column: key Table1.Primary)

    As I have no need for data, but want to keep the structure of the table, I would ideally like to delete partitions at the same time that the deletion of the data, so that the 2 tables partitioned and empty.

    Additionally, Table1 has some partitioned index I would be rebuilt as an index unpartitioned (given that Table1 will be empty).

    I thought I would start by removing all partitions of Table1 (via "ALTER TABLE DROP PARTITION nom_partition Table1"), but when the script came to the last partition, I got this error message:

    ORA-14083: cannot delete the only one partition of a partitioned table

    ORA-06512: at "SYS." DROP_PARTITIONS', line 46

    If someone could advise as to the best approach to what I want to achieve with regard to the two tables? Two tables down and recreate them then without partitions would be the easiest way?

    Thanks in advance for any guidance.

    If someone could advise as to the best approach to what I want to achieve with regard to the two tables? Two tables down and recreate them then without partitions would be the easiest way?

    Yes - delete the tables and re-create them.

    As says the exception that you cannot delete the last partition. A table is partitioned either or it is not.

    There was no interest at all to use DBMS_REDEFINITION to redefine tables because you do not want the data anyway.

  • I want to loop through the data from two different tables using for loop where the query should be replaced at runtime, please help me

    I have the data into two table with the structure of similar column, I want to loop through the data in these two tables

    based on some condition and runtime that I want to put the query in loop for example, the example is given, please help me

    create table ab (a number, b varchar2 (20));

    Insert into ab

    Select rownum, rownum. "" sample "

    of the double

    connect by level < = 10

    create table bc (a number, b varchar2 (20));

    Insert into BC.

    Select rownum + 1, rownum + 1 | "" sample "

    of the double

    connect by level < = 10

    declare

    l_statement varchar2 (2000);

    Boolean bool;

    Start

    bool: = true;

    If it is true, then

    l_statement: =' select * ab ';

    on the other

    l_statement: =' select * from bc';

    end if

    I'm in execute immediate l_statement - something like that, but I don't know

    loop

    dbms_output.put_line (i.a);

    end loop;

    end;

    Something like that, but this isn't a peace of the code work.

    Try this and adapt according to your needs:

    declare

    l_statement varchar2 (2000);

    c SYS_REFCURSOR;

    l_a number;

    l_b varchar2 (20);

    Boolean bool;

    Start

    bool: = true;

    If it is true, then

    l_statement: = "select a, b, AB;

    on the other

    l_statement: = "select a, b from bc;

    end if;

    --

    Open c for l_statement;

    --

    loop

    extract the c in l_a, l_b;

    When the output c % notfound;

    dbms_output.put_line (l_a |') -' || l_b);

    end loop;

    close c;

    end;

    /

  • Is it possible to load the CD (that I put on iTunes years ago) on an iPod Nano to iTunes 9.0.3 (15) on an old MacBook? This is my last chance, as the later versions of iTunes have deleted all this precious music, so I can't be wrong!

    Is it possible to load the CD (that I put on iTunes years ago) on an iPod Nano to iTunes 9.0.3 (15) on an old MacBook (OS 10.5.8)? This is my last chance, as the later versions of iTunes have deleted all this precious music, so I can't be wrong!

    It is unclear what you are asking, but if the question is (retired), the can transfer songs that are on an iPod nano (and nowhere else) to my current computer? 

    You cannot use iTunes.  By design, iTunes sync is generally in one direction, from your computer to the iPod.  The exception is purchased songs on the iTunes Store, iTunes can verify ownership of these songs (command in the menu bar iTunes -> devices-> transfer purchases of [name of the iPod] file).  However, there are methods and third party utilities that can transfer from iPod to computer.  If you do an Internet search on something like 'the ipod transfer', you should get a few links, including a CNET article.

    Once the files of the song on your disc, you can add them to your current iTunes library.

Maybe you are looking for