Migration from SQLServer

I have to migrate a database from SQLServer 7.0 to Oracle 8i.
I make it from the SQLServer console,and there's no problem.But there are some tables with several "Long" type fields,and there's an error showing me that Oracle only supports one "Long" field per table...
What can I do?
I don't have Oracle Migration Worbench...I tried to get the demo form otn.oracle.com,but it doesn't work,because that's for Oracle 9i,and I have 8i.
Thanks in advance

Additionally Lara, Oracle do not recommend using the LONG datatype anymore - you should migrate any LONG data to Oracle LOBs.

Similar Messages

  • Migration from Sqlserver 2005 to Oracle 10g

    Hi all,
    does anyone know a tool good to migrate a sqlserver 2005 database to oracle 10g ?
    I tried Sqldeveloper and the migration of tables and datas are ok, but when I try to migrate views, functions and procedures the sqldeveloper hangs.
    regards,.
    Wander (Brazil)

    Quite frankly forget using tools for all but the simplest migration: The best you will get from a tool, provided it works, is mediocrity.
    Moving tables and data with tools works if you are using basic data types. Once you get past this, in all seriousness, it is time to roll up your sleeves and start writing code.
    The differences between the two products is profound. What constitutes a transaction different, locking different, logging different, security models different, etc.
    No tool can turn Transact SQL into nested BULK COLLECT and FORALL statements. And for many years into the future ... none will.

  • Migration from sqlserver 2005 to 2012

    Hi Friends,
    As we migrating our sqlserver database from 2005 to 2012, copy and attach sqlserver 2005 to 2012 database which is optimized way, or we should export data rows by table in new server is best way or just copy from sqlserver 2005 to attached
    to sqlserver 2012 and change backup compbality parameter.
    thank you.
    regards,
    asad
    asad

    Hello there,
    Please follow the steps below:
    Run upgrade advisor on the databases for the instance you want to upgrade.
    If any issues are found, talk to your dev team/ Vendor for fixing the same.
    If issues are fixed proceed with the actual upgrade. -- Do check for the other dependencies on the database which might effect the functionality if the instance gets
    upgraded or something like that.
    Get the downtime for the database.
    Create the latest full backup of the database -- any other strategy will also work, just make sure you can recover the database.
    Take a clone of the server if it's a virtual server to roll back any changes.
    Run the upgrade on the sql 2005 instance from the 2012 set up. -- do check the pre-requirements for upgrade to sql 2012.
    If everything is fine then you have an upgraded instance.
    Also check the compatibility of the databases.
    If all is fine then congratulations, you have upgraded your SQL server!

  • Migration from SqlServer 2005 very slow... Number of Commits very big!

    Halllo,
    I migrate from SQL Server 2005 to Oracle 10g using SQL Developer 1.2.1 (latest Build). I have 2 tables, with 27 million rows and 29 million rows.
    1% data move needs 4-5 Hours!...
    - no indexes or constraints
    - Options: 10 000 rows to commit after. Tries: 500 000 does not help also.
    - tables have not LONG, BFILE, REF, ROWID,UROWID, or
    TIMESTAMP columns (I have readed, for tables containing this types columns, rows are inserted individually, with commit for each row).
    In "DETAILED ADDM REPORT FOR TASK XYZ" at Oracle server kann I read:
    (translated from germany, sorry for bad english...):
    Waits on event "log file sync" during the execution from COMMIT-and rolling forecastle processes have booked essential data bank time.
    RECOMMENDATION 1: Application analysis, 97% benefit (467900 seconds)
    ACTION: Check the application logic for a possible reduction of the number of COMMIT processes by enlargement of the transactions.
    RATIONAL ONES: The application has explained 2596 transactions per minute by an average Redo size of 824 bytes per transaction.
    It looks thus each row is committed, why?
    Any insight to tune it to go faster.
    Please help, I have many searched, but no solution found.
    Thanks,
    Julia
    null

    Hello Julia,
    Moving large amounts of data "online" using JDBC is not recommended for the issues you outlined.
    Its better to move large data sets using SQL Servers BCP tool to dump out the data from SQL Server into dat files, and then use Oracles SQL*Loader to load up the dat files into the Oracle database.
    Luckily SQL Developer Migration Workbench can help you setup the scripts.
    The feature is called "Offline Data Move".
    See this viewlet
    http://www.oracle.com/technology/tech/migration/workbench/viewlets/ofdm.html
    Obliviously you will need enough disk space to create a file large enough to hold millions of rows.
    I hope this helps
    Dermot.

  • Migration from sqlserver 2005 to Oracle 10.1.0.3

    I'm new to the migration workbench. But I was successful in converting our sqlserver 2005 db to Oracle 10.1.0.3 using the Offline capture method. This isn't a terribly complex db - 100 tables, many are empty. The trouble started when I tried to convert it a second time. True, there was an additional table, and several tables were populated with more data, but I didn't even get past the 'Load Database Capture Scrpt Output' step.
    In preparation for the 2nd migration, I dropped all the SS2K5 tables from the Oracle id I was using to house the migration repository. I deleted the repository as well. So the userid was 'clean'. I set up a new directory to house the scripts that are generated.
    1. Created a new repository. Checked that the MD% tables were indeed created.
    2. Ran 'Create Database Capture Scripts'. Checked the files - they were fine.
    3. Ran the omwb_offline_capture script against the Sqlserver db, from the directory where the scripts were created. .ERR files all empty. .DAT files exist - things are fine.
    4. Logged on to the Oracle connection where the repository resides. Clicked on 'Load Database Capture scripts'. In the popup, I provided the directory path & name of the .ocp file. And the 'Capturing Database' popup displays, but the progress bar isn't moving back & forth. But, if I check in the directories where the .DAT files were generated (in 3.), I see that the .XML files now exist, with the proper timestamp. Also, if I log on to the repository userid, I see that the SS2K5 tables have now been created. So something did indeed happen. But I don't see any list of things being created. (On the original successful migration, I would see entries for nn Tables, nn Foreign Keys, etc.). One point I noticed on the successful migration - the foreign keys part of this step took 2 hours. There's only 224 foreign keys, so I thought that was odd.
    I don't know how to go further here. Anyone have any ideas?

    Hi there, and thanks for the reply.
    I'm using sqldeveloper 1.5.0.53
    I tried it with a new Oracle schema as the migration repository. Same result.
    Running sqldeveloper.exe from the command line doesn't give any error. Is there a file somewhere that an error might be written to, and I'm not seeing it?
    I left the 'Data Capture' popup running overnight & this morning, it was in the same state - no progress bar action, no messages about items being captured, nothing in the 'Captured Objects' pane. So I hit 'Close', and in the message log at the bottom of the screen, I get
    oracle.dbtools.metadata.persistence.PersistableObject.doInsert(PersistableObject.java:238) <timestamp in here>     
    " (the above line is repeated forever). I eventually have to kill Sqldeveloper 'hard' - eg clicking the 'x' in the upper right corner.
    Prior to killing, I can scroll to the bottom of the list of 'forever' lines, and the following 2 lines are displayed:
    OALL8 is in an inconsistent state                                                  <timestamp in here>          
    oracle.dbtools.metadata.persistence.PersistenceException: Protocol violation               <timestamp in here>          
    On the Logging tab I see this:
    Level          Sequence     Elapsed          Source                                   Message
    SEVERE     32          0          oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:Protocol violation     
    I'm completely lost!
    Would I get this kind of problem if, for some reason, no db objects were present in the output generated on the Sqlserver side?
    I notice that, after shutting Sqldeveloper down hard, it doesn't restart easily. I get the product screen, then a blank screen with the 'Sqldeveloper' title bar at the top. Have to close that down hard. If I wait 10-ish minutes, I can start the product up again. This seems odd.

  • Migration from SqlServer to Oracle

    I am using Sqldeveloper 1.2.1
    I am trying to migrate sql server 2000 data to Oracle..
    For that i had created two connections for oracle & SqlServer.
    SqlServer and Oracle connections were made sucessfully, i am able to view the database and table.
    Now i am doing migration process..
    In Oracle conn i had selected Create Repository then
    in SqlServer conn i selected "Capture Microsoft SqlServer".
    Now Capturing Database is running long time.
    No messsage is displayed..
    Is my way is correct?
    Pls provide solution.

    Hi Shivasha,
    If you are using 11g, the the solution is here (the 3rd post):
    Re: SQL Developer in Oracle 11g
    Andrei

  • 4.1 EA2 Migration from SQLServer: can't change schema name?

    I try to convert a SQL Server database to Oracle.
    As I wanted to insert into an existing schema (with not the same name as on SQL Server) I followed this guideline:
    A SQL Developer ... @dermotoneill: Migrate to Existing Oracle Users
    I first captured the source and then tried to Convert the naming.
    but the tab does not exist:
    (you can see it really is showing pre-captured data as I can select the "Show only data types used in source model" checkbox)
    Is there a new way now how to map the schema?
    thank you,
    Martin

    Hi Martin,
    That object naming page has been removed from the migration wizard.
    The functionality is now available in the object migration report.
    Its easier to work with the report as you can filter and order the objects based on your requirements.
    In this case you can just show the OBJECT_TYPE='SCHEMA'.
    So the steps are.
    1) Capture and Convert you source database
    2) Open the Object report (left click on the "Converted Database Objects" node) and change the SCHEMA objects TARGET_OBJECT_NAME to your desired target name. Commit changes.
    3) Translate and Generate the Oracle database (right click on the "Converted Database Objects" node)
    Regards,
    Dermot.
    SQL Developer Team.

  • Migration from SqlServer from Oracle

    hi all,
    i have use a migration iter of Oracle sql developer, but i have a problem.
    when i start the conversion of acquired model sql server to oracle, some name of column or table are modify.
    example in sql server i have a column name MV__EPOS, but in coverted model oracle is renamed MV_EPOS with one underscore.
    Can you help me??
    Thanks.

    Hi,
    I confirm if you use double underscores in table or column name, it is replaced by one underscore.
    For the moment, except to rename manually column or object, there is no other solution.
    Your issue has been transferred to development for modification
    Thanks
    Regards,
    Mireille

  • Run DDL error when migration from sqlserver 2000 to Oracle

    Hello:
    DDL was generated from Oracle SQL developer. However, it always has some errors when running the script.
    Error starting at line 6 in command:
    CREATE OR REPLACE PACKAGE sqlserver_utilities AS
    FUNCTION convert(dataType VARCHAR2,num NUMBER) RETURN NUMBER;
    FUNCTION convert(dataType VARCHAR2,date DATE, num NUMBER ) RETURN VARCHAR2;
    END sqlserver_utilities;
    Error report:
    Incorrect syntax near the keyword 'OR'.
    Error starting at line 34 in command:
    CREATE SEQUENCE tableName_id_SEQ
    MINVALUE 1 MAXVALUE 999999999999999999999999 INCREMENT BY 1 NOCYCLE
    Error at Command Line:34 Column:0
    Error report:
    SQL Error: Line 1: Incorrect syntax near 'SEQUENCE'
    Thanks

    Hello, Dermot.
    Thanks for the help. I have MD_Packages, MD_Sequences, other MD tables and some MIGR tables created in the target oracle database. How could I know if it was created successful? Except those tables, no other tables(SQL server tables) were created in the target oracle database. The others errors in DDL scripts are:
    Error starting at line 370 in command:
    CREATE TABLE table_name1(
    ID NUMBER(10,0),
    Part_Activity VARCHAR2(20)
    Error at Command Line:370 Column:0
    Error report:
    SQL Error: Column or parameter #1: Cannot find data type NUMBER.
    Error starting at line 376 in command:
    ALTER TABLE table_name1
    ADD CONSTRAINT PK_table_name1 PRIMARY KEY
    ID
    ENABLE
    Error report:
    SQL Error: Line 6: Incorrect syntax near 'ENABLE'.
    Error starting at line 413 in command:
    CREATE TABLE table_name2 (
    ID VARCHAR2(6) NOT NULL,
    COMPETITION NUMBER(10,0)
    Error at Command Line:413 Column:0
    Error report:
    SQL Error: Column or parameter #1: Cannot find data type VARCHAR2.
    Error starting at line 2,800 in command:
    CREATE TABLE table_name3 (
    Prefix NVARCHAR2(510),
    Type NVARCHAR2(510),
    ProductGroup NVARCHAR2(510)
    Error at Command Line:2,800 Column:0
    Error report:
    SQL Error: Column or parameter #1: Cannot find data type NVARCHAR2.
    Error starting at line 2,808 in command:
    CREATE TABLE table_name4 (
    id NUMBER(10,0),
    bldg VARCHAR2(50),
    queue VARCHAR2(50),
    location VARCHAR2(50),
    type VARCHAR2(50),
    maxsize VARCHAR2(50),
    color VARCHAR2(50),
    empid VARCHAR2(50),
    serial VARCHAR2(50),
    duplex VARCHAR2(50),
    server VARCHAR2(15) DEFAULT 'Server'
    Error at Command Line:2,808 Column:0
    Error report:
    SQL Error: Column or parameter #1: Cannot find data type NUMBER.
    Thank you very much for the helo.
    Halfmoon

  • Migrating from sqlServer to Oracle

    Sir,
    My name is ramandeep singh and I hail from india and I work as a computer programmer
    cum incharge computer software.Presently we are using SQL Server and we intend to update
    our existing database to Oracle/Dev 2000.Please provide me the details.
    I am a OTN memeber.
    please get back to me as soon as possible.
    My mail id is [email protected],
    [email protected]

    You Can Convert Yours Database from SQL Server to oracle Write A VB Program that open two connections one to SQL Server And Another To Oracle then By Yours Program Read The Specified Records from Sql Server And insert it in the ORACLE.
    About the Tables And Views Genrate A script from SQL Server Option The Take The Commands Of creating tables and modify the datatype to oracle datatype the run the script in the SQL Plus .
    About the Programs you must rebuild it on developer2000
    Anjad H.S.
    DB Programmer

  • Migrate HFM (9.3) from Sqlserver to Oracle

    Hello.
    We are using Sqlserver for HFM for historical reason, but now we would like to change
    our database to Oracle for improve performance and for licenses reason.
    We want to organize migration and some tests.
    I checked OTN and Metalink and I didn't find anything related to HFM.
    I have found a lot of documentation about migration from Sqlserver to Oracle,
    but I would like to find and read something specific related to HFM repository.
    Maybe Oracle suggests to do some premigration task
    or some postmigration task.
    How can I find this kind of documentation?
    There is anyone that have already done this kind of job?
    Some suggestion?
    Thanks in advance.
    D.
    Edited by: Spugna on May 20, 2011 8:33 AM
    Edited by: Spugna on May 20, 2011 8:34 AM

    You can use the HFMCopyApp utility, which ships with HFM, under the \Server folder on each HFM app server. There are other threads in this forum on how to use this utility. It will allow you to copy from one RDBMS to another.
    Each product however, is different in terms of migrating between RDBMS. FDM, for example, requires a rebuild. So you will have to check into each component. As for performance being better under Oracle vs. SQL Server, that's a matter of tuning and opinion. I would make sure performance will in fact be better before I undertook this project. License costs should be much more clear, of course.
    --Chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Migrating from SQL Server to Oracle - Emulating SQL Server databases

    I want to offer Oracle connectivity from an ADO.NET application that was developed for SQL Server. The application accesses multiple databases, each having the same schema but each storing different data that is confidential to the users of each database. I’ve been reading up on Oracle but have not yet found a way to group tables, views, etc. in a way that would emulate the ‘databases’ of SQL Server.
    The application currently uses the SQL ‘CREATE DATABASE’ command to generate each database and then populates each with the appropriate tables. However, CREATE DATABASE appears to work differently with Oracle, creating a new instance rather than a new ‘internal database’. I’m wondering if CREATE TABLESPACE would give me the functionality I’m looking for, if it were subsequently possible to refer to a specific table within a specific tablespace.
    I guess it comes down to whether it’s possible to access specific groups of tables, views, etc. within Oracle (e.g. Groups A, B and C, each having relational tables T1, T2 and T3, and be able to access and update data within any specific table, say, B-T2), while also being able to limit access to any of the Groups.
    Would ODP.Net offer advantages over the System.Data.OracleClient for this architectural problem?
    Any thoughts on how best to proceed would be most welcome. Thanks in advance for any ideas you might have.

    Sorry for the delay closing-out this thread but I work from a rural location and we lost our internet service for the two-weeks prior to the holidays. Now back on-line so let's wrap-up.
    Oracle and SQLServer are now both being accessed from my ADO.Net application, so a big thanks to all who've helped me with this first use of the forum. Hopefully these final comments might help someone else in turn...
    In migrating from SQLServer to Oracle I initially found it hard to stop thinking about accessing multiple databases on a single dataserver and start thinking more about a single instance of a database that supports muliple users, any one of which can be assigned the same schema. While I had used the SQL CREATE command to produce miltiple databases within SQLServer, it serves a completely different purpose for Oracle, creating an entirely new instance that I did not require.
    Other differences that I ran in to included Oracle utilizing 'sequences' to autoincrement identities, whereas SQLServer lets you specify the identify while creating a table (here SQLServer may simplify declaration but Oracle's approach may be more powerful, e.g. if the same identity applies across multiple tables). Also ADO.NET command parameters use an '@' prefix in SQLServer but ':' for Oracle. But by-and-large few changes were required to my SQL to get up and running with Oracle (I found the 'Oracle Database SQL Reference' useful but no substitute for logging into Oracle and just trying each string in the 'SQL Commands' area).
    Clearly I'm no database expert and I've barely scratched the surface with Oracle, but after logging in through the 'Database Home Page' I've found Oracle to offer a very 'clean' and logical interface that made it easy to move around the application and get a 'feel' for its organization and what it can do before digging furhter into the documentation. The 'Object Browser' is also a great way to quickly view and edit your various tables, views, sequences, triggers, etc., and ditto your data. In short, I think I'm going to like Oracle.
    Thanks again and bye for now.

  • Migrate from sql server to oracle

    can anyone help me how to migrate from sqlserver to oracle

    Hi;
    i have been searching in google if anybody having live experience in migration pl help meOk than i am helping you,checked google search and found below links from search. They should help you friend. Please see:
    http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
    http://www.oracle.com/technetwork/database/migration/sqlserver-095136.html
    Also see:
    SQL Server to Oracle migration queries
    SQL Server to Oracle migration queries
    If have still question than update thread.
    Regard
    Helios

  • Migration from sqlsever to sybase ase

    Hi,
    Has anyone migrated from sqlserver to sybase ase? is this feasible.Thanks.

    Hi Ambarish,
    Migration to Sybase ASE is very much feasible. Refer following SAP notes which will be useful.
    Note 1591424 - SYB: Heterogeneous system copy with target Sybase ASE
    Note 1554717 - SYB: Planning information for SAP on Sybase ASE
    Regards,
    Deepak Kori

  • Migrate tables and stored proc from SQLServer 2005 Express to Oracle10G

    How to migrate tables and stored procedures from SQLServer 2005 Express to Oracle10G using SQLDeveloper? thank you very much

    Using Oracle SQL Developer Migration Workbench
    http://www.oracle.com/technology/tech/migration/workbench/index_sqldev_omwb.html

Maybe you are looking for