I cannot Disable a constraint in SQL Developer

Here is my issue:
I have created a table already named practice1.
Using SQL Developer PL/SQL try to run a loop as following:
DECLARE
COUNTER1  NUMBER(2);
BEGIN
COUNTER1 := 30;
ALTER TABLE practice1
DISABLE  CONSTRAINT PRK1;
LOOP
COUNTER1 := 30;
INSERT INTO PRACTICE1
VALUES (COUNTER1, 'test7', 8, 9);
EXIT WHEN  COUNTER1 >26;
END LOOP;
END;
In other words I Insert the COUNTER1 variable value as Primary Key in the tables field1 column.
I run the script successfully without the ALTER TABLE DISABLE CONTSRAINT.. command.
Everytime I run it I had to increase the starting value of Variable COUNTER1 so it will not attempt to insert a duplicate pre-existed value in Primary Key.
Then I decided to insert the command ALTER TABLE DISABLE CONSTRAINT in order to not have to worry to change the starting value.
I am able to disable the constraint by using the same command in isolation . If I run it as part of the script as above I get the following error:
Error report:
ORA-06550: line 5, column 1:
PLS-00103: Encountered the symbol "ALTER" when expecting one of the following:
   ( begin case declare end exception exit for goto if loop mod
   null pragma raise return select update while with
   <an identifier> <a double-quoted delimited-identifier>
   <a bind variable> << continue close current delete fetch lock
   insert open rollback savepoint set sql execute commit forall
   merge pipe purge
06550. 00000 -  "line %s, column %s:\n%s"
*Cause:    Usually a PL/SQL compilation error.
*Action:
I would appreciate any suggestions.
Thank you.

Your question has NOTHING to do with sql developer.
Mark this question ANSWERED and repost it in the SQL and PL/SQL forum.
https://forums.oracle.com/community/developer/english/oracle_database/sql_and_pl_sql
The problem is that you CANNOT execute DDL directly in PL/SQL. You need to use dynamic SQL to execute DDL within PL/SQL.
EXECUTE IMMEDIATE 'ALTER TABLE . . .';
If you need more help use the correct forum as shown above.

Similar Messages

  • Cannot connect to apexlistener via SQL developer.

    I cannot connect via SQL developer to my installed apexlistener (2.0.1) installed on Glassfish (3.1.2) webserver.
    In the server.log from this domain i always see following error messages;
    [#|2013-04-24T10:49:25.199+0200|SEVERE|glassfish3.1.2|null|_ThreadID=453;_ThreadName=Thread-2;|No pool found for: http://servername:8080/apex/oauth2/token|#]
    [#|2013-04-24T10:49:25.199+0200|INFO|glassfish3.1.2|null|_ThreadID=453;_ThreadName=Thread-2;|No DB connection found for: /apex/oauth2/token|#]
    [#|2013-04-24T10:49:25.206+0200|SEVERE|glassfish3.1.2|null|_ThreadID=453;_ThreadName=Thread-2;|The pool named: apex_al does not exist|#]
    Help appreciated...
    Regards,
    Ton

    Turned debug on in defaults.xml;
    [#|2013-04-24T12:19:47.840+0200|SEVERE|glassfish3.1.2|null|_ThreadID=453;_ThreadName=Thread-2;|No pool found for: http://.......:8080/apex/oauth2/token|#]
    [#|2013-04-24T12:19:47.840+0200|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=453;_ThreadName=Thread-2;|Could not find any database pool to use for this request|#]
    [#|2013-04-24T12:19:47.841+0200|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=453;_ThreadName=Thread-2;|Applied database connection info|#]
    [#|2013-04-24T12:19:47.841+0200|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=453;_ThreadName=Thread-2;|Attempting to process with PL/SQL Gateway|#]
    [#|2013-04-24T12:19:47.842+0200|INFO|glassfish3.1.2|null|_ThreadID=453;_ThreadName=Thread-2;|No DB connection found for: /apex/oauth2/token|#]
    [#|2013-04-24T12:19:47.844+0200|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=453;_ThreadName=Thread-2;|Not processed as PL/SQL Gateway request|#]
    [#|2013-04-24T12:19:47.844+0200|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=453;_ThreadName=Thread-2;|Attempting to process as a RESTful Service|#]
    [#|2013-04-24T12:19:47.863+0200|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=453;_ThreadName=Thread-2;|Default Database connection does not exist|#]
    [#|2013-04-24T12:19:47.952+0200|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=453;_ThreadName=Thread-2;|Choosing: oracle.dbtools.rt.oauth.TokenHandler as current candidate with score: Score [handle=null, score=0, scope=SecurityConfig [constraint=secure, realm=OAUTH_CLIENT, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true]|#]
    [#|2013-04-24T12:19:47.954+0200|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=453;_ThreadName=Thread-2;|Determining if request can be dispatched as a Tenanted RESTful Service|#]
    [#|2013-04-24T12:19:47.954+0200|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=453;_ThreadName=Thread-2;|Request path has one path segment, continuing processing|#]
    [#|2013-04-24T12:19:47.955+0200|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=453;_ThreadName=Thread-2;|No JDBC Principal established, cannot dispatch|#]
    [#|2013-04-24T12:19:47.956+0200|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=453;_ThreadName=Thread-2;|Chose oracle.dbtools.rt.oauth.TokenHandler as the final candidate with score: Score [handle=null, score=0, scope=SecurityConfig [constraint=secure, realm=OAUTH_CLIENT, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true] for: POST oauth2/token|#]
    [#|2013-04-24T12:19:47.960+0200|SEVERE|glassfish3.1.2|null|_ThreadID=453;_ThreadName=Thread-2;|The pool named: apex_al does not exist|#]
    [#|2013-04-24T12:19:47.965+0200|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=453;_ThreadName=Thread-2;|oauth2/token authorized as: IsZv_-R511-vq79m880SQA..|#]
    [#|2013-04-24T12:19:47.965+0200|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=453;_ThreadName=Thread-2;|must be accessed over https only|#]

  • Cannot connect to Database in SQL Developer - TIMEZONE errors

    Cannot connect to any database get the following errors.
    Status : Failure -Test failed: ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region not found
    Tried change NLS settings to America (currently South Africa) but to no avail.
    My system info:
    About
    Oracle SQL Developer 3.2.20.09
    Version 3.2.20.09
    Build MAIN-09.87
    Copyright © 2005, 2012 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.4.37.59.48
    Product ID: oracle.sqldeveloper
    Product Version: 11.2.0.09.87
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.6.0_38
    Oracle IDE     3.2.20.09.87
    Versioning Support     3.2.20.09.87
    Running on Windows 7 with a 64-bit oracle client.

    I managed to find the solution in previous thread
    Please see my error message.

  • Cannot view the tables in SQL developer

    Hi everybody,
    I just installed SQL developer and connected to my oracle DB but I am not able to see the tables..I can execute though any SQL statements...
    I thought of installing Oracle Client but nothig changed... what could be the reason ???

    What do you get by running:
    with tabs as (
    select t.*, rownum rn -- not merge
    from sys.all_tables t
    where owner = :SCHEMA
    ), objs as (
    select o.*, rownum rn -- not merge
    from sys.all_objects o
    where owner = :SCHEMA
    AND O.OBJECT_TYPE = 'TABLE'
    AND O.GENERATED = 'N'
    AND O.OBJECT_NAME NOT IN (SELECT OBJECT_NAME FROM RECYCLEBIN)
    AND O.OBJECT_NAME NOT IN (SELECT MVIEW_NAME FROM SYS.ALL_MVIEWS WHERE :SCHEMA = OWNER)
         AND O.OBJECT_NAME NOT IN (SELECT QUEUE_TABLE from all_queue_tables WHERE :SCHEMA = OWNER)
         AND not ( object_name like 'AQ$_%_G'
    or object_name like 'AQ$_%_H'
    or object_name like 'AQ$_%_I'
    or object_name like 'AQ$_%_S'
    or object_name like 'AQ$_%_T' )
    AND ( user = :SCHEMA or not object_name like 'BIN$%' ) -- user != :SCHEMA --> object_name not like 'BIN$%'
    -- RECYCLEBIN is USER_RECYCLEBIN!
    ) select * from (
    SELECT o.OBJECT_NAME, o.OBJECT_ID ,'' short_name, t.partitioned,t.iot_type, o.OWNER OBJECT_OWNER, o.CREATED, o.LAST_DDL_TIME
    FROM OBJS O , tabs t
    WHERE o.object_name = t.table_name
    union all
    SELECT OBJECT_NAME, OBJECT_ID , syn.SYNONYM_NAME short_NAME,
    t.partitioned,t.iot_type, SYN.TABLE_OWNER OBJECT_OWNER, o.CREATED, o.LAST_DDL_TIME
    FROM sys.all_objects O, sys.user_synonyms syn,sys.all_tables t
    WHERE syn.table_owner = o.owner
    and syn.TABLE_NAME = o.object_NAME
    and o.object_name = t.table_name
    and :INCLUDE_SYNS = 1
    and :SCHEMA = USER
    This is the underlying query in the latest version 1.5.4 with update 2. So if that works, just install that version. If not, use it to investigate where it fails.
    Regards,
    K.

  • Cannot connect to database using SQL Developer

    Ok. Here are the facts:
    1) I can connect to the database using PL/SQL Developer.
    2) I wanted to try SQL Developer and I am unable to connect to the same database with SQL Developer. I provide username and password and select "network alias" and click test and I get "Network adaptor could not be established"
    3) TNS names.ora file resides on a mapped drive which clearly is accessible by PL/SQL developer but not by SQL developer.
    What am i missing?
    Thanks a lot

    If you can select a network alias, then sqldeveloper has found your tnsnames and the problem lies elsewhere.
    Is the network drive specified by a UNC? SQLDeveloper doesn't work well with unc names.

  • Disable "Save Password" in SQL Developer 1.5.5

    I understand from reading other threads that you can disabled the "save password" feature. This is a security feature that I must disable in our environment.
    The details of the previous threads were as follows:
    Edit the sqldeveloper/bin/sqldeveloper.conf and add this:
    AddVMOption -Dsqldev.savepasswd=false
    I have tried this but it does not work.
    Any ideas?

    Yes the users must comply but the feature is there within the product and does not work. It is a security rule that governs the use of passwords to ensure the password is not saved within the configuration.
    Yes a "switch" can be undone but not if the user is unable to modify the configuration file or location of the installation files due to Group Policy thus negating this point.
    Yes other applications are available, but no one in our oganisation can install non-standard applications anyway therefore negating this point too.
    Summarized - This feature I believe was available in much earlier product releases and did in fact work.
    I am still allowing our user base to run the application but need to obtain security level clearance to allow a delay in the application deployment that actually allows the functionality to work as designed.

  • SQL Developer High Memory Consumption 3.2.20.09.87

    Hello,
    I have been using SQL developer for quite some time and had initially had problems in the past with high memory consuption when I use this tool.
    I have received and applied advice from this forum and while it had helped a little, the majority of the high memory consuption remained an issue.
    I finally got more time to dig around and try to specifically isolate where the problem seems to be coming from and here is what I found.
    *1)* I have removed the Check for Updates feature
    *2)* I have turned off many of the extensions except for DBA Navigator, Real Time SQL Monitoring, SearchBar and Snippet.
    *3)* When I start a fresh SQL Developer Session and initiate a Oracle Connection the application consumes roughly 148 meg fo RAM
    *4)* When I open my Windows Task Manager and watch the memory allocated to SQL Developer I notice it goes up when I move my mouse over the SQL Developer tool and When I run through menus at roughly 5k a second or so and the memory is never released back to the system.
    *5)* When I run a Large SQL to the grid the memory jumps by about 100 meg or so and will continue to do so every time I repeat the SQL until SQL Developer consumes roughly 748 meg of RAM.
    *6)* 748 Meg of RAM seems to be the number when SQL Developer (with one Oracle connection) no longer continues to consume more and then not return the memory to the system.
    Is there a way to have SQL Developer automatically clear up it's active memory usage without closing it down and restarting it?
    Why does SQL Developer continue to consume more and more memory just from moving your mouse over it and/or by navigating menus?
    Here is my About Detail;
    Oracle SQL Developer 3.2.20.09
    Version 3.2.20.09
    Build MAIN-09.87
    Copyright © 2005, 2012 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.4.37.59.48
    Product ID: oracle.sqldeveloper
    Product Version: 11.2.0.09.87
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.6.0_35
    Oracle IDE     3.2.20.09.87
    Properties
    Name     Value
    ====     =====
    awt.toolkit     sun.awt.windows.WToolkit
    class.load.environment     oracle.ide.boot.IdeClassLoadEnvironment
    class.load.log.level     CONFIG
    class.transfer     delegate
    file.encoding     Cp1252
    file.encoding.pkg     sun.io
    file.separator     \
    ice.browser.forcegc     false
    ice.pilots.html4.ignoreNonGenericFonts     true
    ice.pilots.html4.tileOptThreshold     0
    ide.AssertTracingDisabled     true
    ide.bootstrap.start     109707460930968
    ide.build     MAIN-09.87
    ide.conf     C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.config_pathname     C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.debugbuild     false
    ide.devbuild     false
    ide.extension.search.path     sqldeveloper/extensions:jdev/extensions:ide/extensions
    ide.firstrun     true
    ide.java.minversion     1.6.0_04
    ide.launcherProcessId     3276
    ide.main.class     oracle.ide.boot.IdeLauncher
    ide.patches.dir     ide/lib/patches
    ide.pref.dir     C:\Users\twilliams\AppData\Roaming\SQL Developer
    ide.pref.dir.base     C:\Users\twilliams\AppData\Roaming
    ide.product     oracle.sqldeveloper
    ide.shell.enableFileTypeAssociation     C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin\sqldeveloperW.exe
    ide.splash.screen     splash.gif
    ide.startingArg0     C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin\sqldeveloperW.exe
    ide.startingcwd     C:\app\twilliams\product\11.2.0\client_3\SQLDEVELOPER\SQLDEVELOPER\BIN
    ide.user.dir     C:\Users\twilliams\AppData\Roaming\SQL Developer
    ide.user.dir.var     IDE_USER_DIR
    ide.work.dir     C:\Users\twilliams\Documents\SQL Developer
    ide.work.dir.base     C:\Users\twilliams\Documents
    ilog.propagatesPropertyEditors     false
    java.awt.graphicsenv     sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob     sun.awt.windows.WPrinterJob
    java.class.path     ..\..\ide\lib\ide-boot.jar
    java.class.version     50.0
    java.endorsed.dirs     C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\endorsed
    java.ext.dirs     C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
    java.home     C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre
    java.io.tmpdir     c:\Temp\
    java.library.path     C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\app\twilliams\product\11.2.0\client_3\bin;C:\app\twilliams\product\11.2.0\client_3;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Lenovo\Access Connections\;C:\Program Files\WinMerge;C:\Program Files\ThinkPad\Bluetooth Software\;.
    java.naming.factory.initial     oracle.javatools.jndi.LocalInitialContextFactory
    java.protocol.handler.pkgs     oracle.jdevimpl.handler
    java.runtime.name     Java(TM) SE Runtime Environment
    java.runtime.version     1.6.0_35-b10
    java.specification.name     Java Platform API Specification
    java.specification.vendor     Sun Microsystems Inc.
    java.specification.version     1.6
    java.util.logging.config.file     logging.conf
    java.vendor     Sun Microsystems Inc.
    java.vendor.url     http://java.sun.com/
    java.vendor.url.bug     http://java.sun.com/cgi-bin/bugreport.cgi
    java.version     1.6.0_35
    java.vm.info     mixed mode
    java.vm.name     Java HotSpot(TM) Client VM
    java.vm.specification.name     Java Virtual Machine Specification
    java.vm.specification.vendor     Sun Microsystems Inc.
    java.vm.specification.version     1.0
    java.vm.vendor     Sun Microsystems Inc.
    java.vm.version     20.10-b01
    jdbc.driver.home     /C:/app/twilliams/product/11.2.0/client_3/
    jdbc.library     /C:/app/twilliams/product/11.2.0/client_3/jdbc/lib/ojdbc6.jar
    line.separator     \r\n
    oracle.home     C:\app\twilliams\product\11.2.0\client_3\sqldeveloper
    oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG     true
    oracle.jdbc.mapDateToTimestamp     false
    oracle.translated.locales     de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
    oracle.xdkjava.compatibility.version     9.0.4
    orai18n.library     /C:/app/twilliams/product/11.2.0/client_3/jlib/orai18n.jar
    os.arch     x86
    os.name     Windows 7
    os.version     6.1
    path.separator     ;
    reserved_filenames     con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
    sqldev.debug     false
    sun.arch.data.model     32
    sun.boot.class.path     C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\resources.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\rt.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\sunrsasign.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\jsse.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\jce.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\charsets.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\modules\jdk.boot.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\classes
    sun.boot.library.path     C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\bin
    sun.cpu.endian     little
    sun.cpu.isalist     pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
    sun.desktop     windows
    sun.io.unicode.encoding     UnicodeLittle
    sun.java2d.ddoffscreen     false
    sun.jnu.encoding     Cp1252
    sun.management.compiler     HotSpot Client Compiler
    sun.os.patch.level     Service Pack 1
    user.country     US
    user.dir     C:\app\twilliams\product\11.2.0\client_3\SQLDEVELOPER\SQLDEVELOPER\BIN
    user.home     C:\Users\twilliams
    user.language     en
    user.name     twilliams
    user.timezone     America/Los_Angeles
    user.variant     
    windows.shell.font.languages     
    Extensions
    Name     Identifier     Version     Status
    ====     ==========     =======     ======
    Check For Updates     oracle.ide.webupdate     11.1.1.4.37.59.48     Loaded
    Code Editor     oracle.ide.ceditor     11.1.1.4.37.59.48     Loaded
    Component Palette     oracle.ide.palette1     11.1.1.4.37.59.48     Loaded
    Data Miner     oracle.dmt.dataminer     11.2.1.1.09.87     Disabled by user
    Database Connection Support     oracle.jdeveloper.db.connection     11.1.1.4.37.59.48     Loaded
    Database Object Explorers     oracle.ide.db.explorer     11.1.1.4.37.59.48     Loaded
    Database UI     oracle.ide.db     11.1.1.4.37.59.48     Loaded
    Diagram Framework     oracle.diagram     11.1.1.4.37.59.48     Loaded
    Diagram Javadoc Extension     oracle.diagram.javadoc     11.1.1.4.37.59.48     Loaded
    Diagram Thumbnail     oracle.diagram.thumbnail     11.1.1.4.37.59.48     Loaded
    Diff/Merge     oracle.ide.diffmerge     11.1.1.4.37.59.48     Loaded
    Extended IDE Platform     oracle.javacore     11.1.1.4.37.59.48     Loaded
    External Tools     oracle.ide.externaltools     11.1.1.4.37.59.48     Loaded
    File Support     oracle.ide.files     11.1.1.4.37.59.48     Loaded
    Help System     oracle.ide.help     11.1.1.4.37.59.48     Loaded
    History Support     oracle.jdeveloper.history     11.1.1.4.37.59.48     Loaded
    Import/Export Support     oracle.ide.importexport     11.1.1.4.37.59.48     Loaded
    Index Migrator support     oracle.ideimpl.indexing-migrator     11.1.1.4.37.59.48     Loaded
    JDeveloper Runner     oracle.jdeveloper.runner     11.1.1.4.37.59.48     Loaded
    JViews Registration Addin     oracle.diagram.registration     11.1.1.4.37.59.48     Loaded
    Log Window     oracle.ide.log     11.1.1.4.37.59.48     Loaded
    Mac OS X Adapter     oracle.ideimpl.apple     11.1.1.4.37.59.48     Loaded
    Navigator     oracle.ide.navigator     11.1.1.4.37.59.48     Loaded
    Object Gallery     oracle.ide.gallery     11.1.1.4.37.59.48     Loaded
    Oracle IDE     oracle.ide     11.1.1.4.37.59.48     Loaded
    Oracle SQL Developer     oracle.sqldeveloper     11.2.0.09.87     Loaded
    Oracle SQL Developer - 3rd Party Database Browsers     oracle.sqldeveloper.thirdparty.browsers     11.2.0.09.87     Loaded
    Oracle SQL Developer - APEX Listener Administration     oracle.sqldeveloper.listener     11.2.0.09.87     Loaded
    Oracle SQL Developer - Change Mangement     oracle.sqldeveloper.em_cm     11.2.0.09.87     Loaded
    Oracle SQL Developer - DBA Navigator     oracle.sqldeveloper.dbanavigator     11.2.0.09.87     Loaded
    Oracle SQL Developer - Database Cart     oracle.sqldeveloper.dbcart     11.2.0.09.87     Loaded
    Oracle SQL Developer - Extras     oracle.sqldeveloper.extras     11.2.0.09.87     Loaded
    Oracle SQL Developer - File Navigator     oracle.sqldeveloper.filenavigator     11.2.0.09.87     Loaded
    Oracle SQL Developer - Migrations Antlr3 Translator     oracle.sqldeveloper.migration.translation.core_antlr3     11.2.0.09.87     Missing dependencies: oracle.sqldeveloper.migration
    Oracle SQL Developer - Migrations Application Migration     oracle.sqldeveloper.migration.application     11.2.0.09.87     Disabled by user
    Oracle SQL Developer - Migrations Core     oracle.sqldeveloper.migration     11.2.0.09.87     Disabled by user
    Oracle SQL Developer - Migrations DB2     oracle.sqldeveloper.migration.db2     11.2.0.09.87     Disabled by user
    Oracle SQL Developer - Migrations DB2 Translator     oracle.sqldeveloper.migration.translation.db2     11.2.0.09.87     Missing dependencies: oracle.sqldeveloper.migration, oracle.sqldeveloper.migration.translation.core_antlr3
    Oracle SQL Developer - Migrations Microsoft Access     oracle.sqldeveloper.migration.msaccess     11.2.0.09.87     Disabled by user
    Oracle SQL Developer - Migrations Microsoft SQL Server     oracle.sqldeveloper.migration.sqlserver     11.2.0.09.87     Disabled by user
    Oracle SQL Developer - Migrations MySQL     oracle.sqldeveloper.migration.mysql     11.2.0.09.87     Disabled by user
    Oracle SQL Developer - Migrations Sybase Adaptive Server     oracle.sqldeveloper.migration.sybase     11.2.0.09.87     Disabled by user
    Oracle SQL Developer - Migrations T-SQL Translator     oracle.sqldeveloper.migration.translation.core     11.2.0.09.87     Missing dependencies: oracle.sqldeveloper.migration
    Oracle SQL Developer - Migrations Teradata     oracle.sqldeveloper.migration.teradata     11.2.0.09.87     Disabled by user
    Oracle SQL Developer - Migrations Teradata SQL Translator     oracle.sqldeveloper.migration.translation.teradata_translator     11.2.0.09.87     Missing dependencies: oracle.sqldeveloper.migration, oracle.sqldeveloper.migration.translation.core
    Oracle SQL Developer - Migrations Translation UI     oracle.sqldeveloper.migration.translation.gui     11.2.0.09.87     Disabled by user
    Oracle SQL Developer - Object Viewer     oracle.sqldeveloper.oviewer     11.2.0.09.87     Loaded
    Oracle SQL Developer - Real Time SQL Monitoring     oracle.sqldeveloper.sqlmonitor     11.2.0.09.87     Loaded
    Oracle SQL Developer - Reports     oracle.sqldeveloper.report     11.2.0.09.87     Loaded
    Oracle SQL Developer - Scheduler     oracle.sqldeveloper.scheduler     11.2.0.09.87     Disabled by user
    Oracle SQL Developer - Schema Browser     oracle.sqldeveloper.schemabrowser     11.2.0.09.87     Loaded
    Oracle SQL Developer - SearchBar     oracle.sqldeveloper.searchbar     11.2.0.09.87     Loaded
    Oracle SQL Developer - Security     oracle.sqldeveloper.security     11.2.0.09.87     Disabled by user
    Oracle SQL Developer - Snippet     oracle.sqldeveloper.snippet     11.2.0.09.87     Loaded
    Oracle SQL Developer - Spatial     oracle.sqldeveloper.spatial     11.2.0.09.87     Disabled by user
    Oracle SQL Developer - TimesTen     oracle.sqldeveloper.timesten     11.2.0.09.87     Disabled by user
    Oracle SQL Developer - Tuning     oracle.sqldeveloper.tuning     11.2.0.09.87     Loaded
    Oracle SQL Developer - Unit Test     oracle.sqldeveloper.unit_test     11.2.0.09.87     Disabled by user
    Oracle SQL Developer - User Extensions Support     oracle.sqldeveloper.userextensions     11.2.0.09.87     Loaded
    Oracle SQL Developer - Worksheet v2     oracle.sqldeveloper.worksheet     11.2.0.09.87     Loaded
    Oracle SQL Developer - XML Schema     oracle.sqldeveloper.xmlschema     11.2.0.09.87     Loaded
    Oracle SQL Developer Data Modeler     oracle.datamodeler     3.1.4.710     Disabled by user
    Oracle SQL Developer Data Modeler - Reports     oracle.sqldeveloper.datamodeler_reports     11.2.0.09.87     Disabled by user
    PROBE Debugger     oracle.jdeveloper.db.debug.probe     11.1.1.4.37.59.48     Loaded
    Peek     oracle.ide.peek     11.1.1.4.37.59.48     Loaded
    Persistent Storage     oracle.ide.persistence     11.1.1.4.37.59.48     Loaded
    Property Inspector     oracle.ide.inspector     11.1.1.4.37.59.48     Loaded
    QuickDiff     oracle.ide.quickdiff     11.1.1.4.37.59.48     Loaded
    Replace With     oracle.ide.replace     11.1.1.4.37.59.48     Loaded
    Runner     oracle.ide.runner     11.1.1.4.37.59.48     Loaded
    VHV     oracle.ide.vhv     11.1.1.4.37.59.48     Loaded
    Versioning Support     oracle.jdeveloper.vcs     11.1.1.4.37.59.48     Disabled by user
    Versioning Support for Subversion     oracle.jdeveloper.subversion     11.1.1.4.37.59.48     Missing dependencies: oracle.jdeveloper.vcs
    Virtual File System     oracle.ide.vfs     11.1.1.4.37.59.48     Loaded
    Web Browser and Proxy     oracle.ide.webbrowser     11.1.1.4.37.59.48     Loaded
    XML Editing Framework IDE Extension     oracle.ide.xmlef     11.1.1.4.37.59.48     Loaded
    audit     oracle.ide.audit     11.1.1.4.37.59.48     Loaded
    classpath: protocol handler extension     oracle.jdeveloper.classpath     11.1.1.0.0     Loaded
    jdukshare     oracle.bm.jdukshare     11.1.1.4.37.59.48     Loaded
    mof-xmi     oracle.mof.xmi     11.1.1.4.37.59.48     Loaded
    oracle.ide.dependency     oracle.ide.dependency     11.1.1.4.37.59.48     Loaded
    oracle.ide.indexing     oracle.ide.indexing     11.1.1.4.37.59.48     Loaded
    palette2     oracle.ide.palette2     11.1.1.4.37.59.48     Loaded
    status     oracle.ide.status     11.1.1.4.37.59.48     Loaded
    Thanks in advance...
    Tom
    Edited by: ERPDude on Feb 28, 2013 2:46 PM

    Aces!!! You nailed it Gary...
    Thank you.
    I applied fixed noted in Re: Reduce SQLDeveloper memory footprint with JDK 1.7
    For others, to summarize my changes.
    product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    AddVMOption -XX:+UnlockExperimentalVMOptions
    AddVMOption -XX:+UseG1GC
    AddVMOption -XX:MaxGCPauseMillis=50
    AddVMOption -XX:GCPauseIntervalMillis=200
    AddVMOption -XX:MaxPermSize=128M
    AddVMOption -Xms50M
    AddVMOption -Xmx384M
    AddVMOption -XX:MinHeapFreeRatio=10
    AddVMOption -XX:MaxHeapFreeRatio=10
    product\11.2.0\client_3\sqldeveloper\ide\bin\ide.conf
    comment the following two lines as shown below
    #AddVMOption -Xmx640M
    #AddVMOption -Xms128M
    Now SQL Developer runs at roughly 500 meg.
    I guess the only thing I have left to ask others reviewing this would be if there is a way to get these memory values down without having much adverse impacts on SQL Developer based on newer JVM switches/functionalities.
    The posts that drove these changes are old from a technologoical perspective :) 2010.
    Tom

  • Double quote encapsulated identifiers in sql developer 1.5.1

    hello,
    i migrated a mysql database to oracle using the sql developer 1.5.1 on linux. unfortunately i'm using some reserved words in my table name / columns. how is it possible to generate an import script that uses double quote encapsulated identifiers? in the migration workbench, there is an option named "Create ANSI-compilant names" which should do what i need, but i cannot find this option in sql developer.
    thank you for your help. regards,
    sebastian

    I'm not sure what your question is; Did you migrate successfully? How do you generate an import script? What is failing? Can you provide an example?
    K.

  • SQL Developer consumes a lot of memory

    Sql developer consumes a lot of RAM (around 100 MB) few minutes after start of application . any tips to reduce this?

    This is usually due to the caching of database objects on support of code insight and is dependent on the number of objects in the database. As documented in the readme.txt in the sqldeveloper home directory, you can disable code insight.
    2.1  To disable Code Insight
    Run SQL Developer from a command line using the following statement:
       Windows : sqldeveloper -J-Dsdev.insight=false
       Linux or Mac: Run sh sqldeveloper -J-Dsdev.insight=false
    or edit sqldeveloper.conf and add "AddVMOption -J-Dsdev.insight=false"

  • SQL/Developer & Resource Usage.

    A quick comparison with Toad on XP.
    Both software connected to same database running a blank sql window.
    Toad = 30MB
    SQL/Developer =60MB
    Usage of SQL/Developer see memory usage rocket to 180MB.
    Shutdown of SQL/Developer closes down the process but the PC still runs slow and requires a reboot.
    Nice product but what's the deal guys ?

    It's the insight stuff.
    You shold turn off sql insight as documented here: http://www.oracle.com/technology/products/database/project_raptor/ea6_relnotes.html.
    <snip>
    We now have a command line way to turn off code insight. This is very useful for users who access larger databases. To disable Code insight, startup SQL Developer from the command line using:
    On Windows: sqldeveloper -J-Dsdev.insight=false
    On Linux or Mac: Run sh sqldeveloper -J-Dsdev.insight=false
    or edit sqldeveloper.conf and add "AddVMOption -J-Dsdev.insight=false".
    </snip>
    -kris

  • MySQL -- Cannot disable AUTO_COMMIT

    Hi
    I have problem with mySQL, the following is the exceptions thrown. I'm using
    mySQL v3.23.47
    Can anyone tell me what's wrong?
    Thanks!
    Exception in thread "main" javax.jdo.JDOException: Cannot disable
    AUTO_COMMIT
    NestedThrowables:
    java.sql.SQLException: Cannot disable AUTO_COMMIT
    at
    com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newObjectId(J
    DBCStoreManager.java:385)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistentFil
    ter(PersistenceManagerImpl.java:670)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistent(Pe
    rsistenceManagerImpl.java:651)

    Hi Patrick,
    Here is the output of the exception, it throws when I call
    makePersistent(Object).
    java.sql.SQLException: Cannot disable AUTO_COMMIT
    at org.gjt.mm.mysql.Connection.setAutoCommit(Connection.java:396)
    at
    com.solarmetric.kodo.impl.jdbc.datasource.ConnectionImpl.setAutoCommi
    t(ConnectionImpl.java:157)
    at
    com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.updateSequenc
    e(DBSequenceFactory.java:231)
    at
    com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.getNext(DBSeq
    uenceFactory.java:99)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newObjectId(J
    DBCStoreManager.java:381)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistentFil
    ter(PersistenceManagerImpl.java:670)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistent(Pe
    rsistenceManagerImpl.java:651)
    "Patrick Linskey" <[email protected]> wrote in message
    news:[email protected]..
    Hey,
    Could you please post the full stack trace of the nested SQLException?
    To do this, put code something like this around wherever the exception
    is caught:
    try
    catch (JDOException jdoe)
    Throwable[] ts = jdoe.getNestedExceptions ();
    for (int i = 0; ts != null && i < ts.length; i++)
    ts.printStackTrace ();
    Thanks,
    Patrick
    Patrick Linskey [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Sql developer 3.0.02 create unit_test_repos cannot log in

    I create a user like the way of "Performing a Unit Test of Your PL/SQL in Oracle SQL Developer 2.1" (http://st-curriculum.oracle.com/obe/db/11g/r2/prod/appdev/sqldev/sqldev_unit_test/sqldev_unit_test_otn.htm), but cannot log in, when test it says"Ora-01017 invalid username/password;log defined".
    but I use the same way in Sql developer 2.1, the connection was created successfully.
    I create the user use 3.0.02 again, and connect use 2.1 it still this error:"Ora-01017 invalid username/password;log defined";
    I create the user use 2.1 again, and connect use 2.1 or 3.0.02, it's OK.
    Edited by: user10064474 on 2010-11-29 下午10:33

    Hello Jiri!
    this is because of SQL Developer does not support "order by" over external tables.
    In general it is not disabled in SQL developer to use it for external tables but due to unknown reason execution of select including "order by" clause over external table generates ORA-00600 error.
    SQL Developer is saving all used "order by", "filter" settings (and many others) to special cache (user specific XML file) and this setting is used next time you open specific object - table.
    It means when you apply "sorting" on external table
    - oracle generates ORA-00600
    - used "order by" is stored by SQL Developer into cahce XML file
    - ...and you cannot open this table from your SQL developer anymore
    How to correct it:
    - go to SQL developer cache folder (something like C:\Documents and Settings\[username]\Application Data\SQL Developer)
    - try to find file "*GridSettings.xml" which contains this bad cache information
    there are usually tons of GridSettings.xml files
    -1134293461GridSettings.xml
    -1134293492GridSettings.xml
    -1134293523GridSettings.xml
    you have to find file which contains your specific extenal table name like...
    <uniqueName>SELECT * FROM "SCHEMANAME"."EXTERNAL_TABLE"</uniqueName>
    - find "sortClauses" tag
    <sortClauses>
    <Item class="java.lang.String">3 asc</Item>
    <Item/>
    </sortClauses>
    - you can now edit/correct content of this file/tag or just delete it completely
    - or you can easily delete complete cache folder - BUT in this case all specific user setting can be deleted!!!
    - then your table is accessible again :-)
    Regards
    Radim

  • Cannot disable constraint error

    Hi - this might be a bit of a noob question but here goes. I have a table with a constraint (called FK_Category_Product) that I want to disable. When I run this statement the constraint is returned in the results:
    SELECT owner,constraint_name, constraint_type, table_name, status
    FROM user_constraints
    WHERE constraint_type = 'R'However when I run this statement:
    alter table T_PRODUCT disable constraint FK_Category_ProductI get this error:
    SQL Error: ORA-02431: cannot disable constraint (FK_CATEGORY_PRODUCT) - no such constraintAnyone got any ideas?
    Edited by: user9507427 on Mar 17, 2013 5:08 PM

    Ok thanks - I'm guessing it's something to do with the schema / owner. Here's my version ( running on Windows Server 2008 R2):
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit ProductionWhen I run this query:
    SELECT owner,constraint_name, constraint_type, table_name, status
    FROM user_constraints
    WHERE table_name='T_PRODUCT'I get these results:
    OWNER                          CONSTRAINT_NAME                CONSTRAINT_TYPE TABLE_NAME                     STATUS
    PRODOWNER                       FK_Product_SourceSpecies       R               T_PRODUCT                      ENABLED 
    PRODOWNER                       FK_Product_CreatePerson        R               T_PRODUCT                      ENABLED 
    PRODOWNER                       FK_Product_ModifyPerson        R               T_PRODUCT                      ENABLED 
    PRODOWNER                       FK_Product_ExpressionSystem    R               T_PRODUCT                      ENABLED 
    PRODOWNER                       FK_Product_Localisation        R               T_PRODUCT                      ENABLED 
    PRODOWNER                       FK_Batch_Products              R               T_PRODUCT                      ENABLED 
    PRODOWNER                       SYS_C00908459                  C               T_PRODUCT                      ENABLED 
    PRODOWNER                       SYS_C00908460                  C               T_PRODUCT                      ENABLED 
    PRODOWNER                       SYS_C00908461                  C               T_PRODUCT                      ENABLED 
    PRODOWNER                       SYS_C00908462                  C               T_PRODUCT                      ENABLED 
    PRODOWNER                       SYS_C00908463                  C               T_PRODUCT                      ENABLED 
    PRODOWNER                       SYS_C00908464                  C               T_PRODUCT                      ENABLED 
    PRODOWNER                       SYS_C00908465                  P               T_PRODUCT                      ENABLED  Then when I run this statement (as PRODOWNER):
    alter table T_PRODUCT disable constraint FK_Product_SourceSpeciesI get this result:
    Error starting at line 3 in command:
    alter table T_PRODUCT disable constraint FK_Product_SourceSpecies
    Error report:
    SQL Error: ORA-02431: cannot disable constraint (FK_PRODUCT_SOURCESPECIES) - no such constraint
    02431. 00000 -  "cannot disable constraint (%s) - no such constraint"
    *Cause:    the named constraint does not exist for this table.
    *Action:   ObviousI tried the above with and without single quotes around the constraint name, same result but slightly different error message with single quotes

  • Cannot see table in sql developer or sql plus

    I have created a record in application designer. I have then built the table. I can close the record and then find it again in application designer. But if I go to sql plus or sql developer, I cannot see it. Am I missing a step?

    You probably can see all the tables of sysadm because someone else give you proper grant for that on existing sysadm's objects.
    For the new or modified object (drop+create) you should :
    1. connect as sysadm and run
    grant select on new_table_name to your_own_user;2. connect with your own user and run
    create synonym new_table_name for sysadm.new_table_name;Then you'll be able to query that table without using schema name alias.
    Some admin have also a ddl trigger to make it automatically.
    You could also work through a role and public synonym if more than one user needs to access sysadm's objects.
    Nicolas.

  • How to disable check for updates in sql developer 3.2

    Is there a possibility to disable or remove the "Check for Updates" option in SQL Developer 3.2.2 version.
    I have tried using the below AddVmMOption but it is not working
    AddVMOption -Dide.noextensions=oracle.ide.webupdate
    AddVMOption -Dide.cfu.autoskip=true

    Hi,
    If you are referring to Help -> Check for Updates, I'm not certain if that is possible.
    If you mean Tools -> Preferences -> Extensions, just uncheck the Automatically Check for Updates box. Doing that is standard procedure for improving the tool's launch performance.
    Regards,
    Gary

Maybe you are looking for

  • I am locked out of my macbook and can't remember the password.  Now what??

    The password hint is listed  - I've tried many combinations of possibilities but still no luck. 

  • Lightroom 4.3 Update and Camera Profiles.

    Hello there! First let me start by mentioning that im running Lightroom on a Mac OS X (10.8.2). I was running v4.2 for a while until the v4.3 update came out about a week and a half ago. I updated to v4.3 and everything was working fine until I notic

  • Top-of-page in ALV  AND table

    hy folks, i read many topics about the top of page in alv but none answered to my problem, i have an alv_grid with top of page, but i need to put before the alv grid another table. is it possible to use CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'    

  • Results Analysis Categories

    I am trying to understand how Results Analysis works on WBS. Is there any information on this. Some issues we have is 1.CLRV is not equal to VLRV for standard SAP. In our scenario we want to maintain constant margin by accruing cost as a planned perc

  • Clear my mac

    Hi there! Could you advice me some app to clear my mac? thanks a lot