Move data from one table to another table

Hi all,
I  had a custom table called sales_data in that table there are  columns like JAn,FEB,upto DEC including other columns so in each month there is some data total data is  23000 count but each month has has specific data like JAn-2500,FEB-2000 like that it has total 23000 records
My Requirement  is i have to move data from one table to another table that too if i will pass jan only jan data should move like that feb,march,.....
in my table there is no month column i had get it from another table called gl_periods and by using cursor and case function i have written the code
well while when i am inserting data am passing year,month as parameters but 23000 data is moving it should get like that.
Please suggest me.its urgent
Thank You

Hi hamid,
               Please go through the below procedure.
CREATE OR REPLACE PROCEDURE APPS.copy_sales_to_forecast(p_fiscal_year varchar2,p_month number)
IS
CURSOR C1 IS select period_year,period_num,start_date,end_date from apps.gl_periods
             where period_set_name='Accounting'
             and   period_year=p_fiscal_year
             and   period_num<=p_month;
type type1 is table of xxc_forecast_data%rowtype;
t1 type1;
BEGIN
FOR CREC IN C1 LOOP
BEGIN
DELETE FROM xxc_forecast2
where fiscal_year = crec.period_year
  and attribute1='Copied From Sales to Forecast Table of Month '||crec.period_num;
