How to convert Oracle database to Sql server Database

Hi All,
I have one database made in the Oracle 8i, i want to convert that database to Sql Server Database,
Can anyone please give me the step by step process to do this conversion.
Regards
Ramesh Jha

Try using the DTS (data transformation services) services of SQL Server 2000
DTS is based on an OLE DB architecture that allows you to copy and transform data from a variety of data sources. For example: Oracle directly, using native OLE DB providers.
Alternatively, you could follow the following broad steps for data migration (assuming you are retaining the same table structures in SQL Server, and that you are talking about SQL Server 2000).
1. Get the CREATE scripts corresponding to each Oracle table / view / index. These can be reverse engineered from the database using a tool.
2. Map Oracle datatypes to SQL server datatypes e.g: date maps to datetime/smalldatetime, numeric maps to one of int, bigint, smallint, etc depending on the range of values in the CREATE scripts.
3. Indexes in SQL Server are of two types: Clustered / non-clustered. There can only be one clustered index on each table.
4. Converting procedures and triggers will have to be line by line, since SQL Server uses a proprietary T-SQL instead of ORacle's PL/SQL
I have yet to see a really good tool to do this migration, but it is possible to write a PL/SQL procedure / Pro*C program to automate the script creation for creating tables in the SQL Server database.
For the actual data import into SQL Server, export the Oracle data table by table into flat files, and then use the import wizard of SQL Server enterprise manager

