DB2 8.1 to Oracle 11g with SQL Developer 3.0

I started migrating my DB2 8.1 to Oracle 11g, with SQL Developer 3.0
Basically, I need to migrate TABLES.
I followed these steps:
1) I created a new Oracle database, tablespaces, users, etc.
2) Then, I created both (DB2 and Oracle) connections into SQL Developer 3.0. All works fine.
3) I start capturing one table with the "Copy to Oracle" feature. Done with no errors.
But when I compare the table structure, I see the following problems in Oracle:
a) All fields are NULLABLE = YES. SQL Developer show this field property correctly in DB2: NULLABLE = NO, but not migrated the same!
SOLUTION: All I want is that SQL Developer simply migrating the same value who I have in the DB2. But how?
b) In DB2 I have one field property called COLUM DEFAULT. In Oracle this property is called DATA_DEFAULT. The SQL Developer show this field property correctly for the DB2 tables (for example: 0.0, ' ', etc), but don't migrated the same value! All fields are configured to DATA_DEFAULT = NULL.
SOLUTION: I think this occurs because NULLABLE is migrated with the value YES. Well, all I need is the same above...
NOTE: I tested the SWISSQL DATA MIGRATION software, and it works fine. All tables, field properties and data are migrated sucessfull. But this program is trial version!
Well, I think all of this are BUGS into SQL Developer.
Please, anyone to help me?

Welcome to the forum!
I just did right click in the procedure body and found [Debug, Compile for Debug, Compile, Run].
You listed a bunch of things but you didn't say what steps you actually performed and what the result was.
Did you 'Compile'the procedure? until you compile the procedure you can't debug it.
I just created a new procedure and when I select the body it displays in the 'Code' window on the right. But the 'Debug' icon is not enabled because the procedure was not compiled for debug.
When I compile it for debug the 'Debug' icon is now enabled.