END;
SELECT
  product_category           ,
  product_sub_category       ,
  product_line               ,
  product_style              ,
  item_number                ,
  item_description           ,
  customer_name              ,
  customer_number            ,
  sales_channel              ,
  null      ,
  CASE
    WHEN crec.period_num=1 THEN sales_amount_month1
    ELSE 0
  END Transaction_quantity_period1,
  CASE
    WHEN crec.period_num=1 THEN sales_cost_month1
    ELSE 0
  END item_cogs_period1,
  CASE
    WHEN crec.period_num=1 THEN sales_mtl_cost_month1
    ELSE 0
  END item_material_cogs_period1 ,
  CASE
    WHEN crec.period_num=1 THEN sales_mtl_ovhd_cost_month1
    ELSE 0
  END item_mtl_ovhd_cogs_period1,
  CASE
    WHEN crec.period_num=1 THEN sales_res_cost_month1
    ELSE 0
  END item_resource_cogs_period1,
  CASE
    WHEN crec.period_num=1 THEN sales_op_cost_month1
    ELSE 0
  END item_op_cogs_period1,
  CASE
    WHEN crec.period_num=1 THEN sales_ovhd_month1
    ELSE 0
  END item_ovhd_cogs_period1,
  CASE
    WHEN crec.period_num=1 THEN sales_units_month1
    ELSE 0
  END extended_amount_us_period1,
  CASE
    WHEN crec.period_num=2 THEN sales_amount_month2
    ELSE 0
  END Transaction_quantity_period2,
  CASE
    WHEN crec.period_num=2 THEN sales_mtl_cost_month2
    ELSE 0
  END item_material_cogs_period2,
  CASE
    WHEN crec.period_num=2 THEN sales_mtl_ovhd_cost_month2
    ELSE 0
  END item_mtl_ovhd_cogs_period2,
  CASE
    WHEN crec.period_num=2 THEN sales_res_cost_month2
    ELSE 0
  END item_resource_cogs_period2,
  CASE
    WHEN crec.period_num=2 THEN sales_op_cost_month2
    ELSE 0
  END item_op_cogs_period2,
  CASE
    WHEN crec.period_num=2 THEN sales_ovhd_month2
    ELSE 0
  END item_ovhd_cogs_period2,
   CASE
    WHEN crec.period_num=2 THEN sales_units_month2
    ELSE 0
  END extended_amount_us_period2,
  CASE
    WHEN crec.period_num=3 THEN sales_amount_month3
    ELSE 0
  END Transaction_quantity_period3,
  CASE
    WHEN crec.period_num=3 THEN sales_mtl_cost_month3
    ELSE 0
  END item_material_cogs_period3,
  CASE
    WHEN crec.period_num=3 THEN sales_mtl_ovhd_cost_month3
    ELSE 0
  END item_mtl_ovhd_cogs_period3,
  CASE
    WHEN crec.period_num=3 THEN sales_res_cost_month3
    ELSE 0
  END item_resource_cogs_period3,
  CASE
    WHEN crec.period_num=3 THEN sales_op_cost_month3
    ELSE 0
  END item_op_cogs_period3,
  CASE
    WHEN crec.period_num=3 THEN sales_ovhd_month3
    ELSE 0
  END item_ovhd_cogs_period3,
  CASE
    WHEN crec.period_num=3 THEN sales_units_month3
    ELSE 0
  END extended_amount_us_period3,
  CASE
    WHEN crec.period_num=4 THEN sales_amount_month4
    ELSE 0
  END Transaction_quantity_period4,
  CASE
    WHEN crec.period_num=4 THEN sales_mtl_cost_month4
    ELSE 0
  END item_material_cogs_period4,
  CASE
    WHEN crec.period_num=4 THEN sales_mtl_ovhd_cost_month4
    ELSE 0
  END item_mtl_ovhd_cogs_period4,
  CASE
    WHEN crec.period_num=4 THEN sales_res_cost_month4
    ELSE 0
  END item_resource_cogs_period4,
  CASE
    WHEN crec.period_num=4 THEN sales_op_cost_month4
    ELSE 0
  END item_op_cogs_period4,
  CASE
    WHEN crec.period_num=4 THEN sales_ovhd_month4
    ELSE 0
  END item_ovhd_cogs_period4,
  CASE
    WHEN crec.period_num=4 THEN sales_units_month4
    ELSE 0
  END extended_amount_us_period4,
  CASE
    WHEN crec.period_num=5 THEN sales_amount_month5
    ELSE 0
  END Transaction_quantity_period5,
  CASE
    WHEN crec.period_num=5 THEN sales_mtl_cost_month5
    ELSE 0
  END item_material_cogs_period5,
  CASE
    WHEN crec.period_num=5 THEN sales_mtl_ovhd_cost_month5
    ELSE 0
  END item_mtl_ovhd_cogs_period5,
  CASE
    WHEN crec.period_num=5 THEN sales_res_cost_month5
    ELSE 0
  END item_resource_cogs_period5,
  CASE
    WHEN crec.period_num=5 THEN sales_op_cost_month5
    ELSE 0
  END item_op_cogs_period5,
  CASE
    WHEN crec.period_num=5 THEN sales_ovhd_month5
    ELSE 0
  END item_ovhd_cogs_period5,
  CASE
    WHEN crec.period_num=5 THEN sales_units_month5
    ELSE 0
  END extended_amount_us_period5,
  CASE
    WHEN crec.period_num=6 THEN sales_amount_month6
    ELSE 0
  END Transaction_quantity_period6,
  CASE
    WHEN crec.period_num=6 THEN sales_mtl_cost_month6
    ELSE 0
  END item_material_cogs_period6,
  CASE
    WHEN crec.period_num=6 THEN sales_mtl_ovhd_cost_month6
    ELSE 0
  END item_mtl_ovhd_cogs_period6,
  CASE
    WHEN crec.period_num=6 THEN sales_res_cost_month6
    ELSE 0
  END item_resource_cogs_period6,
  CASE
    WHEN crec.period_num=6 THEN sales_op_cost_month6
    ELSE 0
  END item_op_cogs_period6,
  CASE
    WHEN crec.period_num=6 THEN sales_ovhd_month6
    ELSE 0
  END item_ovhd_cogs_period6,
   CASE
    WHEN crec.period_num=6 THEN sales_units_month6
    ELSE 0
  END extended_amount_us_period6,
  CASE
    WHEN crec.period_num=7 THEN sales_amount_month7
    ELSE 0
  END Transaction_quantity_period7,
  CASE
    WHEN crec.period_num=7 THEN sales_mtl_cost_month7
    ELSE 0
  END item_material_cogs_period7,
  CASE
    WHEN crec.period_num=7 THEN sales_mtl_ovhd_cost_month7
    ELSE 0
  END item_mtl_ovhd_cogs_period7,
  CASE
    WHEN crec.period_num=7 THEN sales_res_cost_month7
    ELSE 0
  END item_resource_cogs_period7,
  CASE
    WHEN crec.period_num=7 THEN sales_op_cost_month7
    ELSE 0
  END item_op_cogs_period7,
  CASE
    WHEN crec.period_num=7 THEN sales_ovhd_month7
    ELSE 0
  END item_ovhd_cogs_period7,
  CASE
    WHEN crec.period_num=7 THEN sales_units_month7
    ELSE 0
  END extended_amount_us_period7,
  CASE
    WHEN crec.period_num=8 THEN sales_amount_month8
    ELSE 0
  END Transaction_quantity_period8,
  CASE
    WHEN crec.period_num=8 THEN sales_mtl_cost_month8
    ELSE 0
  END item_material_cogs_period8,
  CASE
    WHEN crec.period_num=8 THEN sales_mtl_ovhd_cost_month8
    ELSE 0
  END item_mtl_ovhd_cogs_period8,
  CASE
    WHEN crec.period_num=8 THEN sales_res_cost_month8
    ELSE 0
  END item_resource_cogs_period7,
  CASE
    WHEN crec.period_num=8 THEN sales_op_cost_month8
    ELSE 0
  END item_op_cogs_period8,
  CASE
    WHEN crec.period_num=8 THEN sales_ovhd_month8
    ELSE 0
  END item_ovhd_cogs_period8,
  CASE
    WHEN crec.period_num=8 THEN sales_units_month8
    ELSE 0
  END extended_amount_us_period8,
  CASE
    WHEN crec.period_num=9 THEN sales_amount_month9
    ELSE 0
  END Transaction_quantity_period9,
  CASE
    WHEN crec.period_num=9 THEN sales_mtl_cost_month9
    ELSE 0
  END item_material_cogs_period9,
  CASE
    WHEN crec.period_num=9 THEN sales_mtl_ovhd_cost_month9
    ELSE 0
  END item_mtl_ovhd_cogs_period9,
  CASE
    WHEN crec.period_num=9 THEN sales_res_cost_month9
    ELSE 0
  END item_resource_cogs_period7,
  CASE
    WHEN crec.period_num=9 THEN sales_op_cost_month9
    ELSE 0
  END item_op_cogs_period9,
  CASE
    WHEN crec.period_num=9 THEN sales_ovhd_month9
    ELSE 0
  END item_ovhd_cogs_period9,
   CASE
    WHEN crec.period_num=9 THEN sales_units_month9
    ELSE 0
  END extended_amount_us_period9,
  CASE
    WHEN crec.period_num=10 THEN sales_amount_month10
    ELSE 0
  END Transaction_quantity_period10,
  CASE
    WHEN crec.period_num=10 THEN sales_mtl_cost_month10
    ELSE 0
  END item_material_cogs_period10,
  CASE
    WHEN crec.period_num=10 THEN sales_mtl_ovhd_cost_month10
    ELSE 0
  END item_mtl_ovhd_cogs_period10,
  CASE
    WHEN crec.period_num=10 THEN sales_res_cost_month10
    ELSE 0
  END item_resource_cogs_period10,
  CASE
    WHEN crec.period_num=10 THEN sales_op_cost_month10
    ELSE 0
  END item_op_cogs_period10,
  CASE
    WHEN crec.period_num=10 THEN sales_ovhd_month10
    ELSE 0
  END item_ovhd_cogs_period10,
  CASE
    WHEN crec.period_num=10 THEN sales_units_month10
    ELSE 0
  END extended_amount_us_period10,
  CASE
    WHEN crec.period_num=11 THEN sales_amount_month11
    ELSE 0
  END Transaction_quantity_period11,
  CASE
    WHEN crec.period_num=11 THEN sales_mtl_cost_month11
    ELSE 0
  END item_material_cogs_period11,
  CASE
    WHEN crec.period_num=11 THEN sales_mtl_ovhd_cost_month11
    ELSE 0
  END item_mtl_ovhd_cogs_period11,
  CASE
    WHEN crec.period_num=11 THEN sales_res_cost_month11
    ELSE 0
  END item_resource_cogs_period11,
  CASE
    WHEN crec.period_num=11 THEN sales_op_cost_month11
    ELSE 0
  END item_op_cogs_period11,
  CASE
    WHEN crec.period_num=11 THEN sales_ovhd_month11
    ELSE 0
  END item_ovhd_cogs_period11,
  CASE
    WHEN crec.period_num=11 THEN sales_units_month11
    ELSE 0
  END extended_amount_us_period11,
  CASE
    WHEN crec.period_num=12 THEN sales_amount_month12
    ELSE 0
  END Transaction_quantity_period12,
  CASE
    WHEN crec.period_num=12 THEN sales_mtl_cost_month12
    ELSE 0
  END item_material_cogs_period12,
  CASE
    WHEN crec.period_num=12 THEN sales_mtl_ovhd_cost_month12
    ELSE 0
  END item_mtl_ovhd_cogs_period12,
  CASE
    WHEN crec.period_num=12 THEN sales_res_cost_month12
    ELSE 0
  END item_resource_cogs_period12,
  CASE
    WHEN crec.period_num=12 THEN sales_op_cost_month12
    ELSE 0
  END item_op_cogs_period12,
  CASE
    WHEN crec.period_num=12 THEN sales_ovhd_month12
    ELSE 0
  END item_ovhd_cogs_period12,
    CASE
    WHEN crec.period_num=12 THEN sales_units_month12
    ELSE 0
  END extended_amount_us_period12,
  CASE
    WHEN crec.period_num=2 THEN sales_cost_month2
    ELSE 0
  END item_cogs_period2,
   CASE
    WHEN crec.period_num=3 THEN sales_cost_month3
    ELSE 0
  END item_cogs_period3,
   CASE
    WHEN crec.period_num=4 THEN sales_cost_month4
    ELSE 0
  END item_cogs_period4,
   CASE
    WHEN crec.period_num=5 THEN sales_cost_month5
    ELSE 0
  END item_cogs_period5,
  CASE
    WHEN crec.period_num=6 THEN sales_cost_month6
    ELSE 0
  END item_cogs_period6,
  CASE
    WHEN crec.period_num=7 THEN sales_cost_month7
    ELSE 0
  END item_cogs_period7,
   CASE
    WHEN crec.period_num=8 THEN sales_cost_month8
    ELSE 0
  END item_cogs_period8,
  CASE
    WHEN crec.period_num=9 THEN sales_cost_month9
    ELSE 0
  END item_cogs_period9,
   CASE
    WHEN crec.period_num=10 THEN sales_cost_month10
    ELSE 0
  END item_cogs_period10,
   CASE
    WHEN crec.period_num=11 THEN sales_cost_month11
    ELSE 0
  END item_cogs_period11,
  CASE
    WHEN crec.period_num=12 THEN sales_cost_month12
    ELSE 0
  END item_cogs_period12,
  a.fiscal_year   ,
  a.budget_entity  ,
  a.organization_code,
  a.customer_id  ,
  a.inventory_item_id ,
  NULL,
  NULL,
  a.created_by ,
  a.last_updated_by ,
  a.creation_date ,
  a.last_update_date ,
  'Copied From Sales to Forecast Table of Month '||crec.period_num,
  a.attribute2,
  a.attribute3 ,
  a.attribute4 ,
  a.attribute5 ,
  a.attribute6 ,
  a.attribute7 ,
  a.attribute8 ,
  a.attribute9 ,
  a.attribute10,
  a.attribute11,
  a.attribute12,
  a.attribute13,
  a.attribute14,
  a.attribute15
  bulk collect into t1
  FROM  xxc_sales_data a 
  where  a.fiscal_year          = crec.period_year
