Issue during migrating from Sybase to Oracle using Oracle SQL Developer

I am using SQL Developer v 3.2.20.09 to migrate from Sybase to Oracle Pl/SQL 12c
While migrating the stored procedure the following block did not convert. I got NULL instead of object_id:
Sybase Block:
IF OBJECT_ID(‘dbo.CheckEst’) IS NOT NULL
BEGIN
DROP PROCEDURE dbo.CheckEst
IF OBJECT_ID(‘dbo.CheckEst’) IS NOT NULL
PRINT ‘<<>>’
ELSE
PRINT ‘<<>>’
END
Oracle Block after conversion:
BEGIN
IF NULL/*TODO:OBJECT_ID(‘dbo.CheckEst’)*/ IS NOT NULL THEN
BEGIN
DROP PROCEDURE CheckEst;
IF NULL/*TODO:OBJECT_ID(‘dbo.CheckEst’)*/ IS NOT NULL THEN
DBMS_OUTPUT.PUT_LINE(‘<<>>’);
ELSE
DBMS_OUTPUT.PUT_LINE(‘<<>>’);
END IF;
END;
END IF;
END;
Lines 1 & 4 got converted to NULL. I have many places where such code is written.
Is there any quick way to overcome such an issue? or what needs to be done in such case?

Hi,
  You are using an older version of SQL*Developer.  Could you download the latest 4.0.2 version available from here -
Oracle SQL Developer
and check if you still have the problem ?
Regards,
Mike

