How to import tables to target databse from a remote sql server

Hi,
I have various remote database (SQL Server, Oracle).
I need to replicate those database in staging database and then from that database do a transformation to the datawarehouse database.
I created a source database and staging database in oracle 9i.
Using OWB i created a source module and imported all the metadata information from the remote(SQL) database.
Now i need to import all these stuff to the target database.(just a replica of the remote database in my local machine).
pls let me know how can i import the stuff into the target database without manually creating it.
What i am looking for is some sort of scripts where in i can just run them in the target database.
OR
is there any other way were i can import the tables and the data into the target module directly?
when i tried to do this i got an error saying its a invalid oracle source?
Does this mean that i cannot import the stuff from SQL Server to OWB target module and then deploy to the database??
pls help me in understanding this?
TIA
shankar

In a nutshell, what you should do is:
1. Import the source database structure into an SQL Server module or an ODBC source module (depending on whether you are using a transparent gateway or ODBC as a connecting mechanism between SQL Server and Oracle),
2. Define the target database schema structure in an OWB's target module (in your case, since the source and target module are identica, you can just cut ad paste the source objects into the target module).
3. Define the mappings (processes that extract data from the source and put them into the target) - in your case these will be straightforward, just 1:1 field mappings, since the source and target databases will have the same structure.
4. Deploy everything to the target database schema - this will create the target schema objects (tables, views etc.) and install the scripts for data transfer that you designed when you defined the mappings.
5. Finally, you can run the mappings that will transfer the data from SQL Server to Oracle.
Regards:
Igor