having CASE
             WHEN crec.period_num=1  THEN sum(sales_amount_month1)
             WHEN crec.period_num=2  THEN sum(sales_amount_month2)
             WHEN crec.period_num=3  THEN sum(sales_amount_month3)
             WHEN crec.period_num=4  THEN sum(sales_amount_month4)
             WHEN crec.period_num=5  THEN sum(sales_amount_month5)
             WHEN crec.period_num=6  THEN sum(sales_amount_month6)
             WHEN crec.period_num=7  THEN sum(sales_amount_month7)
             WHEN crec.period_num=8  THEN sum(sales_amount_month8)
             WHEN crec.period_num=9  THEN sum(sales_amount_month9)
             WHEN crec.period_num=10 THEN sum(sales_amount_month10)
             WHEN crec.period_num=11 THEN sum(sales_amount_month11)
             WHEN crec.period_num=12 THEN sum(sales_amount_month12)
            END !=0;
  FORALL i IN t1.first .. t1.last
  INSERT INTO xxc_forecast2 VALUES t1(i);
--commit;
END LOOP;
END;
Thank You

Similar Messages

  • Move data from one Application to another Application.

    Hi All,
    I have a requirement to move data from one Application to another Application(we are working on SAP BPC 5.1/7.1 MS version).
    Can anybody please mention all the possible ways to achieve it.
    Thanks in advance.
    Regards
    Vani

    Hi,
    The best way to do this would be to use destination_app statement. Please refer to the below link from help.sap:
    http://help.sap.com/saphelp_bpc75/helpdata/en/79/b299446e02478fa5eca684d1297ef3/content.htm
    Alternatively, you can definitely export the data from one application and import it to the second.
    Hope this helps.

  • Move data from one member to another existing member

    Can someone please advise how I can move data from one member to another existing member?  For example, I have data in member ID MT_160 and I want to move this data over to an existing member MT_130 as per business requirement.  How can I accomplish this?  I tried using the NEWID field but system complained that the new ID must be Unique, which makes sense.  I'm stuck now.  Any Ideas?  I'm using BPC version 5.0 on Microsoft.
    Thanks.

    David,
      one  of  the  ways  you  can  achieve  the  desired  result  is  Via  BPC  Excel
    1) from  menu Edata--> RUn  Package --> copy/Move .  OR
    2) You  an  write  Script  logic  to  Copy/Move  data.
    Hope this  helps..

  • ABAP Function Module Example to move data from one Cube into Another

    Hi experts,
    Can any please help out in this ..?
    A Simple ABAP Function Module Example to move data from one Cube into Another Cube
    (How do i send the data from one client to another client using Function moduel).
    Thanks
    -Upen.
    Moderator message: too vague, help not possible, please describe problems in all technical detail when posting again, BI related? ("cube"), also search for information before asking.
    Edited by: Thomas Zloch on Oct 29, 2010 1:19 PM

    This is the start routine to duplicate records in two currencies.
    DATA: datew   TYPE /bi0/oidateto,
          datew2  TYPE rsgeneral-chavl,
          fweek   TYPE rsgeneral-chavl,
          prodhier TYPE /bi0/oiprod_hier,
          market  TYPE /bic/oima_seg,
          segment TYPE /bic/oizsegment.
    DATA: BEGIN OF S_DATA_PACK OCCURS 0.
            INCLUDE STRUCTURE /BIC/CS8ZSDREV.
    DATA: END OF S_DATA_PACK.
    S_DATA_PACK[] = DATA_PACKAGE[].
      REFRESH DATA_PACKAGE.
      LOOP AT S_DATA_PACK.
        move-corresponding s_data_pack to DATA_PACKAGE.
        if DATA_PACKAGE-loc_currcy = 'EUR'.
          DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalgrc.
          DATA_PACKAGE-CURRENCY = 'USD'.
          APPEND DATA_PACKAGE.
          DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalloc.
          DATA_PACKAGE-CURRENCY = 'EUR'.
          APPEND DATA_PACKAGE.
        else.
          DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalgrc.
          DATA_PACKAGE-CURRENCY = 'USD'.
          APPEND DATA_PACKAGE.
        endif.
      ENDLOOP.
    This is to load Quantity field
    RESULT = COMM_STRUCTURE-BILL_QTY.
    This is to load Value field
    RESULT = COMM_STRUCTURE-NETVAL_INV.
    UNIT = COMM_STRUCTURE-currency.

  • How can I Move data from one column to another in my access table?

    I have two columns, one that stores current month’s data and one that stores last month’s data. Every month data from column 2 (this month’s data) needs to be moved to column 1 that holds last month’s data. I then null out column 2 so I can accumulates this month’s data.
    I understand how to drop a column or add a column, how do I transfer data from one column to another.
    Here is my trial code:
    <cfquery name="qQueryChangeColumnName" datasource="#dsn#">
      ALTER TABLE leaderboard
      UPDATE leaderboard SET  points2 = points3
    </cfquery>
    Unfortunately, I get the following error:
    Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in ALTER TABLE statement.
    How can I transfer my data with the alter table method?

    I looked up the Access SQL reference (which is probably a
    good place to start when having issues with Access SQL), and
    it suggests you probably need a WHERE clause in there.
    I agree the documentation is a good place to start. But you should not need a WHERE clause here.
    Too few parameters. Expected 1.
    If you run the SQL directly in Access, what are the results? At the very least, it should provide a more informative error message..

  • Move data from one fs to another from a particular position.

    Hi all,
    i have a requirement where i want to move data from one field symbol to another from a particular
    position.
    I have a work area which contains string values. i have converted this string to hexadecimal value .
    in this hex string m lukin for a position where '0A' occurs. Now i have to pick the string till dis '0A' value and move it to some other field symbol. Can anybody tell me how to do that.
    The code i have written is as follows:
      FIELD-SYMBOLS: <fs> TYPE x.
                 data: temp1 type string,
                       p_word type string,
                       temp2 TYPE string,
                       w_len TYPE i.
                       temp1 = wa_value-value. "this wa containd the value
                       w_len = strlen( temp1 ).
             if temp1 cp '"*'.
               ASSIGN wa_value-value TO <fs> CASTING TYPE x.  " converting wa to hex value
                  DATA: VAR TYPE i,
                        COUNTER TYPE i,
                        line_feed_count type i,
                        temp_count type i.
             VAR = strlen( wa_value-value ).
             CLEAR: COUNTER, temp_count, line_feed_count.
               WHILE COUNTER LE VAR.
                IF <fs>+counter(1) = '0A'.
                line_feed_count = line_feed_count + 1.
                COUNTer = COUNTer + 1.
                ENDIF.
                COUNTER = COUNTER + 1.
               ENDWHILE.
            endif.
    Now , i want to pick data from starting till the position it gets '0A' and then again till it finds another '0A'.
    Thanks in advance.

    Hi,
    As everyone has rightly pointed out, there is no direct way of transferring the data from one appset to another. However, there are definitely few ways of doing it:
    1. Run export package. Export the data in flat file. Import the data using import DM package.
    2. Export the data from the cube of your application in excel file. Then run the import DM package to load the data.
    3. Run UJBR transaction in SAP. Take the backup of the transactional data. You will get few flat files. Run the import DM package.
    All the above steps will work only if the structure of the applications in both the appsets is the same. Otherwise, you will have to modify the flat file before uploading the file.
    Hope this helps.

  • Move data from one cube to another cube

    Hi,
    I am on BW 3.5 and I have moved the data from one cube to another cube and found that the number of records in the original cube does not match to the newly created cube. for eg. if the original cube contains 8,549 records then the back up cube contains 7,379 records.
    Please help me on what I need to look on and if in case the records are getting aggregated then how do I check the aggregating record.
    Regards,
    Tyson

    Dear tyson m ,
    check with any update rules in ur transfer.If so check in it.
    Just go through these methods for making transfer from one cube to another cube fully without missing data.
    Update rules method
    if it's updated from ods, you can create update rules for cube2 and update from ods
    or you can try datamart scenario
    cube1 right click 'generate export datasource'
    create update rules for cube2, assign with cube1
    rsa1->source system->bw myself, right click 'replicate datasource'
    rsa1-> infosource -> search 8cube1 name
    (if not get, try right click root note 'infosource'->insert lost node(s)
    from that infosource, you will find assigned with datasource, right click and 'create infopackage', schedule and run.
    Copy from
    While creating the new cube give the cube name in the "Copy from" section. It would copy all the characteristics and Key figures. It would even copy the dimensions and Navigational attributes
    Another option is:
    The steps for copying the contents of one cube to another:
    1. Go to Manage -> Recontruct of the new cube.
    2. Select the "selection button"(red , yellow, blue diamond button).
    3.In the selection screen you can give the technical name of the old cube, requests ids you want to load, from & to date.
    4.Execute and the new cube would be loaded.
    Its all that easy!!!!!!
    Refer this link:
    Copying the structure of an Infocube
    Reward if helpful,
    Regards
    Bala

  • How to move data from one database to another oracle database

    Hi
    All,
    AIX 5.3
    Oracle 10.2.0.3
    I want to move data between one oracle database to another oracle database.
    I know two method those are
    export/import
    dblink
    is there any other way I can move data?
    Thanks,
    Vishal

    I know below methods. However, using a perticular method is based on volume and type of data.
    1. imp/exp
    2. impdp/expdp
    3. SQL COPY command
    4. Transportable tablespace mathod
    5. dblink
    6. Export to flatfile and then use SQL Loader
    7. Oracle Migration Workbench
    Cheers
    Sameer

  • What is the best way to move data from one array to another

    I'm going to be moving data from one array to a larger array on the same RAID but different controller. (I have some extra extra drives I'm also going to be installing Retrospect so I can't just restore from a backup.)
    The RAID has 450GB of production files, fonts etc.
    What is the best way to move the data over?
    I saw that someone had suggested using ditto. Would that be better than MacMV?
    I also own Bru LE so I could use that.
    Any advice would be appreciated.
    Thanks,
    Paul

    Ditto is a great option -- probably the best.
    ditto -rsrc src_folder /Volumes/targetvolume/targetfolder

  • How to move data from one database to another one?

    I 'd like to build up a new database, some of the data would come from an old database, then I have to make two connection objects to both databases, (two statement objects...) retrieving the data from the old one and inserting them to the new one.... sounds reasonable, huh? but it could not work this way... "........it would have caused the duplicated value , blah, blah..." even though I made two tables in two databases completely different, that errors are still there. seemed I cannot clone that table.
    could you guys have any better ideas? and why couldn't I go this way?
    the database: cloudscape3.01
    two databases are all on my local PC (WinNT4.0)
    thanks

    If you are getting dupicate record errors, then look at your recordset objects and make sure they are both pointing at seperate databases, and check the one you are using to output and make sure it isn't just writing NULL, if it is then trace up the line: your input (read) recordset may be reading NULL too.

  • How to move data from one account to another?

    Sheesh, I think I've created a monster for myself.  I got a new macbook pro and migrated my data from Time Machine.  As I was doing everything I didn't realize that the set up for the computer was in a different account than the migrated data went to.  So I have my main account on the computer and another account with all my emails, itunes pics etc. 
    I think the other account is considered the main account on the computer so just to make sure I have all my privileges etc, I want to transfer all this data into the main account.  Does that make sense? 
    I started figuring all of this out as a problem when my second account (the one with all my old data) could not download podcasts.  I can do that with the main account. 
    Anyway, can anybody tell me a simple way to transfer all of this?  Should I just try to start all over?
    Thanks!

    The Users -> shared folder is a common ground all accounts share.

  • Can apple move data from one macbook to another?

    I have a macbook and will be buying a macbook pro. My question is can apple store move all the data from a macbook to a macbook pro?

    Migration Assistant will work, but Setup Assistant is much better. 
    See Using Setup Assistant on Lion.

  • Insert data from one form to another table

    I have a form which of course insert data into table1, i created a process within this form and include a sql statement to achieve this for me. My thoughts are this will take whatever is the value from the form and insert it into table2.
    INSERT INTO ML_LIST (ML_TITLE,ML_LASTNAME)
    VALUES
    (P20_SSR_TITLE, P20_SSR_LASTNAME);
    My error is column not allowed here
    Any suggestions

    I used the following
    Begin
    INSERT INTO ML_LIST (ML_TITLE,ML_LASTNAME)
    VALUES
    (:P20_SSR_TITLE,:P20_SSR_LASTNAME);
    End;

  • Can we move data from one ITABLE to Another ITABLE

    DATA : T_PR1 TYPE TY_PR OCCURS 0 WITH HEADER LINE.
    DATA : T_PR2 TYPE TY_PR OCCURS 0 WITH HEADER LINE.
    DATA : T_PR5 TYPE STANDARD TABLE OF TY_PR,
           WA_PR5 TYPE TY_PR.
    There is one record in T_PR1 and another in T_PR2.
    I want to move them both into T_PR5.
    When I do as below, it is overwriting the record of T_PR1 and
    it is accepting only one record from the T_PR2.
    T_PR5[] = T_PR1[].
    T_PR5[] = T_PR2[].
    Move does not work here as its structure should be same.
    Is there any way that i can move these 2 records into T_PR5.
    It is necessary for me to use T_PR1 and T_PR2 with header line.
    Any suggestion will be apprecaitaed!
    Regards,
    Kittu

    Hi,
    You can append the contents of both the tables into a work area and then loop through it to move the contents into the third table.
    Hope this helps.
    Regads,
    Deepthi.

  • How can I move data from one loop to another?

    I am using LabVIEW to record and display data.  The problem that I have run into is that if I try to collect and display the data all in one loop data points are lost because the loop takes so long to execute.  I decided to break my program into two independent loops and the data is recorded at proper speeds, but now I cannot get the data out of the first loop and into the second loop.

    See my example for one method of how to setup the Queue which Omar suggested. You'll also see many other ways, most of which should be avoided until you get more experience.
    Communicating Between Loops
    Richard

  • How do I move data from one HD to another?

    I know that sounds simple but my situation is different. I have an Hard Drive and Ram cards that have been removed from an old MacBook. They still work fine but they don't have a computer that they are in that i could easily transfer the data to a new computer. Meaning they have been removed from a computer that is no longer around. But I need to get the information from them to a new MacBook Pro. How do i go about doing this? Thanks
    p.s. please don't talk to me like I'm a moron. that would be nice.

    I don't know what you mean by Ram card, but unless you want to install the HD in an enclosure, you can use this device to connect a wide variety of drives to your new MBP.
    If "Ram card" is actually the memory from your old MacBook, there is no data in them to transfer. And if you look here, you'll find that they aren't compatible with your new machine.

Maybe you are looking for