Similar Messages

  • 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.

    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.
    SQLDeveloper Team

  • Error connecting oracle 11g through SQL Developer

    i am using SQL Developer to connect to oracle 11g which is installed to another machine in same network
    means i am using a client machine to get connected to oracle installed to host machine through SQL Developer
    iam getting this error
    network adapter could not establish the connection
    vendor code 170002
    my listener.ora
    (ADDRESS = (PROTOCOL = TCP)(HOST = his-zoheb.PCSTECH.COM)(PORT = 1521))
    my tnsnames.ora
    ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = his-ansari.pcstech.com)(PORT = 1521))
    (SERVICE_NAME = orcl)
    iam not understanding what is problem
    please somebody help

    I would say it's vendor code 17002 (not 170002). And such a message is thrown by SQL Developer , unfortunately very generic for any kind of connection problems.
    Start sqlplus and try to connect, very likely you get a better error message.
    Recently I had such a connection problem and the reason was - No Listener.

  • I have problem to connect oracle DB with SQL developer

    I try connect to my oracle db with oracle SQL developer and received that message:
    (pictures 1 and 2)
    if i try connect with sql plus, all well.
    command : select userenv('LANGUAGE') from dual; result: Connected to: Oracle Database 10g Express Edition Release - Production
    SQL> select userenv('LANGUAGE') from dual;
    in SQL DEVELOPER: (picture 3)
    check\uncheck "Skip NLS Settings", nothing changed.
    what the issue is?

    Then apparently it's still not getting the OS settings right; try to add these to \sqldeveloper\bin\sqldeveloper.conf (maybe region is enough):
    AddVMOption -Duser.language=en
    AddVMOption -Duser.country=US
    AddVMOption -Duser.region=USHope that helps,

  • Help for migrating DB2 to Oracle11 g, with Sql Developer

    Hello, Good Afternoon,
    Today I started a series of exercises to migrate DB2 9 to Oracle 11 g, with SQL Developer in order to evaluate this tool for a project we have in door.
    But it is setting a number of issues, because the DB2 tables that we are trying to migrate do not have primary key and load the data sets the error ORA-02270.
    It is generating an error when trying to convert the following triggers.
    SET newstaff.salary =
    WHEN newstaff.job = 'Mgr' AND newstaff.salary < 17000.00 THEN 17000.00
    WHEN newstaff.job = 'Sales' AND newstaff.salary < 14000.00 THEN 14000.00
    WHEN newstaff.job = 'Clerk' AND newstaff.salary < 10000.00 THEN 10000.00
    ELSE newstaff.salary END;
    CREATE TRIGGER do_not_del_sales NO CASCADE
    WHEN(oldstaff.job = 'Sales') BEGIN ATOMIC SIGNAL SQLSTATE '75000'
    ('Sales staff cannot be deleted... see the DO_NOT_DEL_SALES trigger.'); END
    SEVERE 197 625 oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle Failed to Convert Trigger MIN_SALARY>: class org.antlr.runtime.NoViableAltException -> null: Line 1 Column 0
    SEVERE 196 1328 oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle Failed to Convert Trigger DO_NOT_DEL_SALES>: class org.antlr.runtime.NoViableAltException -> null: Line 1 Column 0
    I can do for Work Bench (SQL Developer) not validate that DB2 must carry primary keys?
    I can do for Work Bench (SQL Developer), I can turn triggers the 2 above?

    to follow up the root cause of ORA-02270 it would be good to get the DB2 table definition as the table is defined in the Oracle database.
    For the other issue with the trigger, please have a look at:
    => it lists which objects the migration supports as:
    Supported Migration Objects
    => so no triggers.

  • DB connection issue for Oracle 11g with jdk1.3

    Hi Experts,
    I have jdk1.3 installed. I need to connect to Oracle 11g, but there is no driver class for Oracle 11g with jdk1.3. I have Classes12.jar for Oracle 9i with jdk1.3. When I try to connect to Oracle 11g with jdk1.3 using Classes12.jar, I get the below error
    java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=185599744)(ERR=12514)(ERROR_STACK=(ERROR=(CODE=12514)(EMFI=4))))
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:335)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:334)....
    Please help to solve this issue. This is urgent.

    "connection refused" is quite a clear error message;
    - either you configure a wrong host name or port number
    - the database isn't even running
    - a firewall is blocking you
    In any case no connection can be made to the database, which is hardly a programming or driver problem. You'll have to figure out for whatever external reason you cannot create a connection to the database. Good luck.

  • Installing oracle 11g with ASM

    Hi ,
    Thanx for priviuos supportss.
    Here we are going to configure a new set up on new hardware :
    clients requirements :
    oracle 11g with ASM :
    Number of instance = Single database
    Platform = IBM AIX 6.1
    Kindly provide me any guidence / steps regarding same as i havent configured this yet..

    user12045405 wrote:
    Thank u very much for interest ...
    version =
    Can u plz ans my below questions :
    1.When we say ASM , is it considedred as a Grid Infrastructure ASM is one component of Grid Infrastructure. You can't have ASM without it.
    2.What is ORACLE RESTART , do i really need to install it...It is also part and parcel of Grid Infrastructure - at least for a stand-alone.
    there is an entire forum dedicated to GI installation, located [url https://forums.oracle.com/forums/forum.jspa?forumID=62]here
    And fwiw, if you run the GI installer, one of the options is gives is to Install Grid Infrastructure for a standalone server. Pretty painless as long as you have correctly configured your disks that will be used with ASM.
    kindly revert.........Edited by: EdStevens on Feb 28, 2013 7:25 AM

  • Integrate Oracle IDM with Sql Server 2005

    Hi Guys,
    We maintain the employees information in Oracle IDM and we want to integrate Oracle IDM with Sql server 2005.
    how we can this.

    The DB connector?
    The version supports SQL server 2005.
    The latest version of the GTC db connector might also work.
    Best regards

  • Oracle 11g certification in Developer track

    I would like to go for Oracle 11g certification in Developer track. I've already given 1Z0-051 paper.
    Is OCA 11g certification in Developer track now available. And if it is not currently available, I believe when it is going to be released the first paper is going to the be same (1Z0-051) and I could give the second paper and get the certification.
    Please advise.

    Could you please explain what is the difference between beta exam and the normal one.Q) What is the difference between a Beta exam and a production exam?
    A) Beta exams are used by Oracle to test new exam questions with the participation of a live audience. Data gathered during beta testing are used to select the best questions for the production exam, and to eliminate questions that are ambiguous, too easy or too difficult, or are unhelpful in evaluating participants' knowledge level. Beta exams are offered at a discounted price; and candidates usually have either 3 or 3.5 hours to complete the exam, and may see 175 - 220 questions. For more details on how beta exams differ from the production version, visit the Oracle Certification Beta Exam Information web page.
    Frequently Asked Questions (FAQs)
    I see that 1Z0-146 is the final paper for OCP (Advanced PL/SQL programmer). Can I not get a OCA certification in 11g?You can get the "Oracle PL/SQL Developer Certified Associate" certificate if you pass (1Z0-001 or 1Z0-007 or 1Z0-047 or 1Z0-051) + 1Z0-147 exam.

  • No Oracle Advanced PL/SQL Developer OCP in June UK Training Leaflet?

    Oracle have out of the kindness of it's heart :x (and desire to avail of bigdelboy's gbp ;\ ) sent bigdelboy an Oracle (UK/Eire) Training Courses June-October 2009.
    This training course leaflet also references certifications.
    Now interestingly there is no reference to the Oracle Advanced PL/SQL Developer Certified Professional on this :(
    There is mention of the following 4 training courses wrt certs:
    Oracle AS 10g : portal - build corporate portals
    Oracle AS 10g : portal - build build portlets with PL/SQL
    Oracle forms developer 10g: build internal applications
    Oracle Reports Developer 10g: build reports
    And looking at this bigdelboy also noticed ?:| .....
    ... to top it all, as of the time of this post the Oracle PL/SQL developer and forms Page currently at:
    seems to be showing incorrect info ...
    It shows Advanced Pl/SQL developer OCP being obtainable by:
    1z0-051(or friends)+1z0-147+1z0-144 (1z0-144 is not shown explicitly but the link points to it).
    rather than what bigdelboy suspects is correct.
    1z0-051(or friends)+1z0-144(or 1z0-147)+1z0-146
    Anyway bigdelboy wonders if mediaguy has been a little slow on the announcements or has bigdelboy totally misunderstood :D
    Edited by: bigdelboy on 13-Jun-2009 15:14 (Big big Typo(s))

    Hello, core Tech Delivery Manager for UK here - Claire
    Noticed your comments re new printed schedule - just to say Dates here correct at going to print, but things change as we go.
    For exmaple - We also have a new partner in Ireland who's training dates can be found on IE education website on http://education.oracle.com, not on printed schedule.
    New dates and courses come out all year (new Oracle 11g Weblogic middle tier courses will be next to hit the shelves, followed by 11gR2 New Features for Administrators etc)...so it is always best to use Printed schedule as a guide only, and it should entice you to our UK website for OU, to check latest dates, locations and prices, most of which should match ok...but there will be a lot more on website. You can also call +0845 777 7711.
    You are right the PLSQL OCP is not on the printed schedule - I am glad they have added this though - the exam is currently in Beta from what I understand, but regardless I took the decision given the limited amount of space and huge variety of middleware offerings, to include more learning paths such as Java Developer, Web Admin and App Developer (you will see APLS listed as a course there, and I ensured it was one of the main listed unfer the DB&Lang section.)
    We now teach 11g version of Advanced PLSQL.
    Forms , Reports and Portal still have Customer Demand in UK and IE hence their inclusion too - not all companies have upgraded to latest Oracle technology yet, which is why we still run a lot of 10g based DB courses in parallel to 11g - most customers plan to upgrade from 9i/10g straight to 11gR2.
    Hence, it is wise to include courses that will sell, not just the latest courses ..which could alienate potential customers of OU !
    You are totally right about the exams though - I notice it should be 1z0-051(or friends)+1z0-144(or 1z0-147)+1z0-146 as you say below, so I have emailed marketing et al to see if Global will change the website (which is centrally controlled from US).
    Do let us know anything else you can report, Id be happy to help if I can...though I wont leave my phone number on here if that's ok!

  • Issue with SQL Developer connect to SQL server

    I'm using "SQL Developer" to work on a migration project which needs to convert a SQL server database to a Oracle 11g database. But I got an issue when I setup the SQL server connection. The SQL Developer let me connect by selecting a SQL server database name (For example: Northwind), but once connected, it always connected to "master" database instead. The "SQL Developer" is running on Windows 7 Professional (x64) platform. My Oracle database is 11g, and SQL server database is SQL 2005. And my SQL server instance name is "SQL2005". Anyone have ever experienced this problem? Thanks in advance.
    Edited by: user8276338 on Feb 8, 2011 1:05 PM

    Hi Bob,
    Thanks for the feedback, lets stick with SQL Developer 3.
    Correct me if I'm wrong,
    You attempted to migrate from SQL Server to Oracle including target generation and datamove in one go, by filling in each step of the migration wizard to the end.
    During the datamove you got
    ORA-01000:maximum open cursor exceeded
    So it looks like SQL Developer during the migration is not closing cursors fast enough and hits the maximum number of open cursors in your Oracle database.
    I think the default max open cursors is 300 in Oracle.
    There are a few things we can do here.
    You should be able to see the new migration project in your Migration Projects navigator.
    By navigating down the project tree to "Converted Database Objects" we can attempt the data move again by right clicking and choosing "Data Move".
    But first I would restart SQL Developer so as to free up any lingering open cursors.
    That may allow you to complete the data move, as the only cursors being open are being used in the data move and not some cursors which may have been left open from previous steps in the migration.
    Now from my perspective I would like to identify where are we leaving open the cursors, so I'm going to setup some testcases my end to see if I can replicate.
    From your perspective Id presume you just want to move on with the migration.
    So if the above (shutdown and attempt just the data move) doesnt workyou could
    A) Increase the MAX OPEN CURSORs on your Oracle databases so it complete the data move
    B) Use the offline data move technique.
    A) Increase MAX OPEN CURSORs
    This wiki explains how to do that, looks like 1000 is fairly common, but even a much larger number is not a problem
    B) Offline Data Move
    If you are moving large amounts of data (say > 1GB), then the standard data move (we call it online), which just uses JDBC to SELECT * FROM and INSERT INTO may not cut the mustard.
    In this case you can try using our offline technique. SQL Developer will generate a set of scripts for you.
    unload_script.bat will use SQL Servers BCP tool to dump out the table data into DAT files.
    oracle_ctl.bat will load the data in the DAT files into Oracle.
    As we know the names of all the tables, columns ,both SQL Server and Oracle, we can generate fairly good scripts.
    The benefit of this technique is large amounts of data can be migrated and you get to use tools designed to dump data and load in data, so you have better error logging and tweaking.
    To attempt this in the Migration Wizard , Data Move page, select offline.
    If you can describe your database a bit (number of tables, number of procedures, amount of data to migrate) I may be able to define my testcase better so I can replicate the issue.
    SQL Developer Team.

  • Installing Oracle Database and SQL Developer

    Hi, I was looking for some help/advice in regards to installing an Oracle Database and SQL Developer onto a Windows 7 32bit machine. I have been asked to create a database to store data that I create through reports in Excel so I am required to create a local database but not sure how to go about doing this. Also not sure if I install the Express Edition or Oracle Database 11g R2. If somebody could please advise on how I can get this started or even any links/tutorials that would guide me in how to get this installed with a localhost.
    Thanks in advanc.

    318f20b8-a3d0-4fb4-bb0f-73785250b7d4 wrote:
    Thanks guys, I have managed to install Oracle 11gR2 and I have setup a database using the dbca tool and I can connect to my new database. One thing that I have noticed is that when i look into my tables in sql developer i see loads of different tables i.e. def$_, logmnr_, etc and I am not sure why this is as I expected an empty tablespace.
    Thanks btw for all your help.
    One of the key principles of relational databases is that they use their own facilities to manage themselves.  That means the database management system uses the database to manage data about the database using exactly the same facilities (tablespaces, tables, user accounts, procedures, etc) that an application uses to keep data for the application. See "data dictionary"   So there is no such thing as a completely empty database.
    As said by others, you do NOT want to be creating your own tables under oracle's schemas (users) or in oracle's own tablespaces (esp. SYSTEM and SYSAUX).  Create your own user account/schema.  Create your own tablespace. Make that tablespace the default for that user.

  • Installing Oracle 10G and SQL Developer for Windows 7 Home Premium

    Hi Folks,
    I need your helping me in getting the correct Database installed for my Windows 7 .
    Can you please help me out in sending me the correct url for Oracle 10G Database & SQL Developer URL
    So i can install both and get on with it...
    Thanks ,

    user4789048 wrote:
    Hi Folks,
    I need your helping me in getting the correct Database installed for my Windows 7 .
    Can you please help me out in sending me the correct url for Oracle 10G Database & SQL Developer URL
    So i can install both and get on with it...
    Thanks ,
    satish.pWith the caveat (as already pointed out by Srini in this thread) that no Oracle product has ever been certified on any "home" edition of any version of Oracle ...
    If I were looking to download any product, I'd start by going to that company's web site (like, www.oracle.com) and look for a tab or link called "download". I'll bet if you did that, you'd find all sorts of goodies.
    But, again, since you are dealing with a "home" edition of Windows, you'll need to start by installing a virtual machine product -- VM Ware's "VMworkstation" or "VMplayer", or Oracle's VirtualBox. Then you can create a virtual machine running a supported OS. Oracle's own Linux (derived from Red Hat Linux) is also free.

  • What version of Data Modeler comes with SQL Developer EA 3.1?

    I've looked but can't find what version of Data Modeler is shipped with SQL Developer 3.1 EA1. Is it Data Modeler EA 3.1 or the production Data Modeler 3.0 version?

    I ran an import and here's what the log showed...so it looks like SQL Developer EA 3.1 uses the production version of SQL Data Modeler...3.0.
    Oracle SQL Developer Data Modeler
    Oracle SQL Developer Data Modeler Import Log
    Date and Time: 2011-11-14 14:19:42 PST
    Design Name:
    RDBMS: Oracle Database 10g

  • Migration from Access with SQL Developer 1.2.2998 Does not migrate Relation

    I've almost successfully migrated an Access database to Oracle with SQL Developer with Quick Migration Option. Everything went all right, except for the tables relationships... they were not migrated. Have I forgot to do something?
    Thanks in advance.
    PS: Using SQL Developer, Oracle 10g XE, MS Access 2000 file.

    Hi All,
    This is a bug which crept in just prior to release. It has been found, and a fix has been commited to our source tree. The fix will be available in our next patch release. (1.2.1).

Maybe you are looking for