Similar Messages

  • I will be working on a project to migrate from Sybase ASE (15.7) to SQL Server 2014 using Oracle golden gate........I am trying to find documentation which can guide me to use a separate box installation of OGG and how to configure it for Sybase and SQL s

    Hi,
    I need guide to install OGG on a separate box which will help me to migrate Sybase to SQL server.
    Viral Dave

    hi - just an fyi
    we have SQL Server 2012 and from my reads and understanding OGG supports SQL Server up to 2008. not to say it wouldn't work on higher versions if installed. in the link above check out the SQL Server installation chapter. before purchasing the license I would contact Oracle.
    maybe someone here has installed it on a higher version and got it to work. we are currently working on setting up OGG to work on Oracle to Oracle servers.

  • Are there Major Impacts Migrating from Sybase 12.x to Oracle 10g, 9i, or 8i

    If anyone knows any websites on this subject or can help; I'd greatly appreciate it. Thanks

    Rudy,
    were there any errors reported on screen when you ran the SYBASE12_DSML_SCRIPT.BAT file ? If so, the data in the .DAT
    files (which are generated by this script in the %ORACLE_HOME%\OMWB\DSML_SCRIPTS\Sybase12 directory)
    may be incomplete or even corrupt and this may cause problems when the Workbench attempts to load them. The script
    reports successes and errors to the screen while it runs and you may discover what the problem could be from these reports.
    If the script does not report any errors then there should be some indication of what the problem is from the error.log
    file which can be found in %ORACLE_HOME%\OMWB\Log or from an error/warning message sent to the progress
    window in the Workbench. If you would like to send me the text of any errors you find to be reported or if you would like to
    send me copies of the files generated on your machine by the DSML script, I would be happy to investigate the problem further
    and report back to you.
    Ragards,
    Tom.

  • Problem while migrating from Sybase to Oracle using Quick Migrate

    Hi,
    For SQL Developer version 2.1, while migrating from sybase to oracle, Using Quick migrate, during data move step, for the rows having ''(Blank) values in TEXT data type in SYBASE, which is convertd to CLOB in Oracle, the migration for that table terminates at that row.
    However, NULL values in Sybase TEXT data type are successfully inserted in Oracle CLOB.
    How can we overcome this?

    reproduced and see exception in console, bug logged.
    Edited by: Jade Zhong on Feb 1, 2010 6:10 PM

  • Experiences migrating from Sybase to Oracle

    Hi all,
    I have been asked to look into migrating a database from Sybase to Oracle.
    I know there is lots of info on Oracle's website, which I have downloaded, but I was just hoping for some info about some of your experiences regarding your processes. What are the gotchas. I suspect there will be a few.
    Anything that will help would be of interest.
    Many thanks
    VicC

    HI VicC,
    I work within the SQL Developer team and not a customer as such, but the follow maybe of use.
    SQL Developer is a migration aid, its not 100% magic bullet.
    SQL Developer does alot of the manual conversion for you quickly. But you may find Testing / Tuning and the application migration (if any) take you the most amount of time.
    SQL Developer aims to migrate you tables, indexes, and data without issue. But SQL Objects like Procedures, Triggers, Views and Functions conversion will likely require manual work on top of the automatic conversion provided by SQL Developer.
    SQL Developer does not yet automatically handle things like the tablespaces structure or the the logins. Although these things can be scripted and managed more easily within SQL Developer.
    I would recommend downloading and performing the migration from a non production instance ASAP.
    SQL Developer can perform a migration quickly and you will then be able to assess what SQL Developer can and cant do for you.
    I would recommend creating a migration repository on an Oracle database local (install Oracle XE if you dont have a local database) to the SQL Developer instance you are using.
    I would also recommend downloading SQL Developer 2.1
    Here are some key sites regarding Sybase migrations.
    http://www.oracle.com/technology/tech/migration/workbench/viewlets/sqlserver.html . This viewlet for SQL Server is the same process for Sybase.
    http://www.oracle.com/technology/obe/hol08/sqldev_migration/sybase/migrate_sybase_otn.htm . This Oracle By Example takes you step by step through a Sybase migration including some gotchas
    http://dermotoneill.blogspot.com/2008/06/sql-developer-migration-workbench-151_11.html . This is my blog outlining the steps to perform a Sybase migration.
    Regards,
    Dermot
    SQL Developer Team.

  • Migration from SYBASE IQ to SYBASE ASE 11/12 and then to ORACLE 10G

    Hi ,
    The OWMB tool does not support migration of SYBASE IQ to ORACLE.So there should be some tool to migrate this SYBASE IQ to SYBASE ASE 11/12.And then which we can migrate to ORACLE which the OMWB supports.Does anybody have any idea about such tool(SYBASE IQ to SYBASE ASE 11/12).
    Thanks With Regards,
    Vinoth

    Vinoth,
    That's correct. However Sybase IQ is normally associated with Data Warehouses. Have you investigated the suitability of using Oracle Warehouse builder to assist with such a migration?
    Ispirer supports migration from Sybase IQ 12 ( http://www.ispirer.com/products)
    Donal

  • Migration from Sybase 11.9.1 to Oracle 7.3.4

    Does the Oracle Migration Workbench 1.2.2 support database migration from Sybase 11.9.1 to Oracle 7.3.4?
    If not, is there any work-around or any other tool? Can we still use Migration Workbench for this migration?
    Thanks.

    It is probably best to use the latest version of the workbench (1.2.5.0.0). Migration to 7.3 is not supported but should work except for the newer features, for example use long instead of blob and clob, and do not use 8i temporary tables.
    Turloch

  • Migrating from Sybase to Oracle

    Hi!
    Can someone tell me, how to migrate from Sybase to Oracle.
    Thank U.

    Hi,
    You don't say if you have used the SQL*Developer migration workbench for the migration so far.
    This has a feature for transferring data offline which should do what you want.
    Have a look at the documentation linked from -
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
    or at -
    http://download.oracle.com/docs/cd/E12151_01/index.htm
    SQL Developer User's Guide - section 2.9.1 Transferring the Data Offline
    Regards,
    Mike

  • DATE format problem, migrating from Sybase to Oracle 9i

    Hi,
    We are in a process of migrating the database from Sybase to Oracle 9i, everything going fine except the data load of couple of tables.
    The workbench created the control file, data & related files to load the data into Oracle using the SQL*LOADER.
    But coule of data files having HH:MI:SS:xxx AM in the DATE field, which Oracle is failing while laoding the workbeck created the destination table with the column data type = DATE, so how to insert the milliseconds along the date like Mar 25 2004 12:00:00:000 AM
    Thanks
    Ramana
    212-657-0104

    In your control file for SQL*Loader, specify the timestamp with format like "Mon DD yyy hh:mi:ss:ff3AM".

  • How do I migrate views from MS SQL 2008 to Oracle 11g through SQL Developer

    Is there any way to migrate the views from MS SQL 2008 to Oracle 11g through SQL Developer? Please give me some detail steps. Thanks for your help.
    Kevin

    Hi Kevin,
    user13531850 wrote:
    Hi Turloch,
    When I use migrate to oracle, I got a problem, the migrate tool create a new schema for me in my case (AZTECA_KSMMS), it migrates all the stuffs under that schema (AZTECA_KSMMS). However my application need the all the Oracle data under schema AZTECA instead of AZTECA_KSMMS. Is there any way to specify specific schema (AZTECA) for target oracle database? Schema remapping is available:
    First Capture (separately) then during right click convert on the captured model there is a Specify the conversion options with a Object Naming tab where the schema (and other) name changes are editable.
    I have not used this recently.
    Also during the migration process, when I choose repository, there is a check box for truncate to reset repository to empty state, Do I need to check that truncate Check Box so the repository will be cleared from last migration?The repository can hold multple migration attempts. Check truncate to get rid of previous attempts information. This cleans up the repository - not the destination database.
    There are also online database and offline database options during the migration process, what are the difference between these two choices? After I migrated to Oracle, all my views has a red cross icon next to it. Does that mean the view migration is failed or not? Please give me your comments. Thanks for your help.offline: for big (amount of data) databases with simple data types,
    uses bcp + files + scripts + sqlldr.
    online: for small (amount of data) databases (easier),
    uses (Java) jdbc.
    The view is likely to be broken - recompiling it may help.
    The Oracle schema is created using a .sql file - see under generated in the directory you gave originally in the wizard. There is a .out file that contains the result of running this script including any errors. During conversion there are also likely to be warnings displayed on the UI.
    There may be a single issue that is causing multiple issues - if viewa depends on functionb, and functionb is broken, viewa will also fail.
    >
    Kevin-Turloch
    SQLDeveloper Team

  • Migrate peoplesoft sybase HR database to oracle 11g

    Hi All,
    We am looking to migrate from sybase 12 to Oracle 11g. We are not sure on which path to choose for this migration to be done. Ths sybase Database is around 55 GB. Below are few questions. Please let me know. The down time on this database can not be more than 2 days at the max.
    1. What is the best and fastest way to do this, if there is one?
    2. Any Documentation on steps involved in migration?
    3. Do we have to use any 3rd party tools for this?
    4. Can we achieve the data migration with sql loader, if yes is it the suggested way to do this and is there any documentation on this?
    I tried sql developer to do the migration but it did not go well and finally found that it is not the way to migrate a Database with peoplesoft environment, below is the link to explain more about what I have done with sql developer.
    If there is any other information required, below link has almost all the information.
    Re: Migrate peoplesoft sybase HRMS database to oracle 11g
    Thanks
    Kranthi

    1)     Build an Oracle Demo system patched to the same release level as the current production system.
    2)     Launch Application Designer and compare the production system to the demo system so you may capture the modifications.
    3)     Load a custom table with the tables listed in the MVPRDEXP.EXP in the production system. Run a script to create an export script for all PSRECDEFN where the RECTYPE is 0. This identifies all application data tables. You may want to dms export large tables in parallel.
    4)     DMS Import the exported data into the Oracle instance.
    5)     Reapply the modifications.

  • JMS issues when migration from weblogic 9.2 to 10.3.5

    We are facing some issues when migration from weblogic 9.2 to 10.3.5
    In  weblogic 9.2 :_
    BMP Entity EJBs used in our project are read-only in nature using entity cache, below is the configuration details
    <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN" "http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd">
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>
    Company
    </ejb-name>
    <entity-descriptor>
    <pool>
    <max-beans-in-free-pool>300</max-beans-in-free-pool>
    <initial-beans-in-free-pool>150</initial-beans-in-free-pool>
    </pool>
    <entity-cache>
    <max-beans-in-cache>3500</max-beans-in-cache>
    <idle-timeout-seconds>100000</idle-timeout-seconds>
    <read-timeout-seconds>0</read-timeout-seconds>
    <concurrency-strategy>ReadOnly</concurrency-strategy>
    </entity-cache>
    Entity beans will get refreshed using the JMS messges. with in the MDB descriptor files(weblogic-ejb-jar.xml) we are using the provider URL directly and XA enabled connection factory is set to false.
    migration to Weblogic 10.3.5_
    With the same configurations MDB are not not getting deployed in weblogic 10 with some exception, so we removed the provider URL from weblogic-ejb-jar.xml and changed the JMS configuration to use foreign JMS and XA enable connection factory is set to true. Now when ever the JMS message is triggered Entity bean is not getting refreshed with the updated values. i.e values are stale.
    Can some one look into this and provide your inputs to resolve this issue.

    I think the Entity bean refresh problem appears to be unrelated to MDBs. The MDB is only responsible for getting the message to your application (which in turn interacts with Entity beans). You might want to try posting your question to an EJB newsgroup.
    Tom

  • Migration from Informix 9.4 to Oracle 10g

    We have to perform a migration from Informix 9.4 to Oracle 10g. Many tables, many data and many stored procs.
    We use the Online mode and the imports finish with any errors, but it has not recovered any stored procedures or we can't view the Informix Stored Procedures in the Source Model in the workbench.
    In the importation log appears as no found procedures, but under owner informix are all procedures.
    What we can do?

    In the 10.1.0.4 version of the workbench we create an informix user who will have all the stored procedures.
    If you want these migrated as another user you can right click on the user in the oracle model and rename it for a start.
    If this is a large migration, I would recommend the following.
    1. generate the ddl for the oracle database.
    2. for the users, that will be created, move the objects to the users that you want these in.
    3. Make sure that the privileges that a particular user has is appropriate to use the data and execute the stored procedures if necessary.
    This tool is not just a one shot deal.. It will bring the informix db over to Oracle, but you need to verify the structure and the logic of the stored procedures as being correct.
    Barry

  • Migrating from Sybase Anywhere to ASE

    I am in process of migrating from Sybase Anywhere to ASE and trying to import a table from Anywhere to ASE, I getting following error message that could not find appropriate data type for column - now this column from Anywhere has data type of datetime.

    ASE does not have any wizards so you must be using some sort of GUI/tool/application.
    What GUI/tool/application are you using? PowerDesigner? Sybase Central? Sybase Control Center? Something else?
    Can you *connect* to the ASA and ASE instances with this GUI/tool/application? [Forget the 'import' operation for the moment ... and verify you can just *connect* to both ASA and ASE.]
    Also, what is the actual/complete error message?
    NOTE: I don't use GUI/tools so depending on the error there may not be much more I can assist with.

  • Issue on migration from OTM 8 to 9

    Hello,
    I'm trying to migrate from Oracle Test Manager 8 to 9. I would like to use an old schema built on OTM 8. I've created a new Database Connection using OATS - Database Configuration in order to use my old schema. Anytime I try to log in OATS Administration Login using Administrator account, the application alert me that I'm trying to open a connection to an old version that must be updated. When I choose yes I get this error: "The Oracle Test Manager for Applications database could not be updated. Please make sure that the user has Administrator rights for the database and that the password entered is correct."
    So I checked "User" table on db using this query:
    SELECT * FROM "Users" where isactive = 0 and deleted = 0;
    "Administator" account appears in the result list.
    I've followed this guide: http://kr.forums.oracle.com/forums/thread.jspa?threadID=995410&tstart=146, so I've tried to change isactive flag of default user to 1 from 0 but nothing changed.
    Can someone give me some tips?
    Thank you.

    Version 8 I guess was pre OATS user...
    There's a 'Oracle Application Testing Data Migration Tool' under in your ATS programs menu listing. I should be used for migrations, if I recall the default DB in 8 was MSAccess but the migration tool offers migrations from different DBs also previous Oracle DBs.
    I haven't used it but it might help. You still need to know the owner of your OTM schema though... Use a DB management tool to find out.
    /J

