Oracle 10g import data

I have a problem.
Could you help me?
I have two tables 'customers' and 'customers_old' there are the same columns and I'll have import data with 'customers_old' to 'customers'
How to do it?
thx

I have a problem.
How import data with table BAEVENT_OLD to BAEVENT ?
I would like to use command SQL.
-- DDL for Table BAEVENT
CREATE TABLE "BA_SYSTEM"."BAEVENT"
(     "ID" NUMBER(19,0),
     "DESCRIPTION" VARCHAR2(255 BYTE),
     "TIMESTAMP" DATE,
     "PRINCIPAL" VARCHAR2(255 BYTE),
     "BAOBJECT" VARCHAR2(255 BYTE),
     "NAMESPACE" VARCHAR2(255 BYTE),
     "RESULT" VARCHAR2(255 BYTE),
     "CHANNEL" VARCHAR2(255 BYTE),
     "REQUEST_ID" NUMBER(19,0),
     "ARCHIVE_ID" NUMBER(19,0)
) 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)
TABLESPACE "BA_SYSTEM_DAT" ;
-- DDL for Index SYS_C0020270
CREATE UNIQUE INDEX "BA_SYSTEM"."SYS_C0020270" ON "BA_SYSTEM"."BAEVENT" ("ID")
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)
TABLESPACE "BA_SYSTEM_DAT" ;
-- Constraints for Table BAEVENT
ALTER TABLE "BA_SYSTEM"."BAEVENT" MODIFY ("ID" NOT NULL ENABLE);
ALTER TABLE "BA_SYSTEM"."BAEVENT" ADD PRIMARY KEY ("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)
TABLESPACE "BA_SYSTEM_DAT" ENABLE;
-- Ref Constraints for Table BAEVENT
ALTER TABLE "BA_SYSTEM"."BAEVENT" ADD CONSTRAINT "FK1649C99B631EE188" FOREIGN KEY ("ARCHIVE_ID")
     REFERENCES "BA_SYSTEM"."BAEVENTARCHIVE" ("ID") ENABLE;
***********************************************************************************************************************************************8
-- DDL for Table BAEVENT_OLD
CREATE TABLE "BA_SYSTEM"."BAEVENT_OLD"
(     "ID" NUMBER(19,0),
     "BAOBJECT" VARCHAR2(255 BYTE),
     "CHANNEL" VARCHAR2(255 BYTE),
     "DESCRIPTION" VARCHAR2(255 BYTE),
     "NAMESPACE" VARCHAR2(255 BYTE),
     "PRINCIPAL" VARCHAR2(255 BYTE),
     "RESULT" VARCHAR2(255 BYTE),
     "TIMESTAMP" DATE,
     "REQUEST_ID" NUMBER(19,0)
) PCTFREE 10 PCTUSED 0 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)
TABLESPACE "BA_SYSTEM_DAT" ENABLE ROW MOVEMENT ;
-- DDL for Index SYS_C007023
CREATE UNIQUE INDEX "BA_SYSTEM"."SYS_C007023" ON "BA_SYSTEM"."BAEVENT_OLD" ("ID")
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)
TABLESPACE "BA_SYSTEM_DAT" ;
-- Constraints for Table BAEVENT_OLD
ALTER TABLE "BA_SYSTEM"."BAEVENT_OLD" MODIFY ("ID" NOT NULL ENABLE);
ALTER TABLE "BA_SYSTEM"."BAEVENT_OLD" ADD PRIMARY KEY ("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)
TABLESPACE "BA_SYSTEM_DAT" ENABLE;
-- Ref Constraints for Table BAEVENT_OLD
ALTER TABLE "BA_SYSTEM"."BAEVENT_OLD" ADD CONSTRAINT "FK1649C99B495C1452" FOREIGN KEY ("REQUEST_ID")
     REFERENCES "BA_SYSTEM"."BAREQUEST_OLD" ("ID") ENABLE;

Similar Messages

  • Oracle 10g release date

    Hi,
    I want to know when is the first oracle 10g release date?
    Thank you!
    Francis SZE

    10G R2 was released in September , 2005
    Regards
    Asif kabir

  • Using Oracle Forms Importing Data From SQL Server into Oracle Tables.

    Dear All,
    We are using Oracle Forms 10g in windows XP and having OAS 10g and Oracle database 9i.
    How can we import data from SQL Server 2005 into Oracle tables using Oracle Forms?
    Thanks & Regards
    Eidy

    I have no idea what "Oracle Hetrogenius Services" is, so I can't help you with that, sorry.
    SQL Developer might also assist you. SQL Developer can connect to SQL Server as well as Oracle and has some tools for migration. See the documentation for details:
    http://download.oracle.com/docs/cd/E12151_01/doc.150/e12156/toc.htm
    For additional help on using SQL Developer for this task, please consult Support or the SQL Developer forum: SQL Developer
    Hope this helps,
    Jacob

  • Oracle 10g import question

    Hi,
    Is it possible to import oracle 7.3.3.5 export file into oracle 10g? I created user tablespaces manually, and then tried to import but I see strange errors.

    Did you read the metalink note specified above?.
    Please read the same and it has the information.
    Example: export from 7.3.4 and import into 11.1.0
    use the 7.3.4 Export client to export the data from the 7.3.4 source database,
    use the 11.1.0 Import client to import the data into the 11.1.0 target database,
    Note that a migration with export FULL=Y & import FULL=Y is not supported.
    that's what mentioned above. Try show=y option and use fromuser/touser
    HTH
    Anantha

  • Oracle 10g BLOB data into Postgresql 8.2

    Any Docs on Oracle 10g BLOB importing into Postgresql 8.2.
    Thanks in Advance.
    Harish Kumar R

    Postgresql is not an Oracle product. Perhaps you should address your question to the people that make it.

  • ORACLE LITE IMPORT DATA FROM ORACLE8.0.5

    Is possible migrate data from .DMP file directly ?
    Thanks for new
    null

    In fact, I have created a public link GOV.WORLD using a fixed user/password. A view
    select 'OK' as X from DUAL
    gives the result 'OK' in a Portal form based on the view. When I modify the view adding the DB link:
    select 'OK' as X from [email protected]
    the Portal form gives no rows. Running the view from SQL*Plus works.
    I realize there could be a problem with a DB link defined for the connected user if there is no such user in the corresponding database but I have defined the DB link for a fixed user. What's wrong?

  • Oracle 9i: Importing Data

    I was running Oracle 9i on Win 2000 Pro machine, but my PC got hacked and I had to rebuild the OS. I reinstalled Oracle 9i, and now am trying to find a way to incorporate my old DBF files with the new freshly installed database.
    If anyone has any ideas how to do it, I would highly appreciate it. My email is [email protected]
    Thanks.

    I was running Oracle 9i on Win 2000 Pro machine, but my PC got hacked and I had to rebuild the OS. I reinstalled Oracle 9i, and now am trying to find a way to incorporate my old DBF files with the new freshly installed database.
    If anyone has any ideas how to do it, I would highly appreciate it. My email is [email protected]
    Thanks.

  • Problem in importing data in oracle 10g from 9i backup

    Hi ,
    Am trying to import data in oracle 10g..but it does not importing constraints, and stop doing anything by the msg.
    About to enable constraints.....
    after this msg it does not work.
    plz help,
    Regards,
    Neha

    Hi Neha,
    You have a lot of options. I'll supose you can test first, and you're using an export file.
    First forget about the data, think in your database structure. So you can do this:
    exp userid=... file=exp_norows.dmp full=y rows=n statistics=none
    Now you have the structure of your database. Create the database, in 10g, empty, check you have all filesystem, etc. for you new datafiles. And do the import with parameter ignore=y, you'll see a lot off errors on SYSTEM schema, don't worry about it.
    Now you have the structure of you database in 10g. You can take a look in the import log file, looking for some possible errors come from your schemas. so check the objects, and check the schemas.
    Bear in mind things like CONNECT role in 9i it's different in 10g, you can't create db_links in 10g with "IDENTIFIED BY VALUES" because you'll get an ORA-00600, etc.
    Well, fix all problems on source database (9i) and repeate this procedure until you don't recieve any more errors (not a SYSTEM schema errors).
    When you have everything solved, you can try to import the data.
    I hope, this method can help you. If you have any problem do not hesitate to ask me.
    John Ospino Rivas

  • Oracle 10g Data Dump---Import to different users

    Hi everybody,
    I exported data in oracle 10g using expdp in user schema(abc1).
    Now i want to import that data in different user schema (abc2) and another user schema (abc3). Both schemas (abc2 and abc3) are in same tablespace.
    How to do this. Shall i need to export that data in SYSTEM mode to import for different users..?
    Thanks in advance
    Pal

    Shall i need to export that data in SYSTEM mode to import for different users..?No need. You can use REMAP_SCHEMA option on import, e.g.
    impdp system/<password> directory=<directory> dumpfile=<dumpfile> remap_schema=abc1:abc2
    See http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_import.htm#sthref339

  • Import data from 10g to oracle 9i

    hi,
    how can i import data fom 10g to 9i R2?

    Follow this thread :
    exp/imp between 10g and 9i
    Essentially, you must
    1. Install a 9i server or administrative client environment.
    2. Configure SQLNet connectivity (tnsnames.ora) to the 10g database.
    3. Run exp from the 9i environment, connected to the 10g database.
    4. Create a 9i export dump file.
    5. Import this into your 9i target database.
    If you have different charactersets, you must be mindful of the setting of NLS_LANG in the environment that you run "exp" and "imp" in.

  • How to import a data base into oracle 10g.

    hi all
    when am using the scott/tiger username and password in the SQL plus i got this msg..
    "the account is locked"
    how can i solve this issue?
    and when i use the same username and password scott/tiger in addition to define a Host string " orcl" which is my new automatically generated database while installation.. it gives me this msg: TNS: no listener.
    any help ?
    by the way i succeed to login using .. system/zaq123 which is my own created password while installing oracle 10g ....ver 10.1.2.0 ..... in addition to the Host string "orcl" ......

    If you're not familiar with OEM, or you want to learn, you can unlock that account from SQL*Plus, too.
    And when you unlocked SCOTT, don't forget to look after your TNSNAMES and LISTENER configuration...
    Good luck!

  • About Oracle 10g Data export/import

    I have two DBs, let's call them AProd, BAcpt.
    all tables/procedures/sequences etc. are defined same, only schema names are different, and the role names are different (e.g. In AProd, role 1 named as AProd_ROLE1, but corresponding role in BAcpt is named as BAcpt_ROLE1).
    In order to use Aprod data to refresh BAcpt, in OEM, I established a DB link from BAcpt to Aprod and planned to use "Import from Database" option.
    Option 1: By selecting "Schema" -> "Data Only", Import content type =" Import all objects", I am able to refresh BAcpt's tables with AProd's data, however, I can't refresh Sequences, especially the last_number of the sequences.
    Option 2: By selecting " Schema" -> "All", Import content type =" Import all objects", I am afraid this will overrite all the roles/privs of BAcpt, and I have to run scripts to recreate BAcpt's roles, and grant those roles to users again...
    Is there any better solution for this request?
    Thanks,

    Thank you first.
    I did drop and recreate on target DB using source DB's sequences. Extending the original question a bit, if the sequence doesn't exist on target, I guess Option 1 won't bring over the new sequence/procedures from source DB either, correct?
    Also for Option 1, It seems the Index also be updated........... Any document I can refer for details? I thought after import data, I need to "rebuild Index online" ... will it still be true ?
    Thank you for any answers:-)

  • How to import excel file in oracle 10g suit

    Respected all,
    i am working d2k6i now i am going to 10g suit and i want to import excel file so anybody help me how to do it? Thanks in advance.

    Hi,
    This forum is dedicated to Oracle SQL Developer Data Modeler, so it is possible to get an answer here, but it is not very likely.
    Try to get help in in more appropriate forum from here
    https://forums.oracle.com/forums/main.jspa?categoryID=84
    Regards

  • Retrieve data from a large table from ORACLE 10g

    I am working with a Microsoft Visual Studio Project that requires to retrieve data from a large table from Oracle 10g database and export the data into the hard drive.
    The problem here is that I am not able to connect to the database directly because of license issue but I can use a third party API to retrieve data from the database. This API has sufficient previllege/license permission on to the database to perform retrieval of data. So, I am not able to use DTS/SSIS or other tool to import data from the database directly connecting to it.
    Here my approach is...first retrieve the data using the API into a .net DataTable and then dump the records from it into the hard drive in a specific format (might be in Excel file/ another SQL server database).
    When I try to retrieve the data from a large table having over 13 lacs records (3-4 GB) in a data table using the visual studio project, I get an Out of memory exception.
    But is there any better way to retrieve the records chunk by chunk and do the export without loosing the state of the data in the table?
    Any help on this problem will be highly appriciated.
    Thanks in advance...
    -Jahedur Rahman
    Edited by: Jahedur on May 16, 2010 11:42 PM

    Girish...Thanks for your reply...But I am sorry for the confusions. Let me explain that...
    1."export the data into another media into the hard drive."
    What does it mean by this line i.e. another media into hard drive???
    ANS: Sorry...I just want to write the data in a file or in a table in SQL server database.
    2."I am not able to connect to the database directly because of license issue"
    huh?? I never heard this question that a user is not able to connect the db because of license. What error / message you are getting?
    ANS: My company uses a 3rd party application that uses ORACLE 10g. And my compnay is licensed to use the 3rd party application (APP+Database is a package) and did not purchased ORACLE license to use directly. So I will not connect to the database directly.
    3.I am not sure which API is you are talking about, but i am running an application of the visual studio data grid or similar kind of controls; in which i can select (select query) as many rows as i needed; no issue.
    ANS: This API is provided by the 3rd party application vendor. I can pass a query to it and it returns a datatable.
    4."better way to retrieve the records chunk by chunk and do the export without loosing the state of the data in the table?"
    ANS: As I get a system error (out of memory) when I select all rows in a datatable at a time, I wanted to retrieve the data in multiple phases.
    E.g: 1 to 20,000 records in 1st phase
    20,001 to 40,000 records in 2nd phase
    40,001 to ...... records in 3nd phase
    and so on...
    Please let me know if this does not clarify your confusions... :)
    Thanks...
    -Jahedur Rahman
    Edited by: user13114507 on May 12, 2010 11:28 PM

  • Character set marker unknown error while importing data in 10g from 8i

    Hi All,
    I am trying to import the whole database schema wise (one by one) through oracle 10g database control page (which is browser based)
    But when i try to import the objects of a schema i get the error that
    "IMP-00037 : Character set marker unknown "
    Import terminated unsuccessfully
    Would anybody please tell me about the mentioned error ???
    Kindly provide the solution.
    Mentioned below are the character sets available in both the version.
    Character sets in oracle 8.1.7 :-
    Database Character Set :: WE8ISO8859P1
    National Character Set :: WE8ISO8859P1
    Character sets in oracle 10.2.0.1.0 :-
    Database Character Set :: WE8ISO8859P1
    National Character Set :: AL16UTF16
    Regards
    Milin...
    Message was edited by:
    user640001

    Hi,
    As you have asked, i have mentioned the export command below to get the full database export file.
    And I have copied this export file (dump) to another machine(Server) where i have to import that file to upgrade the database to 10g Rel 2.
    SET CC=%DATE:~4,2%-%DATE:~7,2%-%DATE:~10,4%
    exp username/password@db_name
    file=D:\PAY_BKP\EXP_FULL_PAY_%CC%.DMP log=D:\PAY_BKP\EXP_FULL_PAY.log
    indexes=yes
    full=yes
    Kindly provide guidance.
    Regards
    Milin

Maybe you are looking for