Export Data from Oracle 10g and import in SQL server

Hi Guys,
I have assigned a task in which I am required to transfer data from oracle database to SQL server. I have not done this before. Can anybody help me the easiest way to accomplish this. Thanks

One way of doing this is setup Heterogeneous Database connections
http://www.dba-oracle.com/t_heterogeneous_database_connections_sql_server.htm
I am sure there's other options out there.

Similar Messages

  • Exporting Data From Oracle 10g to Access

    Hi Experts,
    I need to export data from oracle apps shcema(each and every object in it) to MS ACCESS File.
    Please let me know how to do it
    Thanks and Regards,
    Andy

    Since you did not provide details of what you are planning to do, a very simple, however, depending upon the number of your tables, very labour intensive solution:
    Although being not very familiar with access, I think access offers a means to import csv files.
    So e.g. using SQL*Plus you can execute the following steps.
    set pagesize <nnn>
    set linesize <nnn>
    set colsep ',' -- You may choose other special characters to separate columns of your output
    spool <csv-file>
    select * from <tab>;
    spool offWherever you see <nnn> exchange by appropriate numeric values to get just one page as result and to configure your line size to hold a complete record in one output line.
    Replace <csv-file> and <tab> by the name of your output file to be read in to access and by the name of your table, respectively.

  • Export database from Oracle 8i and import to Oracle 10 g EX

    Hi
    I'm beginner Oracle user .Sorry for my english
    I have server oracle 8i on Novell system. Now I installed Oracle 10 g Expres on Windows XP. How move data from Oracle 8i to Oracle 10 g EX.
    Thanks for Your help

    Pl see the documentation - http://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25107/impexp.htm#CFHJAHAA
    You will need to export from the 8i database, copy the file (in binary format) to the Windows server, then import into the 10g database
    HTH
    Srini

  • Extracting data from Oracle GL and importing to FDM using ERPI adapter

    Hi,
    I am also trying to use ERPI adapter to directly extract data from Oracle GL. I am not finding sufficient information on this. It would be great if anyone can help me in this.
    I have one more doubt: Can we call the stored procedures in the FDM custom scripts, If so can I get the syntax of the script...I really don't have idea on this FDM part. I was working till now with the Flatfile input, But my client wants to make this change in the existing system. Accessing/Extracting data from Oracle GL. Experts who knows it can pls guide me.
    I am using FDM 11.1.2 and ERPI associated with 11.1.2.
    Thanks in Advance.
    [email protected]

    Hi,
    Is it possible to execute the stored procedures in FDM. Currently we are extracting data from oracle GL using SQl procedures (constaller tool is user to create the inteface) and storing the required data in the intermediate table in oracle GL, From which we are extracting data into a flat file and then loading it to FDM.
    So my question: is it possible to invoke the stored procedure from FDM scripts, If so can you pls let me know how to do that...
    Thanks In Advance,
    [email protected]

  • Connect Oracle 10g and OWB to SQL Server 2005 in Windows XP

    I am unable to create a working connection between Oracle 10g and a SQL Server database. I have followed the instructions in several sources, but when I attempt to connect to the MSSQL database through SQL Plus or SQL Developer, I get the ORA-03135 error. I set up a non-Oracle location in OWB and the connection test was successful but the metadata would not import. Creating an Oracle location with the same parameters produced the ORA-03135 error.
    In TNSNAMES.ORA I placed the following definition:
    MSSQL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = wgilt1.hsd1.nj.comcast.net)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = MSSQL)
         (HS = OK)
    In LISTENER.ORA I placed the following in the SID_LIST_LISTENER:
    (SID_DESC =
    (SID_NAME = MSSQL)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_2)
    (PROGRAM = hsodbc)
    The inimssql.ora file contains the following:
    HS_FDS_CONNECT_INFO = MSSQL
    HS_DB_NAME = MSSQL
    HS_FDS_TRACE_LEVEL = ON
    HS_FDS_TRACE_FILE_NAME = c:\hs_fds_mssql.log
    What is missing?

    could be a copy paste issue, but please make sure the tnsnames.ora has at least on space in from of each line after the alias.
    In addition what is the listener status? Please post the output of lsnrctl status <listener name>.
    Need to know also the output of: C:\oracle\product\10.2.0\db_2\bin\hsodbc

  • Very Urgent - Export Oracle 10G and Import Oracle 9i

    Dear Friends,
    I am in a very tense sitution. Please help to sort out this problem. I am running an application against Oracle 10G. Now I want the the data of the application running under 10G(server A) to be imported to Oracle 9i (another Server B) and run the same application. What should I do so that i can export the data from Oracle 10G and import in Oracle 9i.
    Please treat this as very urgent.

    You need to post your question in the database forum. This forum is for Oracle Forms. There are database tools such as SQL Developer that let you move data back and forth between databases.

  • Is there any method to export the data from oracle 10g in any format !!!!!

    is there any methods to export the data from oracle 10g in the format of excel or csc or txt or anyother. i already downloaded the sql developer tool but it only exports the data of upto one lakh rows ,but i have two tables of more than 3 lakh and 10 lakh rows respectively.for this i used 'where' command to break the file through sql developer but that didnt work
    plz help me out if any thing possible
    i need to again import this data into microsoft sql if there is any direct method plz let me know
    its urgent
    Message was edited by:
    user628031
    Message was edited by:
    user628031

    Take a look at DUMP_CSV function by Tom Kyte.

  • Create a visual web part which get data from excel sheet and import it into sql server database in sharepoint 2010 (development)

    Hi,
    I want to create a visual webpart which will read data from excel sheet and import it in to sql server database.(using sharepoint development)
    I want to do it using visual webpart.
    Please help to solve the issue.
    Thanks in advance!
    Regards
    Rajni

    Hi  Rajni,
    Microsoft.Office.Interop.Excel assembly provides class to read excel file data, in your web part solution, reference the assembly, and following blog contains samples about how to read the excel file data,
    and import it to SQL  database.
    1.Create a Visual Web Part Project:Create
    Visual Web Parts in SharePoint 2010
    2.Read the excel workbook by using SPFile class:
    http://alancejacob.blogspot.in/2012/06/read-data-from-excel-file-and-insert-in.html
    http://stackoverflow.com/questions/14496608/read-excel-file-stored-in-sharepoint-document-library
    3.Export the excel workbook to SQL Server:
    http://www.c-sharpcorner.com/UploadFile/99bb20/import-excel-data-to-sql-server-in-Asp-Net/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Guide me for exporting and importing data from oracle 10g to oracle 9i

    I have been trying export and import options in oracle but m not very clear about the procedure..
    Also when i am logging in as Scott/tiger i am facing an error
    ORA 1542 - tablespace 'USER' is offline and cannot allocate space in it.how to resolve it

    Hello,
    I see two questions.
    ORA 1542 - tablespace 'USER' is offline and cannot allocate space in it.how to resolve it About the error ORA-01542 you have to bring the Tablespace USERS online:
    http://www.error-code.org.uk/view.asp?e=ORACLE-ORA-01542
    If you cannot bring it online you may have to Recover it first.
    I have been trying export and import options in oracle but m not very clear about the procedure..About the Export in 10g and Import in 9i (9.2 or 9.0.1 ?), you have to export with the Export utility of the Target Database (the lowest Database version here: 9.0.1 or 9.2) then, you have to Import to the Target Database using its Import utility (in 9.0.1 or 9.2).
    The following Note of MOS may guide you:
    Compatibility Matrix for Export And Import Between Different Oracle Versions [Video] [ID 132904.1]
    NB: You cannot use here the DATAPUMP.
    Hope this help.
    Best regards,
    Jean-Valentin

  • Exporting database from oracle 11g and then importing it in oracle 10g

    Hi! there every one...
    please tell me the way to export the data and my data structures i.e the complete database from Oracle 11g to older version(oracle 10g) and how to import it there..
    i'm moving the database from one machine to another without lan, preferably via storage device...

    EXPORT FROM 11G to 10G.
    1) log on to 11G box.
    2) cd /<>/product/app/oracle/product/10.2/network/admin/
    3) Get the connection string from tnsnames.ora for the respective instances
    4) export ORACLE_HOME=/<>/app/oracle/product/10.2.0
    5) export LD_LIBRARY_PATH=$ORACLE_HOME/lib
    6) cd /<>/app/oracle/product/10.2.0/bin
    7) #>./exp file= test.dmp ......
    Username: user1@<connection_string>
    Password:*******
    8) Import as usual

  • Using FDM to load data from oracle table (Integration Import Script)

    Hi,
    I am using Integration Import Script to load data from oracle table to worktables in FDM.
    i am getting following error while running the script.
    Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done
    Attaching the full error report
    ERROR:
    Code............................................. -2147217887
    Description...................................... Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
    At line: 22
    Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
    Component........................................ upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 6260
    IDENTIFICATION:
    User............................................. ******
    Computer Name.................................... *******
    App Name......................................... FDMAPP
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... ORAOLEDB.ORACLE
    Data Server......................................
    Database Name.................................... DBNAME
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... SCRTEST
    Location ID...................................... 750
    Location Seg..................................... 4
    Category......................................... FDM ACTUAL
    Category ID...................................... 13
    Period........................................... Jun - 2011
    Period ID........................................ 6/30/2011
    POV Local........................................ True
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False
    I am using the following script
    Function ImpScrTest(strLoc, lngCatKey, dblPerKey, strWorkTableName)
    'Oracle Hyperion FDM Integration Import Script:
    'Created By:     Dhananjay
    'Date Created:     1/17/2012 10:29:53 AM
    'Purpose:A test script to import data from Oracle EBS tables
    Dim cnSS 'ADODB.Connection
    Dim strSQL 'SQL string
    Dim rs 'Recordset
    Dim rsAppend 'tTB table append rs object
    'Initialize objects
    Set cnSS = CreateObject("ADODB.Connection")
    Set rs = CreateObject("ADODB.Recordset")
    Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
    'Connect to SQL Server database
    cnss.open "Provider=OraOLEDB.Oracle.1;Data Source= +server+;Initial Catalog= +catalog+;User ID= +uid+;Password= +pass+"
    'Create query string
    strSQL = "Select AMOUNT,DESCRIPTION,ACCOUNT,ENTITY FROM +catalog+.TEST_TMP"
    'Get data
    rs.Open strSQL, cnSS
    'Check for data
    If rs.bof And rs.eof Then
    RES.PlngActionType = 2
    RES.PstrActionValue = "No Records to load!"
    Exit Function
    End If
    'Loop through records and append to tTB table in location’s DB
    If Not rs.bof And Not rs.eof Then
    Do While Not rs.eof
    rsAppend.AddNew
    rsAppend.Fields("PartitionKey") = RES.PlngLocKey
    rsAppend.Fields("CatKey") = RES.PlngCatKey
    rsAppend.Fields("PeriodKey") = RES.PdtePerKey
    rsAppend.Fields("DataView") = "YTD"
    rsAppend.Fields("CalcAcctType") = 9
    rsAppend.Fields("Amount") = rs.fields("Amount").Value
    rsAppend.Fields("Desc1") = rs.fields("Description").Value
    rsAppend.Fields("Account") = rs.fields("Account").Value
    rsAppend.Fields("Entity") = rs.fields("Entity").Value
    rsAppend.Update
    rs.movenext
    Loop
    End If
    'Records loaded
    RES.PlngActionType = 6
    RES.PstrActionValue = "Import successful!"
    'Assign Return value
    SQLIntegration = True
    End Function
    Please help me on this
    Thanks,
    Dhananjay
    Edited by: DBS on Feb 9, 2012 10:21 PM

    Hi,
    I found the problem.It was because of the connection string.The format was different for oracle tables.
    PFB the format
    *cnss.open"Provider=OraOLEDB.Oracle.1;Data Source= servername:port/SID;Database= DB;User Id=aaaa;Password=aaaa;"*
    And thanks *SH* for quick response.
    So closing the thread......
    Thanks,
    Dhananjay

  • Retrieval of xmltype data from oracle 10g to java

    Hi
    Right now we are facing an issue on xmltype retrieval from oracle 10g to java.
    I used xmltype column.getClobval() to get the xml content, but unable to do the parse to get the xml data.
    So i tried getStringval(), getting the xml content as string format and here in this case also, i didn't get document object.
    Here is the code snippet:
    String sql = "SELECT node_id,node_desc,parent_node_id,e.report_xml.getStringval() FROM TABLE_STRUCTURE e";
    st = con.createStatement();
    rs = st.executeQuery(sql);
    while (rs.next()) {
    Object value[] = { rs.getString(1), rs.getString(2), rs.getString(3), rs.getString(4) };
    list.add(value);
    DOMParser parser = new DOMParser();
    parser.parse(rs.getString(4));
    doc = (Document) parser.getDocument();
    System.out.println(": DOM = " + doc.getClass().getName());
    Please do guide in this scenario.
    Thanks in advance.
    Sirisha

    Please see below link
    http://www.stanford.edu/dept/itss/docs/oracle/10g/appdev.101/b10790/xdb11jav.htm

  • How to access MYSQL from Oracle 10g and vice versa

    I will like to know how do I create a database link between Oracle 10g and MYSQL database on windows.  I have been saddled with responsibility of ensuring the communications between the 2 databases and I have searched everywhere on google, I could not find anywhere where this is explain explicitly and made work.
    THank you

    In general Oracle offers 2 different products to connect from an Oracle database to a MS SQL Server. The first product is for free and it is called
    As DG4ODBC is a generic connectivity based on ODBC it allows you to connect to many foreign databases as long as you have a suitable ODBC driver.It for example allows you to read from text files but also connect to foreign databases like MS SQL Server or IBM DB2. Due to this wide variety of foreign data sources tha capabilities of DG4ODBC are very limited. It only supports a few Oracle functions that it can directly map to foreign database equivalents. All other functions will be post processed. Post processing means that ALL records from the foreign table(s) will be fetched into the Oracle database and the result is then processed locally - so depending on the amount of data stored in the foreign database it might take a while.
    To be complete here some notes to follow up:
    This Oracle support note describes possible options you have to connect to a foreign database:
    Document 233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases - For example - DB2, SQL*Server, Sybase, Informix, Teradata, MySQL
    So you see, to connect from Oracle to MySQL you need to use the Database gateway for ODBC release 11.2 (HSODBC which was shipped with 10g was desupported in march 2008).
    The Database Gateway for ODBC 11.2 (=DG4ODBC) license is included in the Oracle database license and it allows you to connect with a suitable 3rd party ODBC driver to a foreign database.
    For your MySQL connection you only need to download and configure the MySQL ODBC driver from the MySQL web site. Once you can connect with the ODBC driver you could then download and configure DG4ODBC.
    As you didn't post on which platform your Oracle database is installed, here 2 notes for common platforms:
    How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle (Doc ID 561033.1)
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on 64bit Windows Operating Systems to Connect to Non-Oracle Databases Post Install (Doc ID 1266572.1)
    - Klaus

  • Problem with retrieving data from Oracle 10g / PHP4.3 / Apache 1.3.27

    Hi,
    I re-open a new thread following the opened post 'Getting RPMs for php-oracle for PHP4.3 on RHEL 4.0 and issue with OCI8 '
    I could re-installed PHP4.3 and apache 1.3.27 from the normal tar package (./configure then make) - I had some issues with the RPMs packages before.
    I could connect successfully PHP4.3 to my Oracle 10g DB with no issues by using some of the (deprecated) functions contained in oracle.so library in command line mode by executing a simple PHP script ;-)
    But ...when I try to execute the same script (a simple log on to the DB) or the application throught my web browser there are some errors in the apache error_log file that crash the process:
    [Wed Jul 25 13:19:23 2007] [notice] child pid 25450 exit signal Segmentation fault (11)
    [Wed Jul 25 13:19:31 2007] [notice] child pid 25451 exit signal Segmentation fault (11)
    *** glibc detected *** realloc(): invalid size: 0x08338898 ***
    [Wed Jul 25 13:19:42 2007] [notice] child pid 25441 exit signal Aborted (6)
    *** glibc detected *** realloc(): invalid size: 0x08338898 ***
    [Wed Jul 25 13:54:52 2007] [notice] child pid 25508 exit signal Aborted (6)
    [Fri Jul 27 04:39:56 2007] [notice] child pid 20550 exit signal Segmentation fault (11)
    After some investigations it looks like this is due to the connection of Oracle 10G and php.
    I tried to recompile Apache as the following:
    # cd /usr/src/apache_1.3.xx
    # make clean
    # LIBS=-lpthread ./config.status
    # make
    # make install
    but the issue is the same ...
    How can I workaround that issue and fix it in order to connect to Oracle 10 G by using PHP4.3 / apache 1.3.27 ?
    I need to use the oracle.so library to avoid to re-rewrite all my application ...
    Any help much very appreciated !
    Cheers
    Dominique

    You are in unchartered territory. But check the common "gotcha" and
    make sure that all the Oracle environment variables are set in the
    shell that starts Apache. Load the script <?php phpinfo(); ?> in a
    browser and see that whatever variables you need are set in the
    Environment section. See the section "Oracle Environment Variables
    for Connections" in Underground PHP and Oracle Manual
    I suspect it would be beneficial to migrate the PHP code to oci8.
    Check table 16-1 in Underground PHP and Oracle Manual for the mapping
    between 'oracle' and 'oci8' functions.
    -- cj

  • Arbic fields and english fields are mixed in exported data from oracle

    I have a oracle db with character set UTF8.
    I have exported some data from a table with arabic detail through sqlplus
    and saved in a text file.The file is | sepereted.
    I can view this file properly while using textpad.
    But in note pad the arbic fields and english fields are mixed.
    I have anothe application which is accept the data from note pad only.
    so i am not able to export arabic data properly in notepad.
    Can any one help from this issue.?
    Thanks,
    nash

    Thanks for your reply.
    i have saved the file in UTF8 format and still the same.
    i will explian you the real issue.
    We have one Dot net application and we need to upload some data to this application.
    I can upload the data which is contain only English detail.
    But i am not able to upload the arbic detail.So i ve checked the application and the data which i am uploading to this.
    And i found that the data which i am uploading is mixed with arabic fields and english fields.
    There is a field seperation in my data which is '|',So i can see some arabic field is mixed with some other english field
    if i open the file through internet Exploreer or notepad able to see the mixed field detail.
    But i can see the data in textpad are correctly.
    The upload data file is taking from oracle database through toad.
    I have tried with SQL plus also.But still the same.
    Please help me out from this issue?

Maybe you are looking for

  • Envy 5530 Wireless Installati​on Issue

    Printer connected to my home router.  No problem.  Installation on first laptop (Win8.1) - wireless installation, and printing no problem.  Hooray!  However, wireless installation on second home desktop (Win XP) fails.  The following image confirms t

  • Burned DVD on iDVD. Won't play on DVD player

    I burned a slide show on iDVD and when I put the disk in my DVD player or back in my computer it won't play.

  • Why cant I post anything or search in facebook when using Firefox but I can with internet explorer?

    When I am using firefox I can not post on anyone's wall or search for friends. When I switch to internet explorer I can. This has been happening for over a week now. I cant even access the facebook help center because it wont let me click on anything

  • IP Address & Port Number

    We have some users who are unable to sign in when they want to use Folio Builder.  We suspect that the issue is down to our firewall as all standard ports are blocked.  I therefore need to know the IP Address and Port number that Folio Builder tries

  • Can anyone teach me how to create a JTable

    In my project, i would like to make a class extends JTable for which it can function like the excel one. This means that the table can split into two parts. Each of them have a standalone view and can let user to update the table.