Maybe you are looking for

  • MS WORD TABLE commands such as "AutoFit to contents" can be achieved in LabVIEW report generation?

    LV 7.1 and Report Generation Toolkit 1.1. I generate a report by the tookit.But tables are in disorder because of the different contents in cells. Is there a way(or any function) in LabVIEW to made it like "AutoFit to contents" or "AutoFit to window"

  • New Ipod Touch 64GB failed due to freezing Itunes upgrade

    I uninstalled itunes to attempt to re-install version 10.2 as required for my new Ipod. Each time it freezes at 10% Prior to this, all other Ipods were funstioning properly. Mssg read iTunes64setup.exe fails---always at 10%. System restore was ineffe

  • XML to internal table

    Hi, I  am on 4.6 C. Call Transformation is not available here. I have an XML file with deep structure  with nodes/subnodes. I have to convert the file to an internal table with matching deep structure. I have seen a program that works in reverse- i.e

  • Packaging oc4j StandAlone ejb 3 client

    Am doing a ejb 3.0 test project with a standalone oc4j instance. I have no problem running a test client from within jDev, but I don't know how to tell the .deploy file to include either the required oc4j client jars or have the manifest include them

  • Netting process between company codes

    Hi Gurus, How do i configure a Netting process between company codes when they trade with each other. Please advise, Thanks, Temba