Similar Messages

  • How to import tables, indexes, tablespace, etc from a DMP.

    Hello,
    I like to know how to import tables, indexes, tablespace, etc from an DMP export of a Oracle 10.2.0.1 to be apply on a Oracle 11.2.0. When I import the DMP file all the data is going to one single Tablespace, for example, Users tablespace.
    On the original database we have various tablespace's each separated with different content (tables, indexes) and I like to know if it posible to import the same schema,tables, indexes, tablespace all made with one single DMP Export. I can't use DBUA because the software of the database on the 10.2 is missing, I have only a DMP file (24GB) of DMP!.
    Thanks for the reply,
    Sorry for my english :).
    Regards.

    thanks for that but is not what Im looking for.
    Look, on my ORCL directory of the oracle 10.2 I have for example this:
    CONTROL01.CTL
    EXAMPLE01.DBF
    REDO01-1.LOG
    REDO01.LOG
    REDO02-2.LOG
    REDO02.LOG
    REDO03-3.LOG
    REDO03.LOG
    RMAN.DBF
    SYSAUX01.DBF
    SYSTEM01.DBF
    TEMP01.DBF
    UNDOTBS01.DBF
    USERS01.DBF
    TABLESPACE1.ORA
    TABLESPACE2.ORA
    TABLESPACE3.ORA
    TABLESPACE4.ORA
    TABLESPACE5.ORA
    I make a full export to a DMP. Then in my 11.2 version first I created the user then when import the DMP file none of the tablespace (TABLESPACE1, TABLESPACE2, ETC...) is created, all is going to the USERS tablespace, SO, im looking a way to tell imp command that generates the exactly tablespace structure that i was have on the 10.2.
    Hope this can explain more my problem.
    Thanks again!.

  • HOW TO IMPORT DATA MORE THAN ONCE FROM THE SAME EXPORT DUMP FILE?

    before asking my question i'd like to mention that i'm a french spoke...
    so my english is a little bit bad. sorry for that.
    my problem is : IMPORT
    how to import data a SECOND TIME from an export dump file within oracle?
    My Export dump file was made successfully (Full Export) and then i
    tried to import datas for the first time.
    I got this following message in my logfile: I ADDED SOME COMMENTS
    Warning: the objects were exported by L1, not by you
    . importing SYSTEM's objects into SYSTEM
    REM ************** CREATING TABLESPACES *****
    REM *********************************************
    IMP-00015: following statement failed because the object already exists:
    "CREATE TABLESPACE "USER_DATA" DATAFILE 'E:\ORANT\DATABASE\USR1ORCL.ORA' SI"
    "ZE 3145728 DEFAULT STORAGE (INITIAL 10240 NEXT 10240 MINEXTENTS 1 MAX"
    "EXTENTS 121 PCTINCREASE 50) ONLINE PERMANENT"
    IMP-00015: following statement failed because the object already exists:
    "CREATE TABLESPACE "ROLLBACK_DATA" DATAFILE 'E:\ORANT\DATABASE\RBS1ORCL.ORA"
    "' SIZE 10485760 DEFAULT STORAGE (INITIAL 10240 NEXT 10240 MINEXTENTS "
    "1 MAXEXTENTS 121 PCTINCREASE 50) ONLINE PERMANENT"
    etc........
    IMP-00017: following statement failed with ORACLE error 1119:
    "CREATE TABLESPACE "L1" DATAFILE 'E:\ORADATA\L1.DBF' SIZE 1048576000 "
    "DEFAULT STORAGE (INITIAL 10240 NEXT 10240 MINEXTENTS 1 MAXEXTENTS 121 PCTIN"
    "CREASE 50) ONLINE PERMANENT"
    IMP-00003: ORACLE error 1119 encountered
    ORA-01119: error in creating database file 'E:\ORADATA\L1.DBF'
    ORA-09200: sfccf: error creating file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified
    --->etc..........
    the drive E: with the folder E:\ORADATA didn't exist, but after
    all that i created it.
    see below, before my IMPORT statement
    REM ********************* CREATING USER *********
    REM ********************************************
    IMP-00017: following statement failed with ORACLE error 959:
    "CREATE USER "L1" IDENTIFIED BY VALUES 'A6E0DAA6865E7627' DEFAULT TABLESPACE"
    " "L1" TEMPORARY TABLESPACE "TEMPORARY_DATA""
    IMP-00003: ORACLE error 959 encountered
    ORA-00959: tablespace 'L1' does not exist
    IMP-00017: following statement failed with ORACLE error 959:
    "CREATE USER "MLCO" IDENTIFIED BY VALUES '56AC6447B7D50467' DEFAULT TABLESPA"
    "CE "MLCO" TEMPORARY TABLESPACE "TEMPORARY_DATA""
    IMP-00003: ORACLE error 959 encountered
    ORA-00959: tablespace 'MLCO' does not exist
    ETC.......
    REM ********************* GRANTING ROLES ***********
    REM ************************************************
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT ALTER ANY TABLE to "L1" "
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'L1' does not exist
    ETC.........
    IMP-00017: following statement failed with ORACLE error 1918:
    "ALTER USER "L1" DEFAULT ROLE ALL"
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'L1' does not exist
    -- that is normal, since the creation of the
    tablespace failed !!
    REM******************************
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLLBACK SEGMENT RB_TEMP STORAGE (INITIAL 10240 NEXT 10240 MINEXTENT"
    "S 2 MAXEXTENTS 121) TABLESPACE "SYSTEM""
    IMP-00015: following statement failed because
    . importing SCOTT's objects into SCOTT
    IMP-00015: following statement failed because the object already exists:
    "CREATE SEQUENCE "EVT_PROFILE_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999"
    "999999 INCREMENT BY 1 START WITH 21 CACHE 20 NOORDER NOCYCLE"
    ETC............
    importing L1's objects into L1
    IMP-00017: following statement failed with ORACLE error 1435:
    "ALTER SCHEMA = "L1""
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    REM *************** IMPORTING TABLES *******************
    REM ****************************************************
    . importing SYSTEM's objects into SYSTEM
    . . importing table "AN1999_BDAT" 243 rows imported
    . . importing table "BOPD" 112 rows imported
    . . importing table "BOINFO_AP" 49
    ETC................
    . . importing table "BO_WHF" 2 rows imported
    IMP-00015: following statement failed because the object already exists:
    "CREATE TABLE "DEF$_CALL" ("DEFERRED_TRAN_DB" VARCHAR2(128),
    IMP-00015: following statement failed because the object already exists:
    "CREATE SYNONYM "DBA_ROLES" FOR "SYS"."DBA_ROLES""
    IMP-00015: following statement failed because the object already exists:
    "CREATE SYNONYM "DBA_ERRORS" FOR "SYS"."DBA_ERRORS""
    IMP-00008: unrecognized statement in the export file:
    . importing L1's objects into L1
    IMP-00017: following statement failed with ORACLE error 1435:
    "ALTER SCHEMA = "L1""
    IMP-00008: unrecognized statement in the export file:
    J
    Import terminated successfully with warnings.
    -------------------------------------b]
    So after analysing this log file, i created
    the appropriate drives and folders... as the
    import statement doesn't see them.
    E:\ORADATA G:\ORDATA etc...
    And i started to [b]IMPORT ONE MORE TIME. with:
    $ IMP73 sys/pssw Full=Y FILE=c:\temp\FOLD_1\data_1.dmp BUFFER=64000
    COMMIT=Y INDEXFILE=c:\temp\FOLD_1\BOO_idx.sql
    LOG=c:\temp\FOLD_1\BOO_log.LOG DESTROY=Y IGNORE=Y;
    after that i could not see the users nor the
    tables created.
    and the following message appeared in the log file:
    Warning: the objects were exported by L1, not by you
    . . skipping table "AN1999_BDAT"
    . . skipping table "ANPK"
    . . skipping table "BOAP"
    . . skipping table "BOO_D"
    ETC.....skipping all the tables
    . . skipping table "THIN_PER0"
    . . skipping table "UPDATE_TEMP"
    Import terminated successfully without warnings.
    and only 2 new tablespaces (originally 3) were
    created without any data in ( i check that in
    the Oracle Storage manager : the tablespaces exit
    with 0.002 used space; originally 60 M for each !!)
    so,
    How to import data (with full import option) succefully
    MORE THAN ONE TIME from an exported dump file ?
    Even if we have to overwrite tablespaces , tables and users.
    thank you very much

    The Member Feedback forum is for suggestions and feedback for OTN Developer Services. This forum is not monitored by Oracle support or product teams and so Oracle product and technology related questions will not be answered. We recommend that you post this thread to the appropriate Database forum.
    The main URL is:
    http://forums.oracle.com/forums/index.jsp?cat=18

  • How to import a *.dmp file (exported from 10g) to 8i database?

    Hi everybody!
    Could anybody tell me how to import a *.dmp file (exported from 10g) to 8i database?
    I have tried but it seemed to be error "wrong version".
    Thanks a lot!

    From 10.1.0 to 8.1.7 => Use the EXPORT 8.1.7 to export the data from the 10.1.0 database and IMPORT 8.1.7 to
    import the data into the 8.1.7 database.
    Metalink note 132904.1 Subject: Compatibility Matrix for Export & Import Between Different Oracle
    Nicolas.

  • Urgent: how to import or transport abap class from dev to q

    How to import/transport custom abap class from dev to q.
    Any suggestions points will be awarded.
    Thanks in advance.
    MK

    hi M K,
    try SE24, your class, and go to menu 'Go to' -> object directory entry,
    click pencil icon and give your package name, will raise request.
    SE10 to release and STMS from prod to import.
    hope this helps.

  • How to import photos containing a tag from elements?

    how to import photos containing a tag from adobe elements 8?

    Tags are keywords.
    Other metadata:
    There is no way to share Faces from one system to another. Places will happen automatically if your photos have the gps co-ordinates in the Metadata. Events are populted depending on the choices you make in the iPhoto Preferences.
    Again, I'm not sure exactly what you're hoping for here, sorry.

  • How to import microsoft outlook pst files from window 7 to mac mail

    How to import microsoft outlook pst files from window 7 to mac mail??

    Outlook PST to MBOX Converter is a best and user-friendly software that facilitates smooth conversion of Outlook mailboxes (PST files) to MBOX files. The software supports PST to MBOX migration for Thunderbird, Spicebird, SeaMonkey, and Netscape.
    For more information and free download click http://psttombox.blogspot.com

  • How to import a maintenance task list from external system to R3

    Is there a bapi or a fm can import the maintenance task list (equipment ,function location ,generic) from external system to R3.

    Hello,
    how to import task list to sap from external system
    Hope this helps.
    Regards, Murugesh AS

  • E52- how to import contacts to ovi suit - from csv...

    hi,
    for E52 mobile - how to import contacts to ovi suit - from csv , excel files, can  any one please?

    I used  the program MyphoneExplorer to back up the ocntacts from my old S-E phone (or perhaps it was S-E's own PC Companion. Anyway, when pasting from that program I got a bunch of vcf files. I dropped and dragged these into Nokia PC-Suite and it workd very well.
    To add a little gripe about these "so called2 user friendly PC-suite programs - THEY ARE NOT. Are you listening Nokia? 
    I want to selectively import and export every single bit and byte from my phone in and out to my PC. I want to modyfy the data and put it back up again into the phone. Why is that supposed to be made so difficult.
    Spend less time making the finsishing touches on you icon and color gradient and put in more FUNCTION. Being locked up into one phone brand, just makes you agry - and you always find around the limitations.
    Interestingl, try to search your manual for "Import". NOTHING comes up concerning contacts. But synchonizing  sigh - if you have nothing to synchronize - because everything is on the PC - does not do you much good does it?

  • Import data from postgreSQL into SQL server 2005

    I am trying to import one table from postgreSQL to SQL Server 2005 using sql server import and export wizard. When i test the connection after providing data source, location, username, password in the Data Link Properties section I get the message "Test Connection Succeeded". As soon as i press next to go onto next step i get the following error.
    TITLE: SQL Server Import and Export Wizard
    Cannot get string literals from the database connection "Provider=PostgreSQL.1;User ID=sa;Data Source=localhost;Location=TestMasterMap;Extended Properties=".
    ADDITIONAL INFORMATION:
    Object reference not set to an instance of an object. (DTSWizard)
    BUTTONS:
    OK
    I have tried all sorts of different combinations for these properties but it always fails on this step. Can anybody help me with this?
     

    The settings above worked for a small table with 3 rows. Now when I try to import the bigger table which I wanted to import in the first instance I get following out of memory error. Anybody knows how to work around this. I have checked my task manager and more than half of my memory was still not used when I get this error.
    TITLE: SQL Server Import and Export Wizard
    Column information for the source and destination data could not be retrieved.
    "Query" -> [temporary].[dbo].[exporttable]:
                      - ERROR [HY000] Out of memory while reading tuples.;
    No query has been executed with that handle
    ADDITIONAL INFORMATION:
    ERROR [HY000] Out of memory while reading tuples.;
    No query has been executed with that handle (PSQLODBC.DLL)
    BUTTONS:
    OK

  • Any way of importing from Access to SQL Server?

    I have a huge store of information in Access. But now I'm required to use SQL Server.
    Is there any way of importing the information from Access to SQL Server by Java programming?
    Or is there a manual way of doing that?
    Thank you in advance.

    I need to use Java because this is for a client. I
    can't expect the client to follow those steps. As a
    result, I want to create something simple for the
    client to convert from Access to SQL Server.
    Any other way of doing that?
    That argument does not make sense.
    There is no way that a 'client' is going to be able to manage MS SQL Server without understanding how it works. MS SQL Server is a complex database and requires at least some dedicated support, even if it is only part time.
    For example consider the following:
    -MS Access does not have a log file. MS SQL Server does. How is the log file going to be sized?
    -If the log file fills up (like for a run away query) MS SQL Server comes to a screeching halt. How is that problem going to be fixed?
    Now maybe you are going to provide that support, which means you can run those scripts. Or the client is going to support it in which case they need to have someone who understands it - and they will need to know how to run those scripts (since it is rather basic knowledge.)

  • Tell me how to format a date retrieved from a MS SQL Server 2000 database?

    Tell me how to format a date retrieved from an MS SQL Server 2000 database for various uses in my JSP page?

    Or if you want to use JSTL instead of a scriptlet see:
    http://forum.java.sun.com/thread.jspa?threadID=676754&tstart=0

  • How to insert data from access to sql server ?

    How to insert data from access to sql server ?
    Please help me
    thanks

    phamtrungkien wrote:
    How to insert data from access to sql server by JAVA?The first four words of my last post:
    masijade wrote:
    JDBC with two connectionsGet a resultset from the jdbc-odbc bridge access connection, cycle through it and add batch insert commands to the jdbc connection to sql server. Give it a try and if the code has an error, then post your code ans ask a question.
    The real question, though, is why you think it absolutely necessary to use Java for this.

  • How to create database link from oracle to sql server

    Please help with how to create database link from oracle to sql server
    Best regards,
    Vishal

    Please help with how to create database link from oracle to sql server
    Best regards,
    Vishal
    Hi Vishal,
    I found a lof of information regarding how to create a database link from Oracle to SQL Server, please see:
    https://www.google.co.in/?gws_rd=cr&ei=vd3XUvGFO8TgkAXqlYCADg#q=how+to+create+database+link+from+oracle+to+sql+server
    We discuss SQL Server related issue in this forum. If you have any more question regarding Oracle, please post it in Oracle communities forum for better support.
    Regards,
    Elvis Long
    TechNet Community Support

  • How to connect from InformixDB to SQL Server 2012 (and copy data)

    Hello guys
    I try to build a connection from an Informix (Informix2000) database to my SQL Server 2012.
    I really dont know how to do this...
    The plan is to build a job in the night in which data is beeing copied from the InformixDB to my SQL Server 2012
    The SQL server should be like a "archive server" (same data as informix DB , but the data should stay for 2 years)
    Any idea if this is possible ? (what im trying to do)
    Can i do this with ODBC Connection ?
    Thanks a  lot and Regards, Dominic

    Thanks a lot guys... but what im trying to do is not to migrate the hole Informix DB to SQL 2012, i just want to copy some data into my SQL Server (archive). in the informix DB the data is only 30days back... i want to transfer  every week
    the data and let it on the SQL Server 2 years back. (SQL Server should be like an archive system)
    Hello ,
    Then you need to create an SSIS package to migrate data from Informix to SQL Server 2008 since Informix is old I dont know which connection provider to use but you can try ADO.NET connection provider
    Can you check below link
    http://davidbridge.wordpress.com/2012/05/30/extraction-from-informix-database-using-ssis-data-warehouse-etl/
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

Maybe you are looking for

  • Unable to open two PDF's at once in Acrobat Reader 9.1.1

    Hello: We are having problems at the company I work at when trying to two PDF's at once.   When the second one is opened, it reboots the computer.  There are no errors showing in Event Viewer.  There are no firewalls that would be causing this issue.

  • HT4279 3 DVI Monitors on HD5770 Card

    I want to run 3 DVI monitors from my HD 5770 card.  Can I ues the standard Apple Mini DVI to DVI Adapter or does it need to be the £70 Mini DisplayPort to Dual-Link DVI Adapter !

  • Regarding doubt in JCO Connection

    Hai,      I am doing jco connection in jsp page. its getting executed with out any errors. i have give the detaisl below whci is working fine but where i have to mention the url of "bsp page" ie (http://expertanswercenter.techtarget.com/eac/knowledge

  • Camera calibration profile. i dont get the option to chose landscape

    Bought myself a Fujifilm Xs1 and like with my Canon i prefer to take shots in RAW. Now the thing is in editing in lightroom i am not get the landscape option in camera calibration >profile just Adobe Standard as if i took the shot in jpeg any ideas ?

  • Can't download the new version of Itunes & cant sync my phone without it!! Help!!!!!

    So, I updated my phone to ios 7 & when I connected my phone to my computer it said in order for my phone to sync I needed the new version of itunes. I've tried a million times to download it & everytime I get the same message.." The installer has ins