Moving data

We need to move schema from one tablespace to another tablespace.
we are going to use following method:
alter table <tab> move tablespace <new_tbsp>;my question is do we need to disbale primary keys and foreign keys before move and enable them at end.
is it necessary ?
-Thanks

rcc50886 wrote:
We need to move schema from one tablespace to another tablespace.
we are going to use following method:
alter table <tab> move tablespace <new_tbsp>;
alter table <iottable> move tablespace <new_tbsp> overflow tablespace <new_tbsp>
alter table table_name move tablespace <new_tabsp> lob (column_name)
store as (tablespace <new_tbsp>);
--once move is done, we will rebuild the indexes
alter index rebuild tablespace <new_tbsp>my question is do we need to disbale primary keys and foreign keys before move and enable them at end.
is it necessary ?
-Thankswhat about objects other than tables & IOTs?
Do you understand that there is no inherent relationship between schema & tablespace?

Similar Messages

  • Which CKM is used for moving data from Oracle to delimited file ?

    Hi All
    Please let me know Which CKM is used for moving data from Oracle to delimited file ?
    Also is there need of defining each columns before hand in target datastore. Cant ODI take it from the oracle table itself ?

    Addy,
    A CKM is a Check KM which is used to validate data and log errors. It is not going to assist you in data movement. You will need an LKM SQL to File append as answered in another thread.
    Assuming that you have a one to one mapping, to make things simpler you can duplicate the Oracle based model and create a file based model. This will take all the column definitions from the Oracle based model.
    Alternatively, you can also use an ODI tool odiSQLUnload to dump the data to a file
    HTH

  • About moving data

    could i move data from one database to another database frequently ?
    who can tell me ?
    thanks!

    Could you? Sure.
    Depending on the volume of data, the frequency, and the business reason, there are a variety of options. Import & export is certainly one option, materialized view replication is another. CDC, Streams, etc are other options.
    Moving data once every three months is comparatively very infrequent. How much data do you have to move and what are you trying to accomplish.
    Justin

  • What are required Oracle products for moving data from IBM IMS/DB(mainframe) to Oracle environment?

    I am z/OS system programmer, our company is using IMS as its main OLTP database. We are investigating moving data off the mainframe for data warehousing and online fraud detection. One option is using IBM InfoSphere CDC and DB2, another option is using IMS connect and writing our own program, I am wondering what is the oracle solution for this kind of issue?
    I am not oracle technician but I googled and find out Oracle has some product like Oracle Legacy Adapters, OracleAS CDC Adapter and Oracle Connect on z/OS, however I didn't find them in Oracle site(https://edelivery.oracle.com/), I don't know whether these products are deprecated or not?!
    I would very much appreciate any help or guidance you are able to give me

    Thank you for responding.
    I've considered dumping the data into a flat file and using SQL*Loader to import as you suggest but this would require some scripting on a per-table basis. Again: all I want to do is to copy the contents of a table from one database to another. I do not think I should have to resort to creating my own dump and load scripts in order to do that. However I agree with you that this type of solution may be my final solution.
    I've tried the db link solution. It was just a slow as the 'imp' solution for some reason. Don't know why. The tables are rather large (3 tables of a few Gb each) and therefore require intermediate commits when loaded. Otherwise the rollback segment will run out of space. So the 'db link solution' is really a PL/SQL script with a commit for each x records.
    I think Oracle is making it a bit difficult for me to copy the contents of a table from one database to another and to do it efficiently. Perhaps I'm missing something here?

  • Moving Data from Normal table to History tables

    Hi All,
    I'm in the process of moving data from normal tables to
    History tables.
    It can be some sort of a procedure which should be a cron job running at night.
    My aim is to move data say 1.5 yrs or 2yrs old data to History tables.
    What aspects i need to check when moving data. And how can i write a procedure for this requirement.
    The schema is same in both the normal table and history table.
    It has to be a procedure based on particular field RCRE_DT.
    If the rcre_dt is above 2 yrs the data needs to be moved to HIS_<table>.
    I have to insert record in to HIS_table and simultaneously delete record from the normal table.
    This is in Production system and the tables are quite big.
    Pls do find enclosed the attached sample schema for Normal table and HIS_<table>.
    If i want to automate this script as a Cron job for similarly other History tables
    how am i to do it in a single procedure assuming the procedure for moving the data is the same procedure.
    Thanks for ur help in advance.
    SQL> DESC PXM_FLT;
    Name Null? Type
    RCRE_USER_ID NOT NULL VARCHAR2(15)
    RCRE_DT NOT NULL DATE
    LCHG_USER_ID VARCHAR2(15)
    LCHG_DT DATE
    AIRLINE_CD NOT NULL VARCHAR2(5)
    REF_ID NOT NULL VARCHAR2(12)
    BATCH_DT NOT NULL DATE
    CPY_NO NOT NULL NUMBER(2)
    ACCRUAL_STATUS NOT NULL VARCHAR2(1)
    FLT_DT NOT NULL DATE
    OPERATING_CARRIER_CD NOT NULL VARCHAR2(3)
    OPERATING_FLT_NO NOT NULL NUMBER(4)
    MKTING_CARRIER_CD VARCHAR2(3)
    MKTING_FLT_NO NUMBER(4)
    BOARD_PT NOT NULL VARCHAR2(5)
    OFF_PT NOT NULL VARCHAR2(5)
    AIR_CD_SHARE_IND VARCHAR2(1)
    UPLOAD_ERR_CD VARCHAR2(5)
    MID_PT1 VARCHAR2(5)
    MID_PT2 VARCHAR2(5)
    MID_PT3 VARCHAR2(5)
    MID_PT4 VARCHAR2(5)
    MID_PT5 VARCHAR2(5)
    PAX_TYPE VARCHAR2(3)
    PAY_PRINCIPLE VARCHAR2(1)
    SQL> DESC HIS_PXM_FLT;
    Name Null? Type
    RCRE_USER_ID NOT NULL VARCHAR2(15)
    RCRE_DT NOT NULL DATE
    LCHG_USER_ID VARCHAR2(15)
    LCHG_DT DATE
    AIRLINE_CD NOT NULL VARCHAR2(5)
    REF_ID NOT NULL VARCHAR2(12)
    BATCH_DT NOT NULL DATE
    CPY_NO NOT NULL NUMBER(2)
    ACCRUAL_STATUS NOT NULL VARCHAR2(1)
    FLT_DT NOT NULL DATE
    OPERATING_CARRIER_CD NOT NULL VARCHAR2(3)
    OPERATING_FLT_NO NOT NULL NUMBER(4)
    MKTING_CARRIER_CD VARCHAR2(3)
    MKTING_FLT_NO NUMBER(4)
    BOARD_PT NOT NULL VARCHAR2(5)
    OFF_PT NOT NULL VARCHAR2(5)
    AIR_CD_SHARE_IND VARCHAR2(1)
    UPLOAD_ERR_CD VARCHAR2(5)
    MID_PT1 VARCHAR2(5)
    MID_PT2 VARCHAR2(5)
    MID_PT3 VARCHAR2(5)
    MID_PT4 VARCHAR2(5)
    MID_PT5 VARCHAR2(5)
    PAX_TYPE VARCHAR2(3)
    PAY_PRINCIPLE VARCHAR2(1)

    Hi All,
    Thanks for ur valuable suggestion.But can u explain me bit more on this as i'm still confused about switching between partitoned tables and temporary table.Suppose if i have a table called PXM_FLT and an correspoding similar table named HIS_PXM_FLT.How can i do the partitioning shd i do the partitioning on the normal table or HIS_PXM_FLT.i do have a date field for me to partition based on range.Can u pls explain why shd i again create a temp.table.What's the purpose.Now the application is designed in such a way that old records have to be moved to HIS_PXM_FLT.can u pls highlight more on this.Your suggestions are greatly appreciated.As i'm relatively new to this partitioning technique i'm bit confused on how it works.But i came to understand Partitioning is a better operation than the normal insert or delte as it is more data intensive as millions of record need to be moved.Thanks for feedback and ur precious time.

  • Moving Calendar to a New Computer & Moving Data: Downloads and Add-ons

    Moving Calendar to a New Computer & Moving Data: Downloads and Add-ons
    The handle says is all. Totally lost here & in a virtual house of cards. Please first see screen-shot.
    I have the Mozilla calendar (Lightening?) program on my computer. Is this screen-shot Thunderbird or is it an add-on called Lightening that was added on to Thunderbird? I don't even recall how I acquired in a few years ago. Whatever it is I find in invaluable. Indispensable. Brilliantly conceived. A superb creation.
    Notice that I have several calendars in different colors for different purposes and a long task agenda on the right. Wonderful program!! I absolutely love it! I can not afford to loose these calenders and this data. However, big caveat, entrusting my life (our lives) to it has become extremely dangerous for it's a virtual house of cards upon the purchase of a new computer. The move-over is more like a career most of us already have one. Need anyone really wonder why PC sales are down? Res ipsa loquitur.
    FIRST ISSUE:
    I must move this/these Mozilla program/s and calendars over to the new computer but I don't have a clue where to begin. What must I download? Thunderbird? What must I add-on? Lightening? Is this a suite of programs? All I care about are my calendars and task agendas that you see in the screen-shot -- not any email programs etc. Just this personal management system that you see.
    SECOND ISSUE:
    After I downloading, installing, and adding-on what I need, how do I then move (migrate) my profile (data) over to new computer?
    Please know that I do know where that 'profile' and its .ics calendar profiles are stored. I am also well backed up. I just need to know how get (downloaded/install) what I need and move this over to the new computer. (See screen-shot)
    First, what must I download and install and add on. Second how do I move this data/profile (a virtual Life) over to the new computer without it all coming down like a house of cards?
    Please, unless it's all been documented in one location, a link to this and a link to that probably won't be very helpful. Anyone who can lay-out a simple, easy to follow plan (1, 2, 3, 4, done) will be a hero and make a significant contribution to people who dread buying a new computer for precisely these reasons. It will certainly encourage more people to use this absolutely wonderful personal management system. It's the best I've ever seen and I must keep it. But it's soooo risky.

    Obviously the screen-shot is posted so show what I see now and want to see when I am done. Was the ''really ''not clear? Nothing could be more germane ("Germaine" is a person's name) than a visual that shows the multiple calendar dynamic and what I actually want to see nor better communicants the fact that all I want is that and not other programs in a suite – a question btw asked but not answered.
    "I have no idea what the threshold issue is. Perhaps Zeno can assist you."
    I now see Zeno's reply but I never got an email re: my questions and just noticed it. I will respond to him separately. But ''obviously ''the ''''threshold'''' issue is ISSUE ONE (1) exactly what, and only what, must I download and install.
    Was that really not clear? That was not answered in your first reply. And since you here, later, state that Lightening does not need to be downloaded and installed how on earth could you presume the first threshold issue (question 1) was a joke?
    Once again I wrote and you even quoted me “Please, unless it's ALL been documented in ONE LOCATION, a link to this and a link to that probably won't be very helpful. Anyone who can lay-out a simple, easy to follow plan (1, 2, 3, 4, done) ...”
    As this exchange demonstrates, that statement has certainly proven to be correct.
    You then wrote, “Read the question... the question is. How do I move my profile to a new computer? You are the one making much more of it than that. ... All covered in the link.”
    What “the” (singular) of several links (plural) you provided are you talking abut? But no matter. No it was not "all" covered in the multiple links you sent which do not address the more important threshold question (1). The only issue you addressed was (2) data transfer which is secondary to the threshold issue which is ISSUE question one (1). Threshold issue/question presented: before we can go to question (2) we must address question (1).
    As I stated “Please know that I do know where that 'profile' and its .ics calendar profiles are stored.”
    You replied “No you do not. Local calendars are not stored in ICS files.”
    First please notice you make no attempt to clarify where they are; but, once again, please read carefully. I did not say that the calendars are “stored in the ICS files” but that the .ics files ARE the calendars and I do know there they are stored.
    Please see the screen-shot you claim is not germane? Each of those different colored calendars are (“not stored” in but are) .ics files that are stored in the Profile directory. In the directory c:\Users\myName\AppData\Roaming\Thunderbird is a directory or folder called \Profiles and in that directory is a file named 9w2ydrc4.default. That file IS the profile. In that profile is a folder called “calendar-data” and in that folder are the calender .ics files that are the different colored calenders you see in the very germane screen-shot. So I do know where the calendars are. So I gather that all I copy into the Profiles directory is the file (profile) called 9w2ydrc4.default.
    Again, as I wrote before, I do not want a full suite with email. So what do I downloaded and install to get only what you see in the screen-shot. I don't think we ever installed a full suite before. I never saw and email program. So, again,'' asked but not answered. ''
    Then you stated, I do not need to download and install Lightening (please notice, is a partial answer to my first, threshold, question you presumed was a joke) but only Thunderbird since “Lightning is already in your profile so will move with it When you actually move the profile.”
    Well, since you like to use links, exactly what is your documented Mozilla authority for that hearsay? Since I posted the question I have spent much time at Mozilla. Literally everything I have seen indicates I must first download and Thunderbird. But again, I do not want to and never did, install a full suite of programs and, as far as I know, there is no Mozilla mail or other suite programs on this (my current old computer) and there never were. So, once again'', asked and not answered).''
    Everything at Mozilla states I must first download & install Thunderbird'' and then ''add-on Lightening. Nothing I have seen at Mozilla suggests otherwise or states that when we want to get Mozilla calendars over to a new computer we must first and *only* download and install Thunderbird and then just copy the profile (9w2ydrc4.default) into the 'Profiles' directory. Nothing I have seen at Mozilla suggests I do not have to download and install Lightening. So please show me where Mozilla documents that. ''' Please notice that even Zeno states, “You download AND INSTALL LIGHTNING as an add-on.'''”
    Since this contradicts you do tell me: what is your Mozilla authority for claim that I do not need to download and install Lightening because it's already in my profile? I see nothing in my profile that suggests Lightening is there.
    Finally, I wrote to you “ ...it is axiomatic that Windows transfer wizard does NOT transfer programs but only data. You did not know this?” I only wrote that because it appeared your reference to Transfer Wizard was a response to the threshold question of (1) how to I get the program onto the new machine. But your response is''' very '''strange for you wrote “You are the first person I have encountered that thought it did more than transfer data.” Show me where I said that. I said the opposite. How on earth did you come to that interpretation as a response to my simple and very clear statement that " ...it is axiomatic that Windows transfer wizard does''' NOT transfer programs but only data.'''.”

  • Moving data dynamically

    while moving data from 1 field to another how do make the destination field dynamic

    you can use the Field Symbol..
    Field-Symbol: Traget type any.
    data : Field1 type type1
    data : Field2 type type1
    data : Field3 type type1
    data : Field4 type type1
    data : Field5 type type1
    data : Source type type1 values 'THE VALUE'.
    data: Field type fieldname.
    do 5 times.
    concatinate 'FIELD' sy-index into field.
    assign (field) to <traget>.
    move source to <traget>
    Here the value 'THE VALUE' will be copied to all five data variable. i.e field 1 - 5.
    No Rewards Plz

  • Moving data forward 30 days, 60 days, 90 days

    Hi - I have an issue trying to move a set of data 30 days forward. I have tried using SHIFT and PRIOR, but they seem to work best moving data up from prior month(s). My CurCycleOutMonths are from Aug:Dec. What I am trying to have the calc script do is, move the data that is in Aug:Dec to move 3 months forward. So, the data that is in Aug will be in Nov, Sep data will be in Dec, Oct I will shift to next year Jan.
    FIX(VersionA,Actual,GM,@relative("Top End",0),"Studio Output Deal",@UDA("Titles",GM))
         FIX (FY10)          
              FIX (&CurCycleOutMonths)
              "W1-PR"
                   IF(@ISMBR("Amort Amount"))
                   "W1-PR" = @SHIFT("W1-PR"->"Amort Amount",-3,);
                   ENDIF
              ENDFIX     
         ENDFIX                    
    ENDFIX

    Are you looking for a brute force method or a generic calc script?
    using brute force (A couple of assumptions
    Your periods are dense, Amort amount is in a dense dimension)
    FIX(VersionA,Actual,GM,@relative("Top End",0),"Studio Output Deal",@UDA("Titles",GM))
    FIX (FY10)
    FIX ("W1-PR","AMort Amount")
    Nov(
    Nov = Aug;
    Dec = Sep;
    Jan->FY11 = Oct;
    ENDFIX
    ENDFIX
    ENDFIX
    I'm not sure if you wanted to copy the data or move it. If you want to move it add
    Aug(
    Cleardata Aug;
    Clear data Sep;
    Cleardata Oct;
    After the first calc but before your endfix. The one thing about tis is you can only move it once. Once you do, your source data is gone. I don't typically like this as I like to be able to run repetatively and get the same result. If you are going to do the, make sure you back up your data first

  • Database Copy Doesn't find tables for moving data

    I'm running SQL Dev 3.1.7 on a Win7-64 PC against Oracle 11g. Using the Database Copy function to move and update tables from one instance to another. The application seems to work fine, creating all of the tables, but in the script when it tries to move the data, for some tables it fails as follows:
    Moving Data for object MY_TABLE_NAME
    Unable to perform batch insert.
    MY_TABLE_NAME ORA-00942: table or view does not exist
    Earlier in the script it dropped and then recreated the table in the target instance. The table does exist in the source instance. This occurred for 24 tables out of 105.
    Any ideas what is going on?
    Edited by: user12200489 on May 25, 2012 9:47 AM

    according to the log, it says the table got created. Here's the log entries as they pertain to our APPOINTMENT table ...
    DROP TABLE "APPOINTMENT" cascade constraints;
    table "APPOINTMENT" dropped.
    DROP SEQUENCE "APPOINTMENT_SEQ";
    sequence "APPOINTMENT_SEQ" dropped.
    -- DDL for Sequence APPOINTMENT_SEQ
    CREATE SEQUENCE "APPOINTMENT_SEQ" MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 17721 CACHE 20 NOORDER NOCYCLE ;
    sequence "APPOINTMENT_SEQ" created.
    -- DDL for Table APPOINTMENT
    CREATE TABLE "APPOINTMENT" ("APPOINTMENT_ID" NUMBER(19,0), "PRACTICE_PATIENT_ID" NUMBER(19,0), "PRACTICE_PET_OWNER_ID" NUMBER(19,0), "STAFF_MEMBER_ID" NUMBER(19,0), "APPT_STATUS_ENUM_NAME" VARCHAR2(32 BYTE), "EXT_PRACTICE_APPOINTMENT_ID" VARCHAR2(255 BYTE), "CONFIRMATION_KEY" VARCHAR2(255 BYTE), "REASON" VARCHAR2(255 BYTE), "EXT_REASON" VARCHAR2(255 BYTE), "EXT_SECONDARY_REASON" VARCHAR2(255 BYTE), "NOTE" BLOB, "APPOINTMENT_DATE" TIMESTAMP (6), "CREATED_DATE" TIMESTAMP (6), "CREATED_BY" VARCHAR2(255 BYTE), "LAST_MODIFIED_DATE" TIMESTAMP (6), "LAST_MODIFIED_BY" VARCHAR2(255 BYTE), "CONFIRMATION_TIME" TIMESTAMP (6)) SEGMENT CREATION IMMEDIATE PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) TABLESPACE "VET2PET_T" LOB ("NOTE") STORE AS BASICFILE ( TABLESPACE "VET2PET_T" ENABLE STORAGE IN ROW CHUNK 8192 RETENTION NOCACHE LOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)) ;
    table "APPOINTMENT" created.
    It even truncates the table before attempting to load the data ...
    TRUNCATE TABLE "APPOINTMENT";
    table "APPOINTMENT" truncated.
    But when it goes to move the data ...
    --- START --------------------------------------------------------------------
    Moving Data for object APPOINTMENT
    Unable to perform batch insert.
    APPOINTMENT ORA-00942: table or view does not exist
    --- END --------------------------------------------------------------------
    There is a lookup table involved but at the time of moving the data none of the foreign keys have been enabled.
    All the indices for the table get created with no issue and here is the log entry for when the constraints are created and enabled ...
    -- Constraints for Table APPOINTMENT
    ALTER TABLE "APPOINTMENT" ADD CONSTRAINT "PK_APPOINTMENT" PRIMARY KEY ("APPOINTMENT_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) TABLESPACE "VET2PET_I" ENABLE;
    ALTER TABLE "APPOINTMENT" MODIFY ("CREATED_BY" NOT NULL ENABLE);
    ALTER TABLE "APPOINTMENT" MODIFY ("CREATED_DATE" NOT NULL ENABLE);
    ALTER TABLE "APPOINTMENT" MODIFY ("CONFIRMATION_KEY" NOT NULL ENABLE);
    ALTER TABLE "APPOINTMENT" MODIFY ("EXT_PRACTICE_APPOINTMENT_ID" NOT NULL ENABLE);
    ALTER TABLE "APPOINTMENT" MODIFY ("APPT_STATUS_ENUM_NAME" NOT NULL ENABLE);
    ALTER TABLE "APPOINTMENT" MODIFY ("PRACTICE_PET_OWNER_ID" NOT NULL ENABLE);
    ALTER TABLE "APPOINTMENT" MODIFY ("PRACTICE_PATIENT_ID" NOT NULL ENABLE);
    ALTER TABLE "APPOINTMENT" MODIFY ("APPOINTMENT_ID" NOT NULL ENABLE);
    ALTER TABLE "APPOINTMENT" MODIFY ("APPOINTMENT_DATE" NOT NULL ENABLE);
    table "APPOINTMENT" altered.
    table "APPOINTMENT" altered.
    table "APPOINTMENT" altered.
    table "APPOINTMENT" altered.
    table "APPOINTMENT" altered.
    table "APPOINTMENT" altered.
    table "APPOINTMENT" altered.
    table "APPOINTMENT" altered.
    table "APPOINTMENT" altered.
    table "APPOINTMENT" altered.
    Any ideas?
    thanks.

  • Moving data with ODI in a 24-7 shop

    Anybody have experience moving data in a 24-7 IT shop?

    Yes you can help Cezar. Did you have any problem with locking tables when you were transfering data?

  • Moving data from an array to a JTable

    Hi,
    I am facing some problems with handling array data to JTable.
    My objective is moving data from a 10X5 data array to a JTable.
    I am using the following code:
    String columnNames = { "Col 1", "Col 2", "Col 3", "Col 4", "Col 5" };
    for(int j=0; j<10; j++)
    data[ j ] = array1[ j ] + array2[ j ] + array3[ j ] + array4[ j ] + array5[ j ];
    JTable table = new JTable( data, coulmnNames);
    Can you please help me with the error in tha above code.My array1 is a String array and the other four arrays are of Integer data type.
    Thanks!!!

    hi,
    The actual error message is:
    [root@localhost java]# javac GUI.java
    GUI.java:144: incompatible types
    found : int
    required: java.lang.Object
    data [j] [1] = array1[j];
    ^
    GUI.java:145: incompatible types
    found : int
    required: java.lang.Object
    data [j] [2] = array2[j];
    ^
    GUI.java:146: incompatible types
    found : int
    required: java.lang.Object
    data [j] [3] = array3[j];
    ^
    GUI.java:147: incompatible types
    found : int
    required: java.lang.Object
    data [j] [4] = array4[j];
    ^
    4 errors
    My code segment with line no goes as follows:
    private static JTable createTable() {         
           String[] columnNames = { "Col 1", "Col 2", "Col 3", "Col 4"' "Col 5" };
             Object data [ ] [ ] = new Object [10] [5];
       for( int j=0; j<10; j++)
              data [j] [0] = array1[j]; ...................Line:144
              data [j] [1] = array2[j]; ..................Line 145
              data [j] [2] = array3[j]; ....................Line 146
              data [j] [3] = array4[j]; .................Line 147
              data [j] [4] = array5[j];
      final JTable table = new JTable(data, columnNames);
      return table;
    [code/]
    Array 1 is declared as String array and Array 2,3,4,5 are declared as Integer arrays.The error is coming from the Integer arrays only.
    Java version running on my machine is: 1.4.2
    Please help!!!
    Thanks!!!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Moving data from flat file

    Hi,
    I am moving data from flat file to oracle table. while populating the oracle table if I get any errors in flat file those errors should populate in ODI error table.
    Is this is possible? if yes. Could you please let me know the set up in ODI.

    CKM is the dedicated for checking the constraints while doing transformation. The constraints includes, PK,FK, conditions etc.,
    There are two types/ways of checking the constraints.
    Flow Control: Triggered CKM after data is loaded in to I$.
    Static Control : Triggered CKM after data is loaded in to target table.
    If you opt for any one the above ODI will create E$ and SNP_CHECK_TAB (summary table for logging the errors) and load the error records.
    ODI will also provide you an option of loading the corrected error records by RECYCLE ERROR feature. In this phase/run ODI will load ONLY the error records in to target table (assuming its been corrected/cleaned).
    **how to set up flow control could you please provide steps**
    **Appreciate your help**

  • Error occurred moving data from the transformation RECON_SEQ_GEN: to the transformation FILTRANS.

    Hi,
    Today one my task in the DAC Etl failed and when I opened the DAC log file of it. I saw the error description as below
    Error while contacting Informatica server for getting workflow status for PLP_SRC_WH_AP_Invoice_Reconciliation
    Error Code = 36331:Unknown reason for error code 36331
    Since there is no much information in DAC log file about the failure, I opened the PLP_SRC_WH_AP_Invoice_Reconciliation session log file.
    The error description in the session log file says.
    There is an error in the port [NEXTVAL]: The default value for the port is set to: ERROR(<<Expression Error>> [ERROR]: transformation error
    ... nl:ERROR(u:'transformation error')).
    2014-01-14 08:00:45 : ERROR : (582188 | TRANSF_1_1_1) : (IS | Oracle_BI_DW_Server) : node01_ : TT_11023 : An error occurred converting data in the port [NEXTVAL]. The row was dropped.
    2014-01-14 08:00:45 : ERROR : (582188 | TRANSF_1_1_1) : (IS | Oracle_BI_DW_Server) : node01_ : TT_11021 : An error occurred moving data from the transformation RECON_SEQ_GEN: to the transformation FILTRANS.
    2014-01-14 08:00:45 : ERROR : (582188 | TRANSF_1_1_1) : (IS | Oracle_BI_DW_Server) : node01 : CMN_1086 : RECON_SEQ_GEN: Number of errors exceeded threshold [1].
    2014-01-14 08:00:45 : INFO : (582188 | TRANSF_1_1_1) : (IS | Oracle_BI_DW_Server) : node01_ : CMN_1053 : : Rowdata: ( RowType=-4(error but dropped due to abort) Src Rowid=1186281 Targ Rowid=1186281
      NEXTVAL (ROW_WID:Int:): "(NULL)"
    I am not sure of this error and I have never seen before. Can any one share some ideas on how to tackle this error and make the task execute successfully.
    Many Thanks.

    Hi,
    fist check weather any special characteristics if not
    check in data source under this we have fields tab check the format of a particular field format internal/external/check u choose internal format, if any check routine once
    use Semantic Groups in the DTP.
    Try  it
    Thanku
    lokeeshM
    Edited by: lmedaSAP_BI on Oct 20, 2010 6:44 AM

  • Moving data from one table to another

    Hi,
    I havent done CF in a log time and i have a question,
    My client has an admin site for his inventory in a db (MS SQL) one of the table (inventory) has 180 fields (which are options for the items) with around 100 records that are being added/deleted per week, he now whants to keep the deleted data has reference to what happened to them.
    What i want to do is move all the data berofe deleting the record of Inventory to inventory_deleted without having to specify all the 180 fields name to be moved :-)   yep lazy
    I already copied the table without the data all i need is some sort of query to move invetory_deleted before I delete it from inventory
    I'v tryed adding a active/deleted field to the table, but this is a huge site and it causes to many problems everywhere else when showing data, stats ...etc
    here is the delete code :-)
    <cfquery datasource="#clientds#">
          DELETE FROM inventory
          WHERE inv_number=#form.inv_num#
        </cfquery>
    and this is what i tested so far
    <cfquery datasource="#clientds">
    insert into inventory_deleted (*)
    select *
    from inventory
    WHERE inv_number=#form.inv_num#
    </cfquery>
    Help would be really apreciated

    Not i get what you mean by nothing but this is what i did
    <cfquery datasource="autoavantage" name="insertdata">
    insert into inventory_deleted (*) select * from inventory where inv_num = #inv_num#
    </cfquery>
    and this is the error i got
    Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.

  • Moving data from pc to mac

    so im switching from pc to mac(made a post earlier with some questions) and have another question regarding moving my data.
    although i could use an ipod with disk enabled, could i also just use an external hardrive?
    my plan was to borrow my friends external harddrive(he uses windows btw), just connect his drive to my pc, drag and drop my folder of stuff(music, videos, docs) on it and disconnect. then get my macbook, plug in the drive, drag and drop. any potential pitfalls?
    thanks in advance!

    hi, depending on how much data you have to transfer, doing it over a home network might be real slow. I tried doing it and while it worked, it just would have taken way too much time
    In my case, I had tons of photos and music files that I wanted to transfer from Windows to my new MBP.
    You may want to consider just purchasing an inexpensive external HDD (less than $75 for a 160GB) and do it that way or borrow one from a friend. You could even purchase one of those really inexpensive flash drives that hold up to 1GB.
    I say this becu

  • Moving data to archive cube

    Hi Experts,
    We are extracting data from R/3 to BW.We are keeping 2years of Data in DSO1 and moving into Cube(R/3>DSO1>Cube1).we have 2007 and 2008 data in the DSO and Cube.We extracted 1999 to 2006 data in to History DSO  from R/3 and sent into InfoCube(Cube2).The flow as is follows
    Current Data:2007 and 2008
    R/3 -
    >DSO1--->Cube 1(Deltas are running)
    History data:1996 to 2006
    R/3>DSO2--->Cube2.
    Now I want to move 2007 data in to History data(History DSO and Cube).
    I have two options to get this job  done .
    1.Move selective data from DSO1 to DSO2 and from DSO2 to Cube 2.
    2.Move selective data from Cube 1 to Cube 2.If So I can't see item wise data just I can see only Aggregated data in the cube.
    Is there any best approach other than two options.if not what would be the best between two options.
    Once I move the data into History cube I need to delete the data in Current DSO and Current Cube based on selective deletion.If I delete the data in DSO and Cube is there any impact on currrent Delta load.
    I need to do this every year becuase we want to keep only 2years of data in current data InfoCube..Could any one throw some light on the above issue.
    Thansks,
    Rani.

    Hi Rani.........
    Ur 1st Question....
    We are extracting data from R/3 to BW.We are keeping 2years of Data in DSO1 and moving into Cube(R/3>DSO1>Cube1).we have 2007 and 2008 data in the DSO and Cube.We extracted 1999 to 2006 data in to History DSO from R/3 and sent into InfoCube(Cube2).The flow as is follows
    Current Data:2007 and 2008
    R/3 -
    >DSO1--->Cube 1(Deltas are running)
    History data:1996 to 2006
    R/3>DSO2--->Cube2.
    Now I want to move 2007 data in to History data(History DSO and Cube).
    I have two options to get this job done .
    1.Move selective data from DSO1 to DSO2 and from DSO2 to Cube 2.
    2.Move selective data from Cube 1 to Cube 2.If So I can't see item wise data just I can see only Aggregated data in the cube.
    Is there any best approach other than two options.if not what would be the best between two options.
    ANS I want to clear u one thing.....that in infocube data will not get Aggregated until u aggregate the Cube.........So u can see the data in cube item wise if u don't aggregate the cube.......
    Anyways...I think the best option is to follow the Flow.....Move selective data from DSO1 to DSO2 and from DSO2 to Cube 2..........
    Secondly..U hav asked...
    Once I move the data into History cube I need to delete the data in Current DSO and Current Cube based on selective deletion.If I delete the data in DSO and Cube is there any impact on currrent Delta load.
    I need to do this every year becuase we want to keep only 2years of data in current data InfoCube..Could any one throw some light on the above issue....
    ANS Selective deletion of data is not going to effect delta loads...so u can do Selective deletion...
    Actually Delta load will get effected....somehow if anyone delete a delta request without making the QM status red.......then init flag will not be set back....and data will be lost...
    Hope this helps..
    Regards,
    Debjnai...

Maybe you are looking for

  • What is the "other" - & how can I access or get into "other"?

    What is this thing called "OTHER". It's taking up all my gbs. & I can not access the files in "OTHER" to clear them or just to access them. So does anybody know what "OTHER" is? I do know that some of this "OTHER" is used by contact's, calendar, game

  • Value change listener on select one choice is not working

    Hello all, I have a Jsff page in that i have 2 panel group layout with panel form layout with some input fields in both. in first panel form layout i have select one choice drop down with 2 values in that. based on the selection of the list the secon

  • Run numbers without quartz extreme?

    Hello. Is it possible to run all the iwork apps without quartz extreme enabled? I ask this because I am trying to run the iwork suite inside parallels virtual machines which do not support quartz extreme. I can get pages to work by setting <key>SFRAc

  • A fix for -10801 error message?

    Recently I've been having some strange things occur with my Mac. 1. Entourage will tell me that I need to rebuild the data base, I try to do that but then the message in item number 2. appears. I can restart the computer and then am able to open ento

  • Credit Block Problem for Orders

    Hello We have created a Z sales order type (ZPS) which has been giving us some issues. Whenever we get a credit block scenario, even after the release of the order in vkm3 , the credit block stays. We found that after releasing the order in vkm3, it