Similar Messages

  • Migrating OBIEE Repfrom Oracle database to SQL server database in Solaris.

    Hi,
    I need inputs in how we would migrate our connections in Repository from Oracle database to SQL server database in Sloaris server.
    Is there a complication here.
    Regards,
    Bhavik

    Well that makes more sense, you probably have phrased your question better. Microsoft SQL Server Connectivity Components are not supported in any other operating system than Windows. So you will not be able to use the SQL Server native drivers to connect to your SQL Server. ODBC it's an option but there aren't many ODBC drivers for Unix systems. Luckily for you OBIEE includes the DataDirect ODBC drivers and supports using them to connect to a SQL Server. Check [the documentation|http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10416/general_101331.htm#sthref9] on how to use them. Having said that I would say that whoever is pushing to move your DWH to SQL Server should consider also moving OBIEE to a Windows server to be able to use the SQL Server native drivers to connect to SQL Server.
    PS: No needs to post 3 times. :-)

  • What are the Basic Differences between Oracle and  MS-SQL server Database?

    Hello,
            anybody pls Guide me about the Differences between Oracle and MS-SQL server Database.and also IBM Databases also
    Regards,
    Balaram

    SQL Server only works on Windows-based platforms, including Windows 9x, Windows NT, Windows 2000 and Windows CE.
    In comparison with SQL Server , OracleDatabase supports all known platforms, including Windows-based platforms, AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, Linux Intel, Sun Solaris and so on.
    The SQL Server  advantages:
    SQL Server  holds the top TPC-C performance and price/performance results.
    SQL Server  is generally accepted as easier to install, use and manage.
    The Oracle  Database advantages:
    Oracle  Database supports all known platforms, not only the Windows-based platforms.
    PL/SQL is more powerful language than T-SQL.
    More fine-tuning to the configuration can be done via start-up parameters.
    Samrat

  • How to load oracle data into SQL SERVER 2000?

    how to load oracle data into SQL SERVER 2000.
    IS THERE ANY UTILITY AVAILABLE?

    Not a concern for an Oracle forum.
    Als no need for SHOUTING.
    Conventional solutions are
    - dump the data to a csv file and load it in Mickeysoft SQL server
    - use Oracle Heterogeneous services
    - use Mickeysoft DTS
    Whatever you prefer.
    Sybrand Bakker
    Senior Oracle DBA

  • Converting Oracle query to Sql Server with date manipulation

    The following SSIS statement works great in Oracle, and it parses successfully in the "Sql Task" window. In Oracle it returns
    this result:
    FROM_DT              THRU_DT
    16-Jan-2014      23-Jan-2014
    select
    case
    when to_char(to_date(sysdate,'dd-mon-yyyy'),'dd') <=7 then to_date('24'||to_char(add_months(sysdate,-1),'mmyyyy'),'ddmmyyyy')
    when to_char(to_date(sysdate,'dd-mon-yyyy'),'dd') <=15 then to_date('01'||to_char(sysdate,'mmyyyy'),'ddmmyyyy')
    when to_char(to_date(sysdate,'dd-mon-yyyy'),'dd') <=23 then to_date('08'||to_char(sysdate,'mmyyyy'),'ddmmyyyy')
    else to_date('16'||to_char(sysdate,'mmyyyy'),'ddmmyyyy')
    end as from_dt,
    case
    when to_char(to_date(sysdate,'dd-mon-yyyy'),'dd') <=7 then trunc(last_day(add_months(sysdate,-1)))
    when to_char(to_date(sysdate,'dd-mon-yyyy'),'dd') <=15 then to_date('07'||to_char(sysdate,'mmyyyy'),'ddmmyyyy')
    when to_char(to_date(sysdate,'dd-mon-yyyy'),'dd') <=23 then to_date('15'||to_char(sysdate,'mmyyyy'),'ddmmyyyy')
    else to_date('23'||to_char(sysdate,'mmyyyy'),'ddmmyyyy')
    end as thru_dt
    from sys.dual
    How can I convert this to Sql Server ?

    >>You mean you get the data from Oracle and tries to insert it into SQL Server?
    - no, sorry, I want to convert the syntax to Sql Server
    >>Are
    you running the query in OLEDB provider connected to the Oracle's database?
    - yes, this works fine now (after fixing this redundancy:
    to_char(to_date(sysdate,'dd-mon-yyyy'),'dd')change toto_char(sysdate,'dd')

  • How to access ,Oracle 7.x,SQL server,MS access data from portal 3.0.7

    hi,
    i am sorry to repost it . but
    we r badly in need of accessing data from Oracle 7.x,SQL Server and access to Portal3.0.7 Applications.
    pl. help us.
    null

    Hi swati,
    1. for this u will also require help of basis team.
    2. these are the steps.
    a) make an entry in DBCON
    b) make connection string
    (on the physical application server,
    so that it can connect to secondary database)
    (this will be done by basis team,
    in which, they will specify the
    IP address of the secondary database server,
    the DATABASE ID, and the port number)
    c) then using open sql / native sql,
    we can use the secondary database connection,
    just like normal.
    d) if we use open sql,
    then there must be Y/Z table on
    sap as well as secondary database,
    and the field names , their type all should be identical.
    regards,
    amit m.

  • How to access Oracle 8g from SQL Server 2005 SP3 EE 64 Bits ?

    Dear All,
    How to access Oralce 8g from SQL Server 2005 SP3 EE 64 Bits (liked server).
    Best regards,
    Miguel Gavinhos

    Hi!
    For the Oracle version is 8.1.6. what should I install, to access Oracle trought a linked server.
    Best regards
    Miguel Gavinhos

  • How get OraOLEDB.Oracle messages from sql server

    Hi,
    I am trying of get the oracle exception messages for linked server in sql server. With ERROR_MESSAGE() I get a generic error. How I can get the oracle errror with 'ORA-001' format ?
    thanks

    If understand you right this should do the job:
    try
    // do some Oracle database stuff here
    catch(OracleException exc)
    String error = exc.Message;
    This always gives me the errors with the format you wanted.
    I hope I got you right and that it helps you.
    Best regards,
    Matthias

  • How do I connect to an SQL Server Database from CR XI?

    Hello All,
    I posted previously to this forum but did not get any response. There surely must be a way to connect to SQL Server from CR XI? My problem is that I keep on getting prompted for a PW or get a message saying "Logon Failed"
    Please see my earlier post, with code sample, on Page 4 (or now 5 or 6 .....)
    "How to log on to SQL 2000 programmatically using VB6 RDC and CR XI "
    I would really appreciate a response from someone as I need to get some pressing work finished for a client.
    Thanks so much in advance
    Peter Tyler

    This shoul dbe posted to the Legacy Development forums

  • Converting a SQLite database to a SQL Server database

    Hi
    I have a SQLite database. I want to convert it to SQL Sever 2005 database. Can u pls guide me how to do it?
    Imalka

    Hi
    There are several known tools for converting between SQLite database and SQL Server database. I id not check them all but you can get more information on each using Google, and then choose the one that fit your needs
    1. Convert SQL Server DB to SQLite DB
    http://www.codeproject.com/Articles/26932/Convert-SQL-Server-DB-to-SQLite-DB
    Written by, liron.levi, from Israel
    * Open source & free
    2. SQLite Manager 0.8.1
    https://addons.mozilla.org/en-US/firefox/addon/sqlite-manager/
    Written by, by lazierthanthou
    * This is Firefox free add-on (I ont think that they publish the source code)
    3. RazorSQL
    http://www.razorsql.com/index.html
    4.  MDB Tools project
    http://mdbtools.sourceforge.net/
    * Open source (LGPLv2) & Free
    5. You can use SSIS to import to/from SQL Server
    [Personal Site] [Blog] [Facebook]

  • Checking Maximum size limit of SQL-SERVER database.

    It is said that EXPRESS version of SQL server has SIZE_limit.. How can i check what size limit my database has using Management_studio_express??

    It is said that EXPRESS version of SQL server has SIZE_limit.. How can i check what size limit my database has using Management_studio_express??
    Yes it has limitations regarding CPU ,memory and database size.You can refer to below link
    http://msdn.microsoft.com/en-us/library/cc645993.aspx
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
    How do i check what is the size limit of my database??
    Common please do some basic reading before asking question.I am not discouraging you from posting but search not net how to find size of my SQL Server database you will get lots of link.Max size of your database will be max size supported by edition of SQL
    Server in your case since it is express 2008 r2 it will be 10 G.For current size please do as advised above
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Connect to a MS SQL Server database

    Dear all,
    Please tell me how to connect to a MS SQL Server database in
    Flex 3.
    Thanks a lot !

    Please checkout these two detailed blog entries (tutorials ) on Flex- SQL Server Connection.
    Part1 - http://codeexpander.blogspot.com/2009/10/connecting-flex-to-sql-server.html
    Part 2 - http://codeexpander.blogspot.com/2009/10/connecting-adobe-flex-to-sql-server.html
    Hope this will help.
    Thanks,
    Amrit

  • How to Migrate Stored procedure on Sql server 2008 to Oracle Database

    Guys, I need help vey badly as I am new in this field.
    Problem is that, I have to migrate stored procedure on Sql server 2008 to oracle Oracle database:
    Whole scenario--
    1. Sql Server 2008 application on Windows server (source machine)
    2. I have to migrate 70 Stored Procedure
    3. To Oracle Database on Linux machine (Target machine)
    Any method (no problem)
    Please, help me or give me any reference as I don't know which keyword is differ in both database.
    Thanks in advance

    Hi,
      You could the free Oracle SQL*Developer to do this.
    There is information and a download link here -
    Oracle SQL Developer&lt;/title&gt;&lt;meta name=&quot;Title&quot; content=&quot;Oracle SQL Developer&quot;&gt;&lt;meta n…
    and information on using it for migrations here -
    http://www.oracle.com/technetwork/database/migration/index-084442.html
    You could use it in 2 ways -
    1. Go through a migration but just pull the stored procedure code from the file created after you generate the SQL from the SQL*Server database
    2. Use the scratch editor accessed from -
    - Tools - Migration - Scratch Editor
    and paste the SQL*Server stored procedure code into the window and it will convert it to Oracle code. The tool is very good but may have problems if you have very complicated procedures that use SQL*Server specific utilities.
    Regards,
    Mike

  • How to convert sql server database to SQL Server Express LocalDB??

    How do I convert sql server database 2008 to SQL Server Express LocalDB??
    Thanks
    Aru

    Hello,
    Please read the following article:
    http://msdn.microsoft.com/en-us/library/hh873188.aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Convert  Sql server database into oracle

    hi friends
    i have a very smal database of sql server containing 8 tables
    i want to convert my databse into oracle plz tell me in detail coz i dont know any thing about it.
    plz help me
    take care
    bye

    If the amount of data is small, you might look into Microsoft Data Transformation Services (DTS), which comes with SQL Server. This provides an easy to use GUI for mapping data between two sources.
    A few warnings:
    - If you let DTS create your Oracle tables, beware that that table / column names may be created as case-sensitive and data types may not be what you expect
    - If you are transferring a lot of data (e.g. millions of rows), performance will be terrible.

Maybe you are looking for

  • Sloooow file browsing....

    Hi all Just got a new Mac Pro (YAY!).... One thing kind of bugging me is how slow it is when displaying the contents of folders. I keep my windows in columns view. When I click on a folder, there is a lag of 2 or 3 full seconds before the contents of

  • Robohelp displays twice in IE 9 when used in an iFrame

    I am building an application for a client who needs to be able to control access to their Robohelp content.  I am doing this by displaying the Robohelp content inside of an iframe in another page (ASP.NET).  The problem is the entire Robohelp framese

  • Mutilple file move by using cffile

    Hi Guys,             I am new to CF I like it, I am trying to move files from a floder in a directory to another folder in another directory, I am able to move one file at a time but I want to move them all at a time, Any suggestions? Thanks much.

  • Hyperion backup strategy

    Due to limited resources at my client's expense, we have only 2 environments to work with: Development and Production. We are trying to come up with the fittest strategy for disaster recovery and backup purposes. As of now, we have our backup process

  • Problem putting external (4) .SWF's on homepage CS4

    Hey everybody! I've got a question/request concerning my first flash website. www.seniorict.com If you look at my site you will see 4 .swf's loaded in from the sides. This effect is made possible by Jquery script. But because of lack of compatibility