SQL Developer 2.1 version migration issue

Hello Everyone,
Since I was unable to find a similar topic on the forum, I'm posting now the problem I'm facing: I have downloaded release 2.1 for Windows 32 bit (without JDK) and I unzipped it in an empty 'sqldeveloper' folder on a Windows XP machine.
Upon starting it up, there is no migration wizard popping up to allow me to import the existing settings from release 1.2.1 residing in a parallel folder 'sqldeveloper.1.2.1'. If it works, does it import anything more than connections?
I tried to use the tools tab and explore various documentation sources (readme, help, forum, internet search) with no luck so far.
I would guess there is something wrong in my deployment procedure since nobody else has complained of similar issues.
Any hints or suggestions you may want to share would be greatly appreciated.
Thank you,
Dan

The original poster mentioned that he was migrating from 1.2.1, a really old version. That version did/does not store user settings under "Application Data", but in "sqldeveloper/system" in its' own installation directory. Unfortunately, SQL Dev. 2.1 will (apparently) not let you import settings from anything prior to 1.5; at least I was not able to do it when I tried just now (I have all of my previous SQL Developer installations still on my hard drive). It looks to me like what he will have to do is first upgrade from 1.2.1 to 1.5.5 (which will allow him to import his old 1.2.1 settings), and then upgrade from 1.5.5 to 2.1.
Ed. H.

