Implementing "Temporary Tables" in Oracle after migrating from SQL Server

Hello,
Some stored procedures referencing temporary tables in SQL Server were migrated to Oracle. In the Oracle DB, these stored procedures are invalid. In a bid to make them valid, I created the referenced temporary tables in my Oracle DB, via SQL*PLUS having logged into the database as the appropriate user. And when I query the user_tables view, I see the temporary tables that I created. Thereafter, when I compile the stored procedures, I still get the message: PL/SQL: ORA-00942: table or view does not exist. And the stored procedures remain invalid. Pls,what do I do ?
Thanks for your cooperation

Chux,
The Migration Workbench should have created all the necessary temporary tables as part of the process to convert the stored procedures. Can you post the example part of the T/SQL stored procedure and what we converted it to?
Our support for Temporary Tables is discussed in our reference guide.
http://download-west.oracle.com/docs/html/B10254_01/ch5.htm#1026115
Donal

Similar Messages

  • Best way to import data to multiple tables in oracle d.b from sql server

    HI All am newbie to Oracle,
    What is the Best way to import data to multiple tables in Oracle Data base from sql server?
    1)linked server?
    2)ssis ?
    If possible share me the query to done this task using Linked server?
    Regards,
    KoteRavindra.

    check:
    http://www.mssqltips.com/sqlservertip/2011/export-sql-server-data-to-oracle-using-ssis/
          koteravindra     
    Handle:      koteravindra 
    Status Level:      Newbie
    Registered:      Jan 9, 2013
    Total Posts:      4
    Total Questions:      3 (3 unresolved)
    why so many unresolved questions? Remember to close your threads marking them as answered.

  • Replication Configuration issue after migrating from SQL Server 2005 to SQL Server 2008 R2

    Hi All,
    This weekend we have migrated one of our Core system from SQL Server 2005 SP3 to SQL Server 2008 R2 SP2. Migration went successful. However when we are trying to Configure transaction replication we are getting below Error:
    Msg 21854, Level 16, State 1, Procedure sp_MSrepl_addarticle, Line 573
    Could not add new article to publication 'abc' because of active schema change activities or a snapshot is being generated.
    Background:
    Database compability Changed from 90 to 100.
    A quick Help would be appreciated.
    Best Regards - Viral
    Thanks - Viral

    Is a snapshot being generated? the message seems to indicate one is.
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • Migration from sql server 2005 tables to oracle tables.

    Hi,
    Kindly give the steps to migrate from sql server 2005 tables to oracle tables.
    Kindly advise
    Oracle database version:
    Oracle Database 10g Release 10.2.0.1.0 - Production
    PL/SQL Release 10.2.0.1.0 - Production
    "CORE 10.2.0.1.0 Production"
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Edited by: 873127 on Jul 18, 2011 9:46 PM

    Are you migrating or taking continual updates?
    If migrating it might be worth considering The SQLDeveloper Migration Workbench (which moves more than just data)..
    http://www.oracle.com/technetwork/database/migration/sqldevmigrationworkbench-132899.pdf
    Cheers
    David

  • Whether using Oracle after migrating from MySQL be easy or not?

    Though oracle is tough secured one, I don't know exactly the complexity of using Oracle database. Using MySQL 4.1.22 in my website https://www.puntercalls.com/ . Though the site is based on providing share market tips, it deals with a huge amount of stock market data and in much more real time basis hand-to-hand with NSE and BSE info which means a tough security is the utmost demand of the time.
    My question is whether using Oracle after migrating from MySQL be easy or not. You can check my site at https://www.puntercalls.com/ for different real time data updation parts.
    Kind suggestions are greatly appreciated in advance!
    Edited by: 968684 on Oct 31, 2012 7:04 AM

    Hi,
    As you are really asking about how to setup and use securioty features in an Oracle database it woul db ebetter to raise the question in this forum -
    Forum: Database Security - General
    Database Security - General
    They will have more knowledge about Oracle security features and which it would be best for you to use.
    Regards,
    Mike

  • Migration from SQL Server 7.0 to Oracle 8.0.5

    Can we migrate from SQL Server 7.0 to Oracle 8.0.5 directly without being converted to Oracle 8i objects

    Hi,
    U can convert from sql server to Oracle 8 but u've to look after the stored procedures in mssql server. If the stored procedures contains any temporary table concepts and resultset then some manual changes are required.
    Thanx,
    Durai.
    null

  • Migration from SQL Server 7 to oracle 8.1.7 on windows 2000 professional

    Hello All,
    I am currently working on Database migration from sql server 7 to oracle 8.1.7.
    My setup is as follows:
    1. Both the databases (sql server and oracle are on the same machine )
    2. My sql server database contains 200 tables and 190 stored procedures, which need to be migrated to oracle.
    When i am trying to capture the Source database details, its capturing evry thing but when its mapping at the end ...it says "MAPPING ROLE PUBLIC" and its not proceeding furthur..What do u want me to do ? i waited for approx 1 hr , still its not proceeding....How to resolve this bug ?
    Also please suggest me the best methodology for Migrating the stored procedures. allmost all my stored procedures have TEMP Tables implemented in it. Please help me in this...
    Also please let me know the Timeframe estimate for this total thing to be done..
    Waiting for your reply,
    Thanks and Regards
    SAI SREENIVAS JEEDIGUNTA

    You can user Oracle Migration Workbench to migrate from SQL Server to Oracle.
    Here is the link which gives info on software usage and download :
    http://otn.oracle.com/tech/migration/workbench/content.html
    Chandar

  • Migrating from SQL Server to Oracle 8i

    Hi all :),
    I am trying to migrate from SQL Server to Oracle 9i.
    I am using the Migration Workbench.
    Everything goes fine during Capturing phase, but while
    creating Oracle model the Workbench just hangs at
    "Mapping Tablespaces" for over three hours.
    (not exactly hangs in the sense that it responds to mouse
    events and I can abort the ongoing activity ...)
    What should I do ? Should I let it go on and see what
    happens.
    I follow each and every step as mentioned in the
    documentation ... but obviously I am doing something
    wrong. Any pointers ???
    However ... if I try to migrate to Personal Oracle 8 ...
    the migration goes fine from start to end ... just that
    the SQL Server triggers aren't successfully migrated.

    You may want to start by downloading the Oracle Migration Workbench. That generally does a reasonable job in moving the tables, stored procedures, etc. from SQL Server to Oracle. If your VB code is database agnostic, it should continue to work without any more intervention. Realistically, however, you'll rpobably have to at least tweak a few things that don't work the same way in the old ODBC/ OLE DB provider and the new one.
    The hard part of migrations like this is that you may need to revisit some of your architectural decisions if you want Oracle to perform well. There are plenty of things that one does in SQL Server (i.e. frequent commits) to improve performance that have the opposite affect in Oracle. Identifying and fixing these sorts of things tends to be the largest part of a migration like this. Unfortunately, I don't know of a resource that talks addresses all the possible gotchas here.
    Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com

  • Migration from SQL SERVER 2008 to Oracle 10g issues.

    Hi ,
    I'm trying to migrate from SQL Server 2008 to Oracle 10g and I end up with some issues that I wanted to ask some info about it.
    First, I was following a tutorial
    http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
    and and in the last version of Oracle SQL developer I downloaded, I didn't find the Load Database Capture Script Output option.
    My first question is how can I either add this option or is there a new way to load the capture script ?
    Then I use the migration wizard and after following everything, I had the migration complete message from the application.
    When I tried to open my connectionss, it tells me version 11.2 is required. Does that mean that Oracle SQL developper 3 only
    do the migration for oracle 11g? And if I tried the previous versions, it doesn't support SQL server 2008.
    What do I do in this case ?
    Thanks !

    Thank you for your reply.
    After using the wizard and made the offline migration script, in the Migration projects window I made a move data to the oracle connection I previously made and after when I tried to reopen the connection, I couldn't.
    Well I didn't retry it yet to see if I'll have the same behavior but basically this is what I think I did. When I tried to open the connection I made, it says, Oracle 11.2 is required.
    Now, I just generate target from the convert model and it says migration complete but how do I test it and I do I go to oracle and see change ?
    Do I had to create a special user in SQL Server to log to it first ? How do I logon to it ?
    Edited by: 873671 on Jul 20, 2011 7:03 AM
    Edited by: 873671 on Jul 20, 2011 7:19 AM

  • How to migrate from sql server to oracle

    Hi ,
    My requirement is we are planning to migrate the sql server data to oracle.
    what is the way to do migration from sql server to oracle. Please let me know if any tools are there for migration.Previous we used sql developer( which is provided by oracle i.e. freeware )
    tool but it was created only table structures not ported any data.

    Hi,
    Oracle sql developer is a great tool for migration from sql server to oracle..
    Refer the link,
    http://www.oracle.com/technetwork/database/migration/sqlserver-095136.html

  • Migrating From Sql Server 2005 to Oracle (Uniqueidentifier Issue)

    If i want to migrate from SQL SERVER 2005 to Oracle, How Oracle will deal with my primary key columns in almost all tables having datatype of UNIQUEIDENTIFIER ???
    is there any concept of uniqueidentifier in Oracle same as in SQL SERVER ????
    Regards

    When you migrate your SP's from SQL Server to Oracle the parser basically does 'as good a job as it can' to migrate them.
    Luckily, using SQL Developer you are able to look at the source SP and converted SP in windows next to each other and see what oracle has done to them.
    You can also paste your SQL Server code into a window and ask SQL Developer to translate it to oracle for you. Use the 'Translation Scratch Editor' on the migration menu if this is something that interests you. I was told that the parser used by the Translation Scratch Editor is different to the parser used when migrating the whole database.

  • Migration from SQL Server 7.0 to Oracle 9i

    Hi,
    Where can i find whitepapers for migrating from SQL Server
    7.0 to Oracle 9i?
    Thanks in Advance

    hi,
    Download the Oracle Migration Workbench from this site. There is
    a reference guide and online help available with the SQL Server
    7.0 plugin.
    Also, there is a documentation link under the Oracle Migration
    Workbench section.
    Regards
    John

  • Data length problem migrating from sql server 7 to oracle 8i

    I just migrated SQL Server 7 database to Oracle 8i db and everything seemed to have ran ok except that in my newly created oracle database, the field size is doubled. For instance a field with nvarchar(4) in sql server would convert to varchar2(8). Has anyone ran into this problem and also does anyone know how to fix it? Thank you so much.

    Hi Roberto,
    You cannot use Workbench 1.2.2 to migrate from SQL Server 7 to
    Oracle 8.
    However, the good news is that we have a new verion of the
    workbench that will have a plugin that can migrate from SQL
    Server 7.0 to Oracle8.
    A beta version will be downloadable from this web-site in approx
    one week. Eventhough this version is a beta version, it has
    undergone some rigourous testing and is very close to production.
    Regards
    John
    Roberto Werneck (guest) wrote:
    : I would like to know if it is possible to use the workbench
    : 1.2.2 to migrate from SQL Server 7 to Oracle 8. If possible
    what
    : kinds of problems would i probably have. If not, how can i get
    : the Beta version ?
    : Thanks,
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Migrating from Sql Server 7 to Oracle 8

    I would like to know if it is possible to use the workbench
    1.2.2 to migrate from SQL Server 7 to Oracle 8. If possible what
    kinds of problems would i probably have. If not, how can i get
    the Beta version ?
    Thanks,
    null

    Hi Roberto,
    You cannot use Workbench 1.2.2 to migrate from SQL Server 7 to
    Oracle 8.
    However, the good news is that we have a new verion of the
    workbench that will have a plugin that can migrate from SQL
    Server 7.0 to Oracle8.
    A beta version will be downloadable from this web-site in approx
    one week. Eventhough this version is a beta version, it has
    undergone some rigourous testing and is very close to production.
    Regards
    John
    Roberto Werneck (guest) wrote:
    : I would like to know if it is possible to use the workbench
    : 1.2.2 to migrate from SQL Server 7 to Oracle 8. If possible
    what
    : kinds of problems would i probably have. If not, how can i get
    : the Beta version ?
    : Thanks,
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Migrating from Sql server get SQL Error: ORA-00936: missing expression

    All,
    I'm migrating from Sql Server to oracle 10g and I'm getting a
    "SQL Error: ORA-00936: missing expression" error
    when the following create table statement is executed. It appears 10g does not like the CREATE DEFAULT xxxx as xxx syntax. Any ideas??
    CREATE TABLE EnvCapitalOtherCostAtom (
    EnvID CHAR(36) NOT NULL,
    CapitalID CHAR(36) NOT NULL,
    Seq FLOAT DEFAULT
    CREATE DEFAULT D_Set_To_Zero
         AS 0
    NOT NULL,
    AtomID CHAR(36) DEFAULT
    CREATE DEFAULT D_NewGUID
         AS newid
    NOT NULL,
    AtomName VARCHAR2(100) NOT NULL,
    AtomName_dqa NUMBER(5,0) DEFAULT
    CREATE DEFAULT D_DQA_Dflt
         AS 10
    NOT NULL,
    CreatedOnTimeStamp TIMESTAMP(6) NOT NULL,
    LastEditedOnTimeStamp TIMESTAMP(6) NOT NULL,
    TFDubh_dqa NUMBER(5,0),
    record_flags NUMBER(5,0) DEFAULT
    CREATE DEFAULT D_Record_Flags
         AS 0
    NOT NULL,
    record_dqa NUMBER(5,0) DEFAULT
    CREATE DEFAULT D_Record_DQA
         AS 30
    NOT NULL
    );

    Hi Chris,
    not sure SQL Server accepts the syntax you provided either. Even more I have checked MSDN(http://msdn2.microsoft.com/en-us/library/ms173565.aspx) and they recommend:
    Avoid using CREATE DEFAULT in new development work, and plan to modify applications that currently use it. Instead, use default definitions created using the DEFAULT keyword of ALTER TABLE or CREATE TABLE. CREATE DEFAULT will be removed in a future version of Microsoft SQL Server.
    In Oracle you should do the same either use DEFAULT in CREATE TABLE statement or in ALTER TABLE, have a look at http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_constraints.htm#sthref626 for more details.
    The proper Oracle syntax for your DDL should be something like:
    CREATE TABLE EnvCapitalOtherCostAtom (
    EnvID CHAR(36) NOT NULL,
    CapitalID CHAR(36) NOT NULL,
    Seq FLOAT DEFAULT 0 NOT NULL,
    AtomID CHAR(36) DEFAULT SYS_GUID() NOT NULL,
    AtomName VARCHAR2(100) NOT NULL,
    AtomName_dqa NUMBER(5,0) DEFAULT 10 NOT NULL,
    CreatedOnTimeStamp TIMESTAMP(6) NOT NULL,
    LastEditedOnTimeStamp TIMESTAMP(6) NOT NULL,
    TFDubh_dqa NUMBER(5,0),
    record_flags NUMBER(5,0) DEFAULT 0 NOT NULL,
    record_dqa NUMBER(5,0) DEFAULT 30 NOT NULL
    );

Maybe you are looking for