Problem of migration: SQL to Oracle Server

Windows 2008
Oracle 11.2.0.2

I'm migration of database sql server 2005 to Oracle 11 g. I have migrated without error, but when I compare the two system tables, I'm getting inconsistent County. Majority of the tables are consistent, but two or three are this inconsistent numbers, including the example below.

Example:

Oracle-
Select count (*) in the tblcasefile;

I get 3770 counties

SQL Server-

Select count (*) in tblcasefile:

I get 3803 counties

Any idea to get out of here?

When you validate, code, ddl or output, please surround the noformat}

{noformat} tags to make it easier to read. It should look like this:

SQL > tblcasefile desc;
>

Name Null? Type
----------------------------------------- -------- -------------------

AUTONUMBER NOT NULL NUMBER (10)
CASENUMBER NOT NULL NUMBER (10)
OLDCASENUMBER NUMBER (10)
DATE_OF_INCIDENT VARCHAR2 (24 CHAR)
DATE OF DATE_INITIALLY_REPORTED
REPORTED_TO VARCHAR2 (255 CHAR)
REPORTED_TO_POSITION VARCHAR2 (100 CHAR)
DATE OF DATE_REPORTED_TO_BOARD

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

Tags: Database

Similar Questions

  • Problem with migration SQL Server Oracle 11.2 2012 DB using SQL Developer Migration workbench

    Hello

    I have a problem when migrating SQL Server Oracle 11.2 2012 using SQL Developer Migration workbench, hope that someone had the same problem before and can give same advide...

    I use SQL Developer Version 4.0.1.14 and Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0. and last jtds - 1.3.

    I created the schema migration_repo, privileges, connected to the third part of Db (SQL Server) and begin a trial with assistant. In the first step of the model to Capture, I get the message from the:

    "Company Capture Capture failed.  Refer to the table MIGRLOG in the repository for more details ".

    But MIGRLOG is empty.

    Here is my log:

    <? XML version = "1.0" encoding = "windows-1252" standalone = 'no '? >

    < Log >

    account <>

    < date > 2014-03-16T 20: 49:17 < / date >

    oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle < recorder > < / recorder >

    < level > SEVERE < / level >

    oracle.dbtools.migration.workbench.core.logging.MigrationLogUtil < class > < / class >

    < message > Capture

    Capture Enterprise

    Capture failure.  Refer to the MIGRLOG table in the repository for more details < / message >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doOnlineEnterpriseCapture(FullMigrateTask.java:758) < param > < / param >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doCapture(FullMigrateTask.java:601) < param > < / param >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doMaskBasedActions(FullMigrateTask.java:400) < param > < / param >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doWork(FullMigrateTask.java:314) < param > < / param >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doWork(FullMigrateTask.java:147) < param > < / param >

    oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193) < param > < / param >

    java.util.concurrent.FutureTask.run(FutureTask.java:262) < param > < / param >

    oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$ (RaptorTaskManager.java:554) < param > RaptorFutureTask.run < / param >

    java.util.concurrent.Executors$ (Executors.java:471) < param > RunnableAdapter.call < / param >

    java.util.concurrent.FutureTask.run(FutureTask.java:262) < param > < / param >

    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) < param > < / param >

    java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:615) < param > < / param >

    java.lang.Thread.run(Thread.java:744) < param > < / param >

    oracle.dbtools.migration.workbench.core.logging.LogInfo@68e69a < param > < / param >

    < exception >

    < message > oracle.dbtools.migration.workbench.core.ui.FullMigrateTask$ FullMigrateTaskException: Capture

    Capture Enterprise

    Capture failure.  Refer to the MIGRLOG table in the repository for more details < / message >

    < frame >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    < line > 758 < / line >

    < / framework >

    < frame >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    < line > 601 < / line >

    < / framework >

    < frame >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    line 400 > of < < / line >

    < / framework >

    < frame >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    < line > 314 < / line >

    < / framework >

    < frame >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    < line > 147 < / line >

    < / framework >

    < frame >

    oracle.dbtools.raptor.backgroundTask.RaptorTask < class > < / class >

    < line > 193 < / line >

    < / framework >

    < frame >

    java.util.concurrent.FutureTask < class > < / class >

    < line > 262 < / line >

    < / framework >

    < frame >

    oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$ RaptorFutureTask < class > < / class >

    < line > 554 < / line >

    < / framework >

    < frame >

    java.util.concurrent.Executors$ RunnableAdapter < class > < / class >

    < line > 471 < / line >

    < / framework >

    < frame >

    java.util.concurrent.FutureTask < class > < / class >

    < line > 262 < / line >

    < / framework >

    < frame >

    java.util.concurrent.ThreadPoolExecutor < class > < / class >

    < line > 1145 < / line >

    < / framework >

    < frame >

    java.util.concurrent.ThreadPoolExecutor$ Worker < class > < / class >

    < line > 615 < / line >

    < / framework >

    < frame >

    java.lang.Thread < class > < / class >

    < line > 744 < / line >

    < / framework >

    < / exception >

    < / recording >

    account <>

    < date > 2014-03-16T 20: 49:17 < / date >

    oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle < recorder > < / recorder >

    WARNING < level > < / level >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    <>error message: ORA-06550: line 1, column 14:

    PLS-00201: identifier ' SS2K5ALLPLATFORM. STAGECAPTURE' must be declared

    ORA-06550: line 1, column 7:

    PL/SQL: Statement ignored

    : FAILED: Database Migration: FAILURE < / message >

    oracle.dbtools.migration.workbench.core.logging.LogInfo@1e2c9b99 < param > < / param >

    < / recording >

    I try with model db (DB empty, just a single table), but the error is same. However, if I try to copy the acronym tabele from SQL Server to Oracle it works fine...

    I guess it's something with the configuration, but beacause I am new in Oracle still have no idea...

    Any help would be much appreciated

    I thank in advance

    Stefan

    Hello Stefan,

    did you create the repository Migration of your database to Oracle (Tools-> Migration-> repository management)?

    The SS2K5ALLPLATFORM package is usually created when you add the migration of the Oracle database repository and it contains the function StageCapture.

    So please make sure that you have created a repository of migration in an Oracle database and associate it with the first step of your migration.

    -Klaus

  • SQL to Oracle Server

    Hello
    I'll put up a link TO SQLServer to Oracle. I set up a linked server on the SQL computer (selects and updates and calling the work of the fine SP) and now trying to get a distributed transaction going on so that I can issue several commands and then validate the end of the process.

    I'm as follows using as reference but it seems little informaiton about this sort of thing passed Oracle 8i. I use the client software of 11g on the side of SQL Server and the database 10g (10.2.0.4).
    http://support.Microsoft.com/support/ComPlus/mtsandoracle.asp?sd=gn & LN = en-GB & gssnb = 1

    On the SQL Server side, I use OLEDB Microsoft (I have also installed the Oracle OLEDB in the ODAC, but I don't think that I need this because I plan to use the MSDTC Microsoft rather than Orace MTS). The doc cited above seems to say that MTS is not required, and to be honest I prefer to keep things simple and use drivers MS existing and MSDTC rather than install the drivers Oracle and OracleMTS, if they are not really necessary. Someone at - it not experience / opinion on this please?

    The main question I wanted to ask you, is that I was wondering if anyone could suggest if there is anything I do on the side of the Oracle to get this to work - it seems to be even less docs on this end of the transaction. I guess there are different parameters that would be preferable to set in the init.ora to optimize or even to allow distributed in Oracle transactions? No doubt MSDTC must run on the Oracle Server? I have to update the settings [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\MTxOCI] to reflect the Oracle 10 g s Dll on the server?

    Any help from someone who has done this, or links to recent docs would be appreciated...

    Thank you

    Rob

    Hello

    No, it has nothing to do at the end of the Oracle server. Given that the customer is the MSSQL Server in our case that attempts to make a connection with Oracle and to transmit, and to query the data.

    I think that you problem is solved, if you don't know how the naming model should be in the records of what you could do is simply go to ORACLE_HOME/bin directories and these DLLs will be residing there.

    If your answer is resolved you could mark the response as correct ;)

    Concerning

  • Is there a compatibility problem to connect to the Oracle server with the most recent to

    I wanted to know that can connect Oracle server 10.2.xxx with the latest version of the client as 11.2.xxx. Is there compatibility or interoperability problem

    user10656964 wrote:
    I wanted to know that can connect Oracle server 10.2.xxx with the latest version of the client as 11.2.xxx.

    Yes

    Is there compatibility or interoperability problem

    None

  • Convert a statement of SQL for Oracle Server Update

    Hello
    I need to convert an update statement written for SQL Server to run on Oracle.
    the update is:

    UPDATE TABLE1
    SET TBL2 = CDate. CDate
    OF TABLE1 TBL1
    JOIN TABLE2 ON TBL2 TBL2. Code = TBL1. TBL2Code
    JOIN TABLE3 TBL3 ON TBL3. ID = TBL1. ID
    WHERE TBL3. TypeCode = '07'

    How can I make compatible with oracle?

    Thank you!!

    Try this...

    MERGE INTO table1 t1
         USING (SELECT t2.cdate cdate, t1.ROWID ri
                  FROM table2 t2, table3 t3, table1 t1
                 WHERE     t2.code = t1.tbl2code
                       AND t3.id = t1.id
                       AND t2.typecode = '07') src
            ON (t1.ROWID = src.ri)
    WHEN MATCHED
    THEN
       UPDATE SET t1.cdate = src.cdate
    
  • transfer of data from the sql for oracle server

    Can we use the tools datapumps or oracle exp in oracle to transfer data from oracle to sql server database? Is it possible to do through the use of these tools expdp or exp in oracle. Create oracle dump files and import them to sql server?
    I know there are third-party tools for the same. but I'm just curious?

    No, these tools cannot be used for the transfer of data from oracle to sql server. The two write files in an oracle proprietary format, that they not fixed data or sql scripits files.

  • ODI 12 - problem with LKM SQL for Oracle

    Hi again,

    Three days ago, that I asked about the problem with the data types of data warehouses in models that were missing. After you apply the ideas suggested by Rita (thank you very much ) I got from their work.

    But after that, we came across a new problem. When you run a mapping (Oracle for Oracle databases), it failed on the second stage - ' "work table create. "When we checked the generated code was something like this: '(" CREATE TABLE < work_table_name >). None of the names of columns or data types have been described in parentheses and as expected, the ODI execution error was "invalid identifier". It seems that API odiRef.getColList(params)%> does not work. I tried loading using LKM Oracle Oracle (DB LINK) but once again the columns are missing in the generated script.

    I have to mention the master and work repositories are different databases from Oracle and ODI Agent is not installed because of some problems.

    We are still beginners of ODI and would appreciate any help from more experienced guy (or other beginners).

    Thank you in advance.

    Just by chance, we found the soluton today!

    The reason of missing generated code was that the description of the types of data was not entirely cofigured.

    We found that the fields "create table syntax" and "'syntax of data accessible in writing' in each type of data in the topology definition were empty." After filling them, the generation of the script is running properly.

    Before that we had problems with missing data types in models and we realized the reverse engineering of the types of data, but obviously it is insufficient.

    Thanks to all those who participated in the discussion and tried to help us!

  • With regard to the migration of the Oracle database to MS SQL

    Hi all

    In my application, oracle is the existing database. We need to migrate from Oracle database to MS SQL.
    We need procedure is as below
    1 export data from Oracle and keep it in a file. (.dmp)
    2 import data from MS SQL in the oracle export file.

    and vice versa from MS SQL to Oracle.

    My question is - it is possible to import the .bmp (oracle export data) in MS SQL.

    Please clarify for me.

    There are two options to get the data from Oracle to MS SQL.
    The simplest is to create a linked in MS SQL to Oracle server and copy the data with a query like select * in oracle.schema.table my_mssqlTable; via the linked server.
    Some data types will not be supported.
    That's an instant copy.

    If you need a fence at real-time replication, you can use replication MS (I would not recommend because it creates triggers on the Oracle tables), or you can use GoldenGate or DataCurrents or other replication products.

  • application server oracle migration to a new server with SSO

    Application server: 10.1
    repository database: 9.2.0.6

    Old OS: Tru 64
    New operating system: Solaris

    We just want to migrate to the new server. We're not modernize our versions of oracle. We continue to get username / password is wrong when we try to use single sign on with the new repository. When contact us the Oracle support we work around the race. They are simple and there is no documentary research he actually did this or knows how to do a migration.

    Is someone did a migration of the repository with single sign on? What metalink document did you use?
    Is it possible to simply export/import data?

    you might be falling into this scenario.
    the version of your database is the same, you have found the similar error stack, on executing the script of ssomig.bat even.

    Please see this note on Metalink2: Doc ID: 430523.1

    '' Cause. ''

    The 10.1.2.02 standards body. ssomig script uses the import/export utilities in its $ORACLE_HOME, 10.1.x. The SSOMIG script assumes that the metadata repository database is a version that uses the same current version of SSO import/export utility. In your case, this is not true.

    This causes a problem when the source repository of metadata is 9.2 versions. In a database import/export utility perspective, this is an unsupported configuration, a newer version of export cannot be enforced against an earlier version of the database. An earlier version of export can only be run on a later version of the database. It is documented in the Guide of the database utilities.

    Solution
    To implement the solution, please perform the following steps:

    On the source server
    1. run the House against the 9.2.x 101202 fight database catexp.sql.
    2 copy files/directories SSO and Perl 101202 House Home 9207
    3. run the ssomig-export of 9207 House
    4 copy the ssomig.dmp resulting and the ssoconf.log to the SSO target
    5. run ssomig - import.
    "

    ******************************

    If that does not solve your problem, then look in this note.
    DOC - ID: 372328.1

    AMN

  • Migration SQL server 2008 SQL server standard, what is the best?

    Good evening

    I need help for a migration to sql server.

    We already have a vcenter 5.1 production installed in Windows 2008 R2 x 64 with SQL Server 2008 express. Our data increase and ourODBC cannot answer for our use. We need to migrate to SQL server 2008 Express in SQ server 2008 standard.

    I have a problem with the software installed Vmware (SSO, Update Manager).

    I have two choices:

    • Install a new Server 2008 R2 with SQL Server 2008 Standard and import datas beetwen current server to our new.
    • Migration on our current server SQL Server Express to the standard.

    What is the best solution?

    Kind regards

    You must check odbc 32-bit and 64-bit. If not mistaken only um uses 64-bit

    Sent from my BlackBerry® smartphone Maxis

  • Steps to migrate SQL database to Windows/Oracle

    Hello

    We have a SQL database in our network client and customer wants to migrate to Windows/Oracle. Currently they have several databases on the same SQL Server.

    So, I'm curious whether oracle also allows the same thing in Windows.

    I have read that we can in fact install an oracle home and DBCA to create several databases oracle on the same host. Pointers to all the relevant documents? I also want to understand this configuration and what it means for performance, backup/restore, fix/upgrade etc.

    Ask your contributions to this topic please.

    Kind regards

    Raja

    Yes - you can have of many databases per physical server - you are only limited by the amount of memory/disk you have on the server.

    Oracle provides tools to migrate from SQL Server

    http://www.Oracle.com/technetwork/database/migration/SQLServer-095136.html
    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/DB/hol08/sqldev_migration/MSSQLServer/migrate_microsoft_sqlserver_otn.htm

    HTH
    Srini

  • Access 2003-&gt; Oracle 10 g: fixed error of migration, SQL script

    I recently migrated an Access 2003 to SQL using Oracle SQL developer Oracle database, and the process went well, with the exception of some migration errors.

    The errors I had have largely brought on 3 main groups:

    (i) "doesn't have to convert' errors:
    Failed to convert view Q345_Delete_NR > filename. Q345 - Delete NR: unexpected node in the AST: EXEC_PARAM_LIST: column of the row-1-1

    (II) 'limitation of translation mistakes:
    Limitation of the translation "cannot convert to display" met on view filename. Q326 - update column of NA column_name line 0 0

    (III) "parse errors":
    oracle.dbtools.migration.parser.ext.ExtStringTemplate.setValue(ExtStringTemplate.java:106)

    I know that these can be fixed, but I'm unable to understand what they mean. I would be grateful for some advice on what this means and how do I address to them.

    Finally, I would like to watch the complete SQL script for the database migrated - please someone let me know how to consider this in a single sheet? I would like to create a stored procedure from this one.

    Thank you.

    Published by: 803242 on October 19, 2010 16:23

    As you have an Oracle database you currently have support for this database and this is quite enough to save a service request for the SQL Migration Workbench developer.
    Saving a service request will allow us to examine the migration of more detailed SQL Dev and then we can improve the product.

    (The stored procedures, you need to manually extract the instructions in the script generated) that you intend to do) and then put it in a procedure.

  • convert DB2008 SQL express oracle 12 c by sql developer

    Hi friends,

    I created a SQL 2008 declare for the prod database. I run OMWB_OFFLINE_CAPTURE and receive an ocp source file complete

    Transform ocp Oracle express12c sql developer (3.2.20.10) but failed with error DB

    oracle.dbtools.metadata.persistence.PersistenceException: ORA-06550: line 1, column 14: PLS-00201: identifier ' MIGRATION. GATHERCONNECTIONSTATS' must be declared ORA-06550: line 1, column 7: PL/SQL: statement ignored

    Research on the basis and the migrated tables revised, I found that I only migrated system SQL sql objects and does not see any user with dbo SQL prefix object

    OMWB_OFFLINE_CAPTURE test its backsql P@$$w0rd1234

    The SQL server database was generated by s a software vendor and we know not what user has application data.

    How can I get sql tables dbo server in ocp for the migration file.

    Thank you

    newdba

    Hello

    I ran a test on my system using SQL * 3.2 Developer and don't see the problem you have.

    Can I check what you have done and the steps to follow?

    1. you have generated the ocp in the menu - Tools - Migration file - Create Database capture Scripts

    2. after the execution of OMWB_OFFLINE_CAPTURE you see 2 directories under the directory chosen for migration?

    You should see - 2 directories - 'master' and 'backsql.

    3. in the migration wizard.

    Tools - Migration - migration

    for the 'Source' database, you chose "offline" and then the file .ocp is generated - sqlserver2008.ocp

    4. in the next screen "Capture" you shoud see the database "backsql" in the column "databases selected. If it of in "Databases" then move it across.

    If that's what you see migration should precede as planned.

    5. in the next screen - target database - choose "offline" and check the generated scripts.

    They should contain instructions create for all objects in the database 'backsql.

    If this isn't what you see then please detail the exact measurements you have taken.

    Kind regards

    Mike

  • MySQL to Oracle using LKM SQL to Oracle, poor performance

    Hello

    I'm on the underside of technology.

    I'm try to use ODI to import data from MySQL to Oracle using the LKM SQL to Oracle, it works well for small amounts of documents but once volumes go higher it performs very badly.

    I'm replacing an integration of existing HS dblink to 44 seconds and ODI is 9 minutes.

    The MySQL and Oracle DB are on the same host with an autonomous ODI agent on the same host.

    MySQL 5.6.21

    Oracle 11.2.0.4

    Oracle Data Integrator 12.1.3

    I may try a different approach to dumping the MySQL table to a flat file and import from external table or sqlldr but y at - it a way to make the LKM SQL for Oracle perform better?

    Hello

    This problem has been resolved.

    I was setting the table sizes in batches on the data source server, after you set the values on the target data server is it now works as expected.

    Using a value of 5,000 for the two tables has reduced the operating time of 9 minutes to about 40 seconds.

  • Update/join script to the oracle server

    Im trying to create a script using two tables in my oracle server.

    Developer SQL im trying to use these two different tables

    Table 1: conductorinfo

    Table2: calkva

    I want to join the two tables based on two fields:

    Condsize

    Condmatl

    (because the two tables have these fields) And based on these games of field, update the field conductorinfo of the table "calckva", because currently we have not these data in the conductorinfo table

    This is the script I came up with:

    UPDATE conductorinfo

    JOIN INTERNAL Calkva

    ON conductorinfo.condsize = calkva.condsize

    AND conductorinfo.condmatl = calkva.condmatl

    SET conductorinfo.calkva = calkva.calculatedkva

    WHERE conductorinfo.condsize = calkva.condsize

    AND conductorinfo.condmatl = calkva.condmatl

    Then I read this update/join cannot be used with an oracle server

    Any suggestions?

    Hello

    Here's a way you can use the MERGE:

    MERGE INTO dst conductorinfo

    With the HELP of calkva CBC

    WE (dst.condsize = src.condsize

    AND dst.condmatl = src.condmatl

    )

    WHEN MATCHED THEN UPDATE

    SET dst.calkva = dst.calculatedkva

    ;

Maybe you are looking for

  • WLAN issues with Satellite Pro C50-A-1EL, Win8 64bits

    Hello I noticed a strange problem with this laptop WLAN card: it does not connect to the many points of commercial access (Netgear, Hamlet). OK the connection from a certain brands, (zyxel) but not TSF to others. I've already updated WLAN driver on T

  • Skype cannot mark conversation as read (only 1 conversation)

    I started having this problem yesterday and I am unable to find a solution, my Skype shows what a conversation is not read and if I right click on the conversation I can't press mark as read or mark as unread more. Also, if I try to mark all my conve

  • Satellite L850 audio stuttering every 10-20 seconds

    Only it bought about a month ago, but last week I had a problem with a kind of stuttering/screeching noise every 10-20 seconds each time I'm listening to something.This happens in iTunes as well as if I'm streaming something online. I checked all the

  • design and simulation of control tools

    Hi all Does anyone know if indexing is possible in a loop control and Simulation in Labview? I need to save to a table of all simulation data. Thank you Ussr123.

  • OfficeJet 6835: Problem OXC19a0020 Code

    Problem code for my printer OfficeJet Pro 6835 "There is a problem with the printhead" OXc19a0020.  Tried to clean the head - no change. Equip new ink cartridges (HP) - no change