Similar Messages

  • SQL Developer 3.3.20 maximized issue

    I've been running SQL Developer 3.1.07 on my Linux Mint 13 (Ubuntu 12.04) 64-bit cinnamon desktop for well over a year, and today, I downloaded the 3.2.20 linux rpm, and installed via alien / dpkg.
    I migrated my settings, and can connect to any of my databases fine.
    However, I'm having problems with the menus when SQL Developer is maximized.
    For example,
    1. I mouse click on any menu, but the menu does not stay selected (I must hold the mouse button down).
    2. When I select a menu entry, another menu is displayed. i.e. click Help, then try to select any item, and the Versioning menu displays.
    If I un-maximize SQL Developer, and stretch to 90% of the screen, it works fine. Using the Alt keyboard and up/down arrow works fine.
    I updated my Java to 1.6.0_43 and rebooted my PC, but the problem still persists (when maximised).
    Anyone have an idea of what might be causing this?

    ah,... never mind. Some more Googling and I see there are known issues.
    Developer GUI problem on x64 Fedora
    Will just have to live with it 90%.
    Edited by: stuartu on Apr 11, 2013 9:20 AM

  • SQL Developer Export hangs - version 3.2.20.09

    Hi,
    I installed SQL Developer Version 3.2.20.09 Build MAIN-09.87 and try to export a query into csv file,
    it hangs after writing 100 rows, I don't see the file grows on OS, the progress-bar keeps saying 100 row
    I also tried .xls format, the problem remains.
    the downloaded file is sqldeveloper-3.2.20.09.87.zip (with JDK included)
    Your help is appreciated.

    I ran export for a different SQL, the .csv file was generated.
    Not sure if the issue I encounter is data-related. I want to point out that some of the return data contains ASCII control characters:
    This is the exact SQL for the hanged-export:
    select c.email_addr,c.job_title, regexp_replace(c.job_title,'[[:cntrl:]]','#'),
    t.job_title, regexp_replace(t.job_title,'[[:cntrl:]]','#')
    from HZ_IMP_CONTACTS_T t, my_contact c
    where t.batch_id=100002764150299
    and t.REL_ORIG_SYSTEM_REFERENCE = c.pr_dept_ou_id || ':' || c.row_id
    and rownum < 200
    Hope you can reproduce this issue.
    Thanks,
    Wen

  • SQL Developer 3.0 EA Migrations available

    SQL developer 3.0 is available now as an EA which has several new and improved features to help you with your migration project
    1. Server migration for Sybase and Sql Server
    2. SQL Sever 2008 support
    3. Copy to Oracle functionality - right click on a table and copy it and it's data to Oracle
    4. Application Scanning for identifying database calls in your application
    5. Full command line support
    6. New migration wizard to simplify the migration process.
    And many more!
    I'll blog about these over the next few weeks going into detail on what's new and improved.
    B

    Hi,
    There are differentiation between certified and supported.
    See Sue's comment on the following thread to have a better idea of this :
    Re: SQL Developer with Oracle 9i
    9i is supported, not certified.
    From your lists, anything which are not listed, hopefully are still supported.
    Not sure for SQL Server 2008, though.
    Regards,
    Buntoro

  • SQL Developer Data Modeler - Version 3.0.0.665 - Open older project fail

    Hi,
    I just downloaded latest version of SQL Developer Data Modeler (3.0.0.665) and there is no "File" -> "Open" menu item. There is only "Save", "Save as", "Compare with" and "Exit".
    I try to drag`n`drop project file to the Data Modeler window. This operation leads to opening project file as XML. I got the same result when I try to open the file with windows context menu "Open with".
    How can I open older Data Modeler project? My previous version was 3.0.0 and project file was created there.
    Maybe I need disable "Start Page'? But how? I cann`t find appropriate param in Tools -> Preferences

    Hi,
    See this thread: Re: 30EA2 problem: Menu items not available
    Ivan

  • SQL Developer Data Copy (version 1.5.5)

    I was trying to copy the data values from one table to another.(Across two schemas. But the tables are the same). I exported the data values as csv and imported in on the other schema. is this the only way to do on SQL developer?. This method seems to be inconsistent. It works only for a few tables. Doesn't work for all the tables. Does anyone have an alternative solution for this?. Or can anyone give me the exact picture of what could possibly be wrong with my method?

    Hi,
    Data Modeler 4.1 needs Java 1.8 to run successfully.
    If you try to run Data Modeler 4.1 with Java 1.7 it gets stuck in "Registering Extensions", and this error appears in the console log.
    When you try to start it with Java 1.7 it normally gives an "Unsupported JDK version" warning, which identifies the file that needs to be updated to refer to a Java 1.8 jdk.
    On Windows, this will normally be C:\Users\<your user>\AppData\Roaming\datamodeler\4.1.0.866\product.conf,
    but if you start it from the console using the datamodeler64.exe it will probably use the file
    C:\Users\<your user>\AppData\Roaming\datamodeler64\4.1.0.866\product.conf instead.
    You can edit this file.  Alternatively if you delete the file, it should display the dialog asking for the location of the JDK next time.
    David

  • Congrats to the Sql Developer Team! The Migration tool is SUPER

    Just wanted to say "thank-you" for such a great tool. Last week, I was fighting a third party software / MS SQL 2000 database. Finally enough was enough, boot up Sql-Dev, migrated everything from MS SQL to oracle...extracted the data....baba boom baba bing..boss is happy!
    Keep up the great work!

    I know that the Spatial and Graph folks have an updated extension in the works for SQL Developer, but I can't speak about particular changes or updates. You could cross post to the Spatial forum as well
    Spatial
    As per your request for 'shared queries' for your students - I think that's a request independent of our Spatial support, yes?
    Could you elaborate a bit on exactly what you'd like to see here?
    Our Reports feature has a 'Shared Reports' interface that might get you what you want. There's also Code Templates and Code Snippets as well...
    Jeff

  • SQL Developer 3.0 Query Builder Issue

    When compiling a query within the Query Builder I cannot execute the query - the RUN statement button is disabled. There also appears some "lagging" when building the query.
    Is this a bug within the SQL Developer 3.0?
    This has the potential to be an excellent tool. I am pleased that this version now gives you function to amend views.
    Edited by: user13116583 on Mar 31, 2011 2:48 PM

    Hi Marc -
    With respect to the "lagging" see Re: 30EA2 - Query Builder locks up when I select the tab. on design trade offs made during the 3.0 early adopter cycle.
    The run button should be enabled as soon as you type anything in the Worksheet or drag/drop anything on the Query Builder. Can you give me more detail on what you are doing/seeing?
    Brian Jeffries
    SQL Developer Team

  • SQL Developer 1.1.0.21: Issues with Data Grid and SQL syntax checking

    In this new release of SQL Dev, when I execute a SQL in the SQL Worksheet and click in the Data Grid in the Results tab and try to navigate within a record using arrow keys, the grid cell enters into edit mode by default and so I cannot use the Left or Right arrow keys to navigate the grid. I am forced to use tab key to navigate. This is counter intuitive in my opinion.
    Is there any option to change this behavior?
    Another issue that I have come across is with SQL syntax checking. In some cases, when I press F9 to execute a SQL, it shows the SQL as executed i.e. shows something like 0.0134 seconds in the toolbar and no results displayed. In reality, the SQL had some syntax error which were NOT reported. This can be frustrating since now I have to fall back to SQL*Plus or TOAD just for syntax check.
    I like the fact that SQLDev highlights the current SQL but it would be more useful if it just indicated the first line of the current sql instead of highlighting the whole sql.
    Manish

    "In this new release of SQL Dev, when I execute a SQL in the SQL Worksheet and click in the Data Grid in the Results tab and try to navigate within a record using arrow keys, the grid cell enters into edit mode by default and so I cannot use the Left or Right arrow keys to navigate the grid. I am forced to use tab key to navigate. This is counter intuitive in my opinion."
    In the "Results" tab, Click Ctrl & Tab keys (at the same time) or with mouse click on any cell other than the first column (a sequence or rownum), you will be able to navigate using the arrow keys.
    "Another issue that I have come across is with SQL syntax checking. In some cases, when I press F9 to execute a SQL, it shows the SQL as executed i.e. shows something like 0.0134 seconds in the toolbar and no results displayed. In reality, the SQL had some syntax error which were NOT reported. This can be frustrating since now I have to fall back to SQL*Plus or TOAD just for syntax check."
    The 0.0134 seconds could be the result of the most recently executed successful statement. Check the Script Output tab for errors. Use F5 (Run Script option) instead of F9.
    "I like the fact that SQLDev highlights the current SQL but it would be more useful if it just indicated the first line of the current sql instead of highlighting the whole sql."
    On the SQL statement (or code), Right Click -> Format SQL (or press Ctrl & B), proper formatting would help.
    I use version 1.0.0.15.57 and seems to be working allright.
    - Babu Rangasamy

  • SQL Developer 3.1 not migrating Sybase Users to Oracle 11g R2

    I have tried both online and offline capture and the Sybase users are not being captured (Tables, Views, Procedures Worked). I searched this forum and saw another post about this issue but the Oracle representative never came back with a final finding/answer. We have 1000+ users to migrate so all help is appreciated.

    Hello.
    sorry for the delay (if you need quicker response I suggest that you open a Service Request in My Oracle Support).
    In your first post you said that you tried online and offline migration. So for an offline migration you have created the scripts using the Create Database Capture Scripts menu button. Then you have run that scripts against Sybase. Has there been created a file SYB15_SYSUSERS.dat (or SYB12_SYSUSERS.dat if your Sybase version is 12)? If that file has been created, does it contain anything or is it empty?
    Regards
    Wolfgang

  • SQL Developer and Access with password issue

    I have Windows 7 64bits, Developer Version 2.1.1.64 and Access 2007.
    Created a MDB file added 2 tables, enabled de system tables and set a password.
    I try to configure connection but it gives a "Not Valid Password" error.
    I use on username: Admin
    And the password I'd set.
    What could be the error?
    I unset the password and it works fine.

    The password I had set was Database password and not user login so maybe there's no hope on this one, for now...

  • SQL Developer 3.0.04 - SDO_GEOM Issues

    1. Performing a "SELECT *" on an Oracle table with a SDO_GEOMETRY column locks up the tool and I have to use Task Manager to can it.
    2. Clicking the Data tab on a table with an SDO_GEOM col either locks up the tool, or it takes forever to return.
    3. Performing a "SELECT" of a SDO_GEOM col either locks up the tool or takes forever to return.
    None of these issues occur in Toad.
    Edited by: JB on Jan 25, 2012 12:41 PM

    Hi,
    As Raghu noted above, and you also saw in rp0428's following reply,
    Re: Problem with displaying sdo_geometry objects
    drilling down to the cell edit details is your only recourse for now. Apparently there will be further work done in this area, but it is not clear exactly what or when it will be. For those with access to it, here is a bug reference:
    Bug 13680849 - RC1: NOT DISPLAYING THE DATA OF MDSYS.SDO_GEOMETRY
    Regards,
    Gary

  • SQL Developer in Citrix

    Hi,
    1. Are there are development teams, who are using the SQL developer software in Citrix?
    2. I had SQL developer 1.2 version and then upgraded to 2.1 version and found that the connection info was all gone. I found the IDEConnections.xml from my desktop and imported into the new version on Citrix and it loaded up all the db entries. But when the developers logged into the Citrix after the upgrade they got empty info with no connections and had to create them manually. I search for more information on the forum and found 2 useful threads -
    Re: Failed to create naming Context for db connections at url: file:
    Re: SQL Developer 2.1 version migration issue
    I checked the C:\documents and settings\<nt-id>/.sqldeveloper and didn't find the system sub-folder in there. Where is the connection info with db list stored in the new version?
    Thanks

    1. Not me, but there are several threads that indicate others do.
    2. As I said on that other thread, under Windows, that's C:\documents and settings\<nt-id>\Application Data\Sql Developer\systemXXX...
    Hope that helps,
    K.

  • Issue with migration DB from SQL Server 2005 to Oracle 11.2 using SQL Developer Migration workbench

    Hi,
    We face an issue while migrating an SQL Server 2005 DB to Oracle 11.2.  It fails during the process.  I hope someone on the forum has seen this before and can give us some advice.
    I use the latest version of SQL Developer with JRE included (3.2.20.09).  The JDBC driver to connect to SQL Server 2005 is 1.2.0
    Here are the steps we take in the Migration Workbench wizard:
    I made an online extract of the SQL Server database.
    Using the workbench in SQL Developer I created a migration repository in schema PDM_MIGRATION.
    Next I start the migration, it captures the tables fine, but immediately after the start of the conversion I get a failed message without further explanations.
    This is the content of the error xml:
    <?xml version="1.0" encoding="windows-1252" standalone="no"?>
    <log>
    <record>
      <date>2013-08-14T16:23:32</date>
      <logger>oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle</logger>
      <level>SEVERE</level>
      <class>oracle.dbtools.migration.workbench.core.logging.MigrationLogUtil</class>
      <message>Ongeldig naampatroon.: PDM_MIGRATION .MIGR_FILTER</message>
      <param>oracle.dbtools.migration.workbench.core.logging.LogInfo@4c12ab</param>
      <exception>
        <message>oracle.dbtools.migration.convert.ConvertException: Ongeldig naampatroon.: PDM_MIGRATION .MIGR_FILTER</message>
        <frame>
          <class>oracle.dbtools.migration.convert.ConverterWorker</class>
          <line>1078</line>
        </frame>
        <frame>
          <class>oracle.dbtools.migration.convert.ConverterWorker</class>
          <line>316</line>
        </frame>
        <frame>
          <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
          <line>1002</line>
        </frame>
        <frame>
          <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
          <line>303</line>
        </frame>
        <frame>
          <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
          <line>205</line>
        </frame>
        <frame>
          <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
          <line>159</line>
        </frame>
        <frame>
          <class>oracle.dbtools.raptor.backgroundTask.RaptorTask</class>
          <line>193</line>
        </frame>
        <frame>
          <class>java.util.concurrent.FutureTask$Sync</class>
          <line>303</line>
        </frame>
        <frame>
          <class>java.util.concurrent.FutureTask</class>
          <line>138</line>
        </frame>
        <frame>
          <class>oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask</class>
          <line>515</line>
        </frame>
        <frame>
          <class>java.util.concurrent.Executors$RunnableAdapter</class>
          <line>441</line>
        </frame>
        <frame>
          <class>java.util.concurrent.FutureTask$Sync</class>
          <line>303</line>
        </frame>
        <frame>
          <class>java.util.concurrent.FutureTask</class>
          <line>138</line>
        </frame>
        <frame>
          <class>java.util.concurrent.ThreadPoolExecutor$Worker</class>
          <line>886</line>
        </frame>
        <frame>
          <class>java.util.concurrent.ThreadPoolExecutor$Worker</class>
          <line>908</line>
        </frame>
        <frame>
          <class>java.lang.Thread</class>
          <line>662</line>
        </frame>
      </exception>
    </record>
    <record>
      <date>2013-08-14T16:23:32</date>
      <logger>oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle</logger>
      <level>SEVERE</level>
      <class>oracle.dbtools.migration.workbench.core.logging.MigrationLogUtil</class>
      <message>Ongeldig naampatroon.: PDM_MIGRATION .MIGR_FILTER</message>
      <param>oracle.dbtools.migration.convert.ConverterWorker.copyModel(ConverterWorker.java:1078)</param>
      <param>oracle.dbtools.migration.convert.ConverterWorker.runConvert(ConverterWorker.java:316)</param>
      <param>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doConvert(FullMigrateTask.java:1002)</param>
      <param>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doMaskBasedActions(FullMigrateTask.java:303)</param>
      <param>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doWork(FullMigrateTask.java:205)</param>
      <param>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doWork(FullMigrateTask.java:159)</param>
      <param>oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)</param>
      <param>java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)</param>
      <param>java.util.concurrent.FutureTask.run(FutureTask.java:138)</param>
      <param>oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:515)</param>
      <param>java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)</param>
      <param>java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)</param>
      <param>java.util.concurrent.FutureTask.run(FutureTask.java:138)</param>
      <param>java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)</param>
      <param>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)</param>
      <param>java.lang.Thread.run(Thread.java:662)</param>
      <param>oracle.dbtools.migration.workbench.core.logging.LogInfo@5dc1bc</param>
      <exception>
        <message>oracle.dbtools.migration.convert.ConvertException: Ongeldig naampatroon.: PDM_MIGRATION .MIGR_FILTER</message>
        <frame>
          <class>oracle.dbtools.migration.convert.ConverterWorker</class>
          <line>1078</line>
        </frame>
        <frame>
          <class>oracle.dbtools.migration.convert.ConverterWorker</class>
          <line>316</line>
        </frame>
        <frame>
          <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
          <line>1002</line>
        </frame>
        <frame>
          <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
          <line>303</line>
        </frame>
        <frame>
          <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
          <line>205</line>
        </frame>
        <frame>
          <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
          <line>159</line>
        </frame>
        <frame>
          <class>oracle.dbtools.raptor.backgroundTask.RaptorTask</class>
          <line>193</line>
        </frame>
        <frame>
          <class>java.util.concurrent.FutureTask$Sync</class>
          <line>303</line>
        </frame>
        <frame>
          <class>java.util.concurrent.FutureTask</class>
          <line>138</line>
        </frame>
        <frame>
          <class>oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask</class>
          <line>515</line>
        </frame>
        <frame>
          <class>java.util.concurrent.Executors$RunnableAdapter</class>
          <line>441</line>
        </frame>
        <frame>
          <class>java.util.concurrent.FutureTask$Sync</class>
          <line>303</line>
        </frame>
        <frame>
          <class>java.util.concurrent.FutureTask</class>
          <line>138</line>
        </frame>
        <frame>
          <class>java.util.concurrent.ThreadPoolExecutor$Worker</class>
          <line>886</line>
        </frame>
        <frame>
          <class>java.util.concurrent.ThreadPoolExecutor$Worker</class>
          <line>908</line>
        </frame>
        <frame>
          <class>java.lang.Thread</class>
          <line>662</line>
        </frame>
      </exception>
    </record>
    <record>
      <date>2013-08-14T16:23:32</date>
      <logger>oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle</logger>
      <level>WARNING</level>
      <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
      <message>Building converted model: FAILED : Database Migration : FAILED</message>
      <param>oracle.dbtools.migration.workbench.core.logging.LogInfo@15a3779</param>
    </record>
    Does anybody know what this error means and what steps we should take to continue the migration?
    I see the PDM_MIGRATION.MIGR_FILTER is a type.
    Many thanks in advance,
    Kris

    Hi Wolfgang,
    Thanks for your reply.
    This is how the type MIGR_FILTER looks like:
    create or replace
    TYPE MIGR_FILTER IS OBJECT (
      FILTER_TYPE INTEGER, -- Filter Types are 0-> ALL, 1->NAMELIST, 2->WHERE CLAUSE, 3->OBJECTID LIST
      OBJTYPE VARCHAR2(40),
      OBJECTIDS OBJECTIDLIST,
      NAMES NAMELIST,
      WHERECLAUSE VARCHAR2(1000));
    I think the repository user has the correct privileges.  This is the overview of privileges it has:
    SQL> select * from dba_sys_privs where GRANTEE in ('PDM_MIGRATION') order by GRANTEE;
    GRANTEE PRIVILEGE ADM
    PDM_MIGRATION ALTER SESSION NO
    PDM_MIGRATION CREATE CLUSTER NO
    PDM_MIGRATION CREATE DATABASE LINK NO
    PDM_MIGRATION CREATE PROCEDURE NO
    PDM_MIGRATION CREATE SEQUENCE NO
    PDM_MIGRATION CREATE SESSION NO
    PDM_MIGRATION CREATE SYNONYM NO
    PDM_MIGRATION CREATE TABLE NO
    PDM_MIGRATION CREATE TRIGGER NO
    PDM_MIGRATION CREATE VIEW NO
    PDM_MIGRATION UNLIMITED TABLESPACE NO
    SQL> select * from dba_role_privs where GRANTEE in ('PDM_MIGRATION') order by GRANTEE;
    GRANTEE GRANTED_ROLE ADM DEF
    PDM_MIGRATION CONNECT NO  YES
    PDM_MIGRATION RESOURCE NO  YES
    Best regards,
    Kris

  • Migration issue in SQL Developer (from SQL Server to Oracle)

    Dear All,
    I am using SQL Developer 3.0 to migrate data from SQL Server 2008 to Oracle 11gR2. I used Quick Migration Wizard for migrating and everything was Ok but when it was running migration process, I got this message: “Migration actions have failed. Check the migration reports for details. : null”
    But there was not any report to check. Does anyone know how I can do it without any problem?
    Thanks in advance.

    I am working on a project to migrate from SQL Server 2008 to Oracle 11gR2. It includes some tables, views, indexes, triggers and store procedures. At first I worked on SQL Developer 2.1.1.64 but it doesn’t support SQL Server 2008 (I had to use SQL Server 2005 in its offline options). I got a lot of error when I used the offline options. I know that I may be having some problem in table or view definition in my SQL Server but if I don’t have any log file I can’t solve them.
    Unfortunately, in SQL Developer 3.0 there isn’t any option to generate a SQL comments from objects (convert to Oracle) because I need to rewrite comments if they have problem. For example I have a filed named USER that it’s a reserved word in Oracle so I have to change this field name.
    I also can’t use “Translation Scratch Editor” because it has some error to convert. For example when I use it for the following code:
    CREATE TABLE [dbo].[Table1](
         [ID1] [int] IDENTITY(1,1) NOT NULL,
         [Name1] [varchar](50) NULL,
         CONSTRAINT [PK_Table1] PRIMARY KEY CLUSTERED
         [ID1] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    CREATE TABLE [dbo].[Table2](
         [ID2] [int] IDENTITY(1,1) NOT NULL,
    [Name1] [varchar](50) NULL,
         CONSTRAINT [PK_Table2] PRIMARY KEY CLUSTERED
         [ID2] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    I receive a wrong code like this:
    CREATE SEQUENCE Table1_ID1
    START WITH 1
    INCREMENT BY 1;
    CREATE TABLE Table1
    ID1 NUMBER(10,0) NOT NULL,
    Name1 VARCHAR2(50) ,
    CONSTRAINT PK_Table1 PRIMARY KEY( ID1 )
    CREATE OR REPLACE TRIGGER Table1_ID1_TRG
    BEFORE INSERT
    ON Table1
    FOR EACH ROW
    BEGIN
    SELECT Table1_ID1.NEXTVAL INTO :NEW.ID1
    FROM DUAL;
    END;
    CREATE SEQUENCE Table1_ID1
    START WITH 1
    INCREMENT BY 1;
    CREATE SEQUENCE Table2_ID2
    START WITH 1
    INCREMENT BY 1;
    CREATE TABLE Table2
    ID2 NUMBER(10,0) NOT NULL,
    Name1 VARCHAR2(50) ,
    CONSTRAINT PK_Table2 PRIMARY KEY( ID2 )
    CREATE OR REPLACE TRIGGER Table1_ID1_TRG
    BEFORE INSERT
    ON Table1
    FOR EACH ROW
    BEGIN
    SELECT Table1_ID1.NEXTVAL INTO :NEW.ID1
    FROM DUAL;
    ENDCREATE OR REPLACE TRIGGER Table2_ID2_TRG
    BEFORE INSERT
    ON Table2
    FOR EACH ROW
    BEGIN
    SELECT Table2_ID2.NEXTVAL INTO :NEW.ID2
    FROM DUAL;
    END;

Maybe you are looking for

  • Error 3259 while downloading Podcasts

    I had the dreaded error 3259 show up on two of my computers one running vista and windows 7. I am running the latest version of I-Tunes. I noticed that others were having the same trouble. I tried everything that was suggested to correct the problem,

  • Can SAP get material number in Purchase order in external processing?

    I have a question that: As I know, Exeternal processing is a service, so that Material number can not be shown in purchase order converted from PR for external processing. Here, PR can be automately generated from transaction CO01 to create an extern

  • Reports Background Engine - How To Automatically Close?

    I use Developer 6. When I run a Reports, using RUN_PRODUCT built-in from a menu, a REPORTS BACKGROUND ENGINE starts up automatically, and it opens a session with the server, and runs reports. Since it is in another session, I cannot use uncommitted r

  • Getting dump on selecting the businessrole SALESPRO(CRM WEBUI)

    Hi, I am getting dump as soon as I click on CRM Business role: SALESPRO in CRM WEBUI. The dump says: 'Define component usage "Tag_clouds". Could you please let me know, how to solve this issue? Thanks, Sandeep

  • Nokia 5800 Software Version V31.0.101 failed to up...

    Hi Nokia! I purchased your Nokia 5800 Xpress Music mobile phone and I am trying to update the software/driver to improve 1: Touch Screen scrolling, 2: version of OviMaps, 3: Ovi Contacts, 4: SW application, and 5:  WLAN performance. I called technica