Doubts on Migrated Database.

Hi all,
I have just migrated the sql server 2005 database to Oracle 10g R2. Unfortunately after the migration has completed and I found there were around 50% of the stored procedures had some compilation problems. When I went through the compilation error I found that most of the problems were a result of certain tables have not been migrated (may be around 3% out of 600 tables).
But I am not quite sure of how could I capture specific tables and convert them to Oracle. If any one has a better way of solving the problem it would be much appreciated.
Guys I am not sure whether I have posted my doubt in the correct category. So please do bare with me a provide me a solution...
Thanx in advance.
Best Regards,
Asif Muahmmad.

Hi,
You sure that compilation error is because of table not being migrated and not because there may be difference in the way procedure is written in sql server and oracle server.
If yes,
Then you can use below query to find all the objects/tables that are being referred in your Oracle server but is not present
select referenced_owner, referenced_name, referenced_type from dba_dependencies where
      (referenced_owner, referenced_name, referenced_type )
         not in (select owner, object_name, object_type from dba_objects)and owner in ('LIst of all the schema of Oracle which has been migrated') ;Regards
Anurag
PS: I am assuming you are not using dynamic sql as you have recently migrated from SQL to Oracle.

Similar Messages

  • Migrating Database from Oracle 8.0.5 for NT to Oracle 8.1.7 for Unix.

    Hello!
    Please help me in Migrating Database(Including Data,Stored
    Procdures, Views, Indexes,Forms, Triggers etc.) from Oracle 8.0.5 for NT to Oracle 8.1.7 for Unix.

    Check the installation option that you chose.
    Not all of the options will install a database.
    P.S.
    I have a similar problem on NT.
    Where I am able to access the database after the 8i Enterprise
    Install. I can not access the database from a Developer or
    Designer Installation. I am trying to run these tools locally.
    How do I configure NET8 to access the local 8i Database?
    Any ideas??
    Regards, Jim
    Emeka (guest) wrote:
    : I just installed the Oracle 8 Enterprise Edition for windows NT
    : and i can't find the Oracle database to support the tables.
    Also
    : the username and password of scott and tiger didn't work for
    the
    : SQL Plus.ERROR' ORA-12203: TNS: unable to connect to
    destination'
    : was the message when i try getting into SQL. Could someone
    please
    : tell me how to install the database and how to get the user
    name
    : and password for the SQL Plus.
    null

  • Use of non-migratable database link not allowed in OSB

    Hi All,
    I have a procedure in which tables are invoked using Database links.
    Now I have created a business service which uses this procedure. However I am getting below error
    The invocation resulted in an error: Invoke JCA outbound service failed with application error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/E2xInterface_V1/WSDL/GetEWOStatus [ GetEWOStatus_ptt::GetEWOStatus(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'GetEWOStatus' failed due to: Stored procedure invocation error.
    Error while trying to prepare and execute the SP_GETEWOSTATUS API.
    An error occurred while preparing and executing the SP_GETEWOSTATUS API. Cause: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
    ORA-24777: use of non-migratable database link not allowed
    can we use dblink in procedure while accessing through business service. Please let me know.
    Thanks
    Chandana

    hello gurus . i have same problem on my stored procedure what is a non xa datasource. how can i create on my weblogic server

  • Doubt   regarding   Oracle Database 10g Release 2 (10.2.0.1.0) installation

    hello
    my pc has following configurtion
    256mb ram
    60gb hdd
    p4 2.4 ghz
    win xp pro sp2
    I want to know if my pc will be able to run " Oracle Database 10g Release 2 (10.2.0.1.0) " standard edition on it.
    <<http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201winsoft.html>>
    I thought of increasing RAM, but it is not feasible.
    I know i could run oracle XE, but can my pc also run the standard edition.
    I could not find minimum hardware requirements for standard edition on this site.
    anyway, i will use it for sql and and other advanced concepts in RDBMS which i may learn during my course in database. so i prefer standard edition instead of XE
    any help greatly appreciated
    thanks in advance

    I suggest you not to doubt   regarding   Oracle Database 10g Release 2 (10.2.0.1.0) installation.
    It is not necessary. If you don't receive an answer within a reasonable amount of time you could edit your thread with whatever ( a period is enough) to raise it to the top once again.
    It becomes difficult for us to track duplicated threads and unnecessarily duplicates efforts.
    ~ Madrid.

  • Use of non-migratable database link not allowed ERROR

    Hello,
    We have a notification process (on disabled user) in OIM that needs to connect to a schema in another instance to check some information before the notification is sent out.
    We have OIM in an instance A and the other schema lives in the instance B. We created a database link from A to B, some synonyms, and grant the right permissions for OIM to select the tables in the schema on instance B.
    We can login to OIM using SQL Developer and execute the query without any problems.
    However, when the query is executed in the Disable User process task, we got the error:
    java.sql.SQLException: ORA-24777: use of non-migratable database link not allowed
    We tried to create a view in OIM that is similar to the one that lives in the schema in instance B. However, the same error exists.
    How can we work around this error?
    Thanks

    with all the info you have put here all I can say is : (with some help from google ;-) )
    ORA-24777: use of non-migratable database link not allowed
    Cause: The transaction, which needs to be migratable between sessions, tried to access a remote database from a non-multi threaded server process.
    Action: Perform the work in the local database or open a connection to the remote database from the client. If multi threaded server option is installed, connect to the Oracle instance through the dispatcher.

  • Use of non-migratable database link not allowed - weblogic

    Can somebody help me with this error?
    The application use an entity bean for a view that use a dblink for accesing a table from another oracle database.
    Thank you.
    javax.ejb.EJBException: EJB Exception: ; nested exception is:
         Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-24777: use of non-migratable database link not allowed
    Error Code: 24777
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:120)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:102)
         at $Proxy190.queryVCommentMonitoring(Unknown Source)
         at ro.uct.capone.viewcontroller.Utils.getStatus(Utils.java:36)
         at ro.uct.capone.viewcontroller.forms.WatchListForm.validate(WatchListForm.java:114)
         at org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:942)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-24777: use of non-migratable database link not allowed

    I've gotten past this by creating the dblink as SHARED.
    The SQL is
    CREATE SHARED DATABASE LINK "yourlink"
    CONNECT TO "dbuser" IDENTIFIED BY "dbuserpassword"
    AUTHENTICATED BY "dbuser" IDENTIFIED BY "dbuserpassword"
    USING 'databasename';
    note the quote character use.
    You can also use SQL Developer to adjust this.
    This does depend on shared database connections between your db's.

  • Migrating database target to new host

    Hi,
    I have OEM Grid control 10.2.0.5 running on Red Hat Linux 64 bit
    I have a database target with version 9.2.0.6 and grid agent on this target host is 10.2.0.5.
    I want to migrate my this database target from current server to another server and name of server will be changed. I have historical data about this database target in my OEM Grid. Is there any way that i can migrate my database to other server with new name and install agent there but don't want to loose the statistics data about this target database from OEM Grid because as far as i know, i would need to remove this target database and target node, then migrate database to new server(node) then reconfigure this target node and this target database. So any way to do this without deconfiguring the target database during this migration?
    Salman

    Salman Qureshi wrote:
    Hi,
    I have OEM Grid control 10.2.0.5 running on Red Hat Linux 64 bit
    I have a database target with version 9.2.0.6 and grid agent on this target host is 10.2.0.5.
    I want to migrate my this database target from current server to another server and name of server will be changed. I have historical data about this database target in my OEM Grid. Is there any way that i can migrate my database to other server with new name and install agent there but don't want to loose the statistics data about this target database from OEM Grid because as far as i know, i would need to remove this target database and target node, then migrate database to new server(node) then reconfigure this target node and this target database. So any way to do this without deconfiguring the target database during this migration?
    Hi Salman
    As server name will be changed , I am not sure if it is possible. What you can do is , just configure database on new server with a different name and keep the old configuration in GRID. In this you target will be unavailable all the time but you can get the historical report about this.
    Regards
    Rajesh

  • Migrate database from IBM DB2 to ORACLE

    Hi oracle professionals,
    Currently database resides in IBM DB2...
    We need to migrate Database to oracle ...
    Thanks in advance
    Pawan

    Hi,
    Kindly refer
    Oracle SQL*Developer - which is free to use and download -
    http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html
    Oracle Database Migration Technology -
    http://www.oracle.com/technetwork/database/migration/index-084442.html
    Migrating from IBM DB2 LUW to Oracle -
    http://www.oracle.com/technetwork/database/migration/db2-084087.html
    IBM DB2/400 V4R3 & V4R5 can be migrated using the original Migration Workbench v10.1.0.4 available from here -
    http://www.oracle.com/technetwork/topics/index-095746.html
    Also article
    Migrating From IBM DB2 UDB to Oracle (Doc ID 1148493.1)
    Thanks,
    Krishna

  • How To Migrate Databases From Windows 2003 32 bit to windows 2003 64 bit?

    Hi,
    How To Migrate Databases From Windows 2003 32 bit to windows 2003 64 bit?
    Db Version: 10.2.0.2
    Thanks,
    Yusuf

    Also see MOS Doc 403522.1 (How to Migrate Oracle 10.2 32bit to 10.2 64bit on Microsoft Windows)
    HTH
    Srini

  • Migrating database from PostgreSql to Oracle 10g

    Hi
    can anybody help me by providing steps to migrating database from PostgreSql to Oracle 10g. its very urgent requirement. so please let me know if anyone know about this setps.
    thanks in advance.
    jayesh
    cignex technology pvt ltd

    NPD wrote:
    Hi Guys,
    Can one migrate database from sql2005 to Oracle.
    Thanx.You can use [Oracle Migration Tool |http://www.oracle.com/technology/tech/migration/workbench/index.html]
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • How to migrate  database from oracle10g to mysql

    how to migrate database from oracle10g to mysql

    Assuming you're actually using any of the features of Oracle at present, this will be an impossible task, since MySql has such narrower set of supported SQL.

  • Migrating database from sql2005 to Oracle 9i

    Hi Guys,
    Can one migrate database from sql2005 to Oracle.
    Thanx.

    NPD wrote:
    Hi Guys,
    Can one migrate database from sql2005 to Oracle.
    Thanx.You can use [Oracle Migration Tool |http://www.oracle.com/technology/tech/migration/workbench/index.html]
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Migrating database from server (OS: IBM AIX 5.1 Oracle: 9.2.0.4) to server

    Dear All,
    In order to migrate one database from server (OS: IBM AIX 5.1 Oracle: 9.2.0.4) to another server (OS: IBM AIX 5.3 Oracle: 9.2.0.6)
    I am performing the cold backup and taking the below files backup.
    Datafiles
    Redologfiles
    Archive log file
    Backup of control file from trace
    I just wanted to know
    a) Is there any other files do I need to take backup which may be required to bring the database up on another server?
    b) Upper version of OS and oracle can create any issue or do I need to perform any extra activities?
    I know after restoration the above files to the destination server, what procedure I would require to follow.
    I have doubt with version of OS and oracle.
    Request your advice on this.
    Regards,

    I dont think higher version especially 5.1-5.3 will make any difference but oracle 9.2.0.4 will definitely will have an issue. If i am not wrong you need to startup the database with startup MIGRATE option after moving all the files to the new server
    May be password file (missed out, but you can always create one)
    Init.ora file
    make note on Entries in ORATAB

  • Migrate database cross platforms

    What takes to migrate a database from windows to AIX? Or from AIX to Solaris? Anyone can point to the right note? Thanks.

    I doubt the transportable tablespaces works for cross platformsIf you read the doc, you would see that works fine.
    Of course, if word is different... then that can work, you can follow migration document :
    http://download.oracle.com/docs/cd/B19306_01/win.102/b15688/create.htm#CHDGCBFJ
    Nicolas.

  • Migrating database from 10g to 11g

    Hi gurus,
    how we can migrate the database from 10gr2 to 11gr2 using rman.
    thank you!

    Pl see these MOS Docs
    Upgrading Database Version Online Using Streams and RMAN [ID 782444.1]
    RMAN Restore of Backups as Part of a Database Upgrade [ID 790559.1]
    The recommended method is to use DBUA as outlined in the link posted above
    HTH
    Srini

Maybe you are looking for