SQl Developer 3.0.04  Revoke doesn't generate any DDL. Bug?

Hi everyone,
trying Revoke while rightclicking on , e.g. a stored function doesn't generate any DDL. Specifically, opening "Perform Revoke Action", selecting the Properties tab and applying the desired action doesn't do anything. Interestingly enoguh, selecting the "SQL" tab shows no generated DDL no matter what properties were set. It looks to me as another bug. Any thoughts.
Cheers,
Bob

Hi Bob,
The SQL tab will remain empty until the privileges to be revoked have been selected. In the properties tab of the revoke dialog, the drop down list for "Users" contains a list of those users for which privileges on the object have been granted. (If this list is empty then you will need to do some grants first!) Select a user. You should now see some privilege names in the right hand side of the shuttle. Shuttle one or more of these to the left pane. You should now see generated SQL in the SQL tab.
Please let me know if this doesn't resolve the problem for you.
Best regards,
Philip Richens
SQLDev Development Team

Similar Messages

  • SQL Developer 4: obfuscate plsql code doesn't work any longer

    Hi
    after saving the un-obfuscated source, I got the error "output == null" - and nothing gets obfuscated.
    Regards
    Joachim

    This is know issue, and it is fixed. For 4.0.0.13.80 build, it is working fine for my side. Could you please tell me which build do you try?
    - SQL Developer QA team

  • SQL Developer 3.2.20.09 - Database Export generating an unusable file

    I am using the Database Export option in the tools menu to create a script to create schema objects. Unfortunately, the output of the script is not very usable. There seem to be extra '/' throughout the script. Here is a sample:
    -- DDL for Sequence ADDL_INFO_GROUP_SEQ
    CREATE SEQUENCE "ADDL_INFO_GROUP_SEQ" MINVALUE 1 MAXVALUE 2147483647 INCREMENT BY 1 START WITH 1 CACHE 1000 NOORDER CYCLE ;
    -- DDL for Sequence ADDL_INFO_NAME_LANG_SEQ
    CREATE SEQUENCE "ADDL_INFO_NAME_LANG_SEQ" MINVALUE 1 MAXVALUE 2147483647 INCREMENT BY 1 START WITH 1 CACHE 1000 NOORDER CYCLE ;
    -- DDL for Sequence ADDL_INFO_VALUE_SEQ
    CREATE SEQUENCE "ADDL_INFO_VALUE_SEQ" MINVALUE 1 MAXVALUE 2147483647 INCREMENT BY 1 START WITH 1 CACHE 1000 NOORDER CYCLE ;
    -- DDL for Sequence ATTACHMENT_GROUP_SEQ
    CREATE SEQUENCE "ATTACHMENT_GROUP_SEQ" MINVALUE 1 MAXVALUE 2147483647 INCREMENT BY 1 START WITH 1 CACHE 1000 NOORDER CYCLE ;
    Obviously, having both the ';' at the end of the statement and the '/' on the following line will cause an error when the script is executed.
    Has anyone else seen this kind of behavior?

    In SQLPlus, this script will attempt to create everything twice, resulting in
    ORA-00955: name is already used by an existing objectfor each line.
    If SQL Developer doesn't do this then its SQLPlus compatability is broken.
    This is messy and undesirable for DDL statements, but will definitely result in the wrong behaviour if there are insert statements.

  • SQL Developer 1.5.1 won't display UI any longer...

    Howdy, y'all; I'm using SQL Developer 1.5.1 on a laptop with Windows XP Pro SP3, fully patched, and 2 GB of memory. I try to run the system efficiently with as few processes and services as necessary, so as to avoid compatibility problems. All other apps, including Office 2K3 are fully patched.
    I'm trying to export data from an Oracle 10.1 instance; it worked for a while, but now SQL Developer doesn't run. In Windows Task Manager, I see "sqldeveloper.exe" as a process using ~95 MB of memory, but no CPU; the UI doesn't appear beyond the startup tips dialog.
    I changed the UI style from "Oracle" to "Windows" in the Preferences dialog, just to see what it would look like. Might this have broken SQL Developer? Don't wanna re-install if it's not necessary.
    Thanks for your assistance.
    Sincerely,
    APJ in The OC, SoCal.

    I had a similar issue, icons and display window was all messed up and mousing over made things worse.
    Solution
    I noticed that errors were being logged on the logging page tab, errors like:
    source : o.jt.ui.themes.ThemeProperties
    Message: Failed to load icon etc.
    Somehow the default Fusion Blue theme has gotten corrupted and I can't get it back. I changed the Theme and now it works fine.  Tools -> Preferences -> Environment -> Theme pulldown box. FYI - I'm using the Oracle look and feel setting.
    Clues
    Logging on as another user on the same machine didn't have problems with the Fusion Blue theme.
    Anyone know where these themes are stored? There should be a error handling routine in the code for this situation.
    _Things that didn't work_
    - Messing with the Java SDK versions
    - Delete and re-install
    - Switching between the versions that did and didn't include the Java SDK
    - Delete c:\documents and settings\user\Application Data\SQL Developer directory didn't work either, but now my DB connections settings are gone. :( At least the software is usable again.

  • SQL Developer export forgot to check to include semicolons in DDL

    Hi,
    I used the SQL Developers Export-function (select tables and right click on them, then select export) to backup tables.
    However, I forgot to set the 'Abschlusszeichen' (sorry for the german). That apparently means my create table statements are not finished by an ';', and they sinmply don't execute using the @script.sql method, or the sql developers import-function.
    One sql-file is 2 GB in size, so I currently have no idea how to edit it and add the semicolons manually. Is there any hope to rescue the data?
    I'm running sql developer 3.2.20.09, oracle Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production as well as Windows 8.1
    For clarification, this is how the create table part looks:
    --  Datei erstellt -Montag-September-30-2013  
    --  DDL for Table ZZ_BEN_0
      CREATE TABLE "PIERUSCHM"."ZZ_BEN_0"
       (    "BENUTZER_ID" NVARCHAR2(30),
        "NAME" NVARCHAR2(30),
        "GUELT_VON" NVARCHAR2(30),
        "GUELT_BIS" NVARCHAR2(30),
        "IST_KORREKTUR" NVARCHAR2(30),
        "IST_HALBTAGSKRAFT" NVARCHAR2(30),
        "LADE_DAT" DATE
    --  DDL for Table ZZ_BEN_1
      CREATE TABLE "PIERUSCHM"."ZZ_BEN_1"
       (    "BENUTZER_ID" NVARCHAR2(30),
        "NAME" NVARCHAR2(30),
        "GUELT_VON" NVARCHAR2(30),
        "GUELT_BIS" NVARCHAR2(30),
        "IST_KORREKTUR" NVARCHAR2(30),
        "IST_HALBTAGSKRAFT" NVARCHAR2(30),
        "LADE_DAT" DATE
    --  DDL for Table ZZ_BEN_10

    Also i'd like to add that the file begins with table definitions but then contains the actual (and randomly generated) data as well.
    You still need to have the file regenerated or you should expect to have problems with ANY method you use to try to automatically 'fix' the problem.
    1. No experienced developer that I have worked with would EVER try to execute such a monolithic script because there is virtually NO chance that a 2 GB script will EVER run successfully without an error of some sort. Objects have to be created in the proper order when dependencies exist between them. For example, you can't create an index if the table hasn't been created yet. There can even be circular references that will prevent all objects from being VALID even if they are created.
    2. There is virtually NO chance that ANY method you use will put terminators in EXACTLY the right place without causing a problem of some sort.
    3. When there is an error the script may continue to try to executed and that usually causes further errors. It also creates garbage objects that are not valid but will keep the script from working correctly the next time since the objects will already exist.
    You need to create a SET of scripts that are of manageable size so that you can control the process of executing them in the proper order.
    If you don't take the time to do that, up front, you are going to wasted a tremendous amount of time when the script fails trying to cut and paste the pieces you need out of that 'master' script.
    There are NO SHORTCUTS: take the time to do it right the first time.

  • SQL Developer 3.2.09 (Build MAIN-09.23) Disconnected Worksheet bug

    If you disconnect from a database, the SQL Worksheet that was using that connection loses its connection as shown in the drop-down at the top-right. (ok)
    If you then click on the drop-down to re-connect, you can choose a database and a modal popup appears for you to enter the password - but if you have other connections already open, the focus moves from the password to the OK button and you can't enter the password. Since it's a modal popup, you're now stuck and have to kill SQL Developer (very annoying if you have many sql worksheets open with lots of sql in).
    Am I doing something wrong and/or is there a workaround until this is fixed?
    Thanks,
    Mark

    Hi Mark,
    Thanks for reporting this. A couple of possibilities for a workaround:
    1. Tools | Preferences | Database | Worksheet | Close all worksheets on disconnect.
    2. Store/Save your password in the Connection define (may not be desirable for security / may not work anyway)
    We see something similar in this situation (switching connections in a worksheet without any disconnects) ...
    Change database connection in SQL-Worksheet to a not connected db
    where an obvious deadlock occurs. In your case, a full thread dump does not clearly state the deadlock, but there is probably one to be found upon closer examination.
    Regards,
    Gary
    SQL Developer Team

  • Send Seperate Remittance Advices doesn't generate any output

    Hello,
    In the payment process profile in the reporting tab I have given the Format "Separate Remittance Advice" and choosed the option to "Automatically Submit at Payment Completion Point"
    Once the Format Payment Instruction is completed this one is submitted. Format Payment Instruction has the output and " Send Seperate Remittance Advices" doesn't have any output generated.
    Should I have to do any additional setup for the same?
    I'm working on R12.
    Thanks
    GM

    I found the following:
    https://bugs.archlinux.org/task/7021?opened=834&status[0]=
    It's not very clear to me if this is an Arch or Thunar or Exo bug, anyway installing 'perl-uri' works for me.
    Marking as SOLVED

  • SQL 2012 - SSIS Error -The step did not generate any output. The return value was unknown. The process exit code was -1073741819. The step failed.

    Hi guys 
     Trying to run this package on SQL 2012 agent  and getting below error . No more details I could find so far.
    The step did not generate any output.  The return value was unknown.  The process exit code was -1073741819.  The step failed.
    About Package - Its connecting to different version (2000,2005,2008,2008R2,2012) servers and putting Jobs information into one Database table.  
    Any workaround or fix ?
    Thanks
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach

    New package or one that used to work? Connecting how? How does it poll?
    On the surface it is an error from a memory space of the binary/non-managed code, so nothing can be really concluded based on what you decided to share with us.
    Arthur My Blog
    So Same package is working fine from my local machine which has SQL 2008 R2 and SQL 2012 installed. I am trying to push the package on server which has sql server 2012 Installed . 
    I don't see any error .
    I ran package manually from server using SQL Data tools and ran successfully...
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach

  • JPublisher doesn't generate any PL/SQL wrappers

    Hi ,
    I would like to use database 10.2.x.x as web service consumer.
    I run JPublisher with properties file:
    jpub.proxywsdl=http://127.0.0.1:7787/wsapp/wsapp?WSDL
    jpub.endpoint=http://127.0.0.1:7787/wsapp/wsapp
    jpub.package=javacallout
    jpub.dir=j:\genproxy
    jpub.plsqlmap=true
    jpub.plsqlpackage=cek
    I got plenty JAVA files.
    They seem to be ok, but I don't get any PL/SQL scripts for wrappers.
    I don't want to load classes and PL/SQL packages into database now.
    It will be needed later.
    I just want to get them stored on local drive.
    Could someone tell me what is wrong ?
    Regards,
    Cezary

    Hi Bob,
    The SQL tab will remain empty until the privileges to be revoked have been selected. In the properties tab of the revoke dialog, the drop down list for "Users" contains a list of those users for which privileges on the object have been granted. (If this list is empty then you will need to do some grants first!) Select a user. You should now see some privilege names in the right hand side of the shuttle. Shuttle one or more of these to the left pane. You should now see generated SQL in the SQL tab.
    Please let me know if this doesn't resolve the problem for you.
    Best regards,
    Philip Richens
    SQLDev Development Team

  • 4.0EA3: SQL Developer doesn't start on fedora 19 64-bit

    Hello.
    When I start sqldeverloper in command line it fails with the following messages:
    [alexander@localhost jdk1.7.0_45]$ sqldeveloper
    Oracle SQL Developer
    Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
    Type the full pathname of a JDK installation (or Ctrl-C to quit), the path will be stored in /home/alexander/.sqldeveloper/4.0.0/product.conf
    /usr/java/jdk1.7.0_45
    LOAD TIME : 867#
    # A fatal error has been detected by the Java Runtime Environment:
    #  SIGSEGV (0xb) at pc=0x00000037dda62de0, pid=2562, tid=140088626366208
    # JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode linux-amd64 compressed oops)
    # Problematic frame:
    # C  0x00000037dda62de0
    # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
    # An error report file with more information is saved as:
    # /tmp/hs_err_pid2562.log
    # If you would like to submit a bug report, please visit:
    #   http://bugreport.sun.com/bugreport/crash.jsp
    /opt/sqldeveloper/sqldeveloper/bin/../../ide/bin/launcher.sh: line 1117:  2562 Aborted                 (core dumped) ${JAVA} "${APP_VM_OPTS[@]}" ${APP_ENV_VARS} -classpath ${APP_CLASSPATH} ${APP_MAIN_CLASS} "${APP_APP_OPTS[@]}"

    If it's a bug, it's with Java, not with SQL Developer.
    I found this, perhaps it's related
    https://bugs.openjdk.java.net/browse/CODETOOLS-7113599

  • SQl Developer  2.1.0.62 - dbms_output.put_line

    When trying to use dbms_output.put_line i seem to keep on getting messages in the logging Page tab and example would be:
    SEVERE     96     516     oracle.dbtools.db.DBUtil     Invalid column index
    This even seems to happen when doing a simple anonymous block witha single dbms_output.put_line command.
    I have tried closing SQL Developer and using a new session but same issue.
    Is this an install issue or something else?

    Dermot,
    I too am running on XP.
    I am running against a 9i DB in case that should make any difference.
    I have as a test switched back to my SQL Developer 1.5.5.59.69 version issued a dbms_output call from a block and it works.
    All i am doing is logging on to 9i DB
    Opening worksheet
    begin
    dbms_output.put_line('Test');
    END;
    I have then chosen View -> DBMS Output
    This then open a new a new window at bottom of screen, i then click on the cross to add a new DBMS Output window for my connection.
    I then run the code, this is where i now receive the messages in the Loggng Tab.
    Have just noticed that when i log into the 9i DB i receive the following in the looging Tab:
    SEVERE     103     26830     oracle.dbtools.db.DBUtil     ORA-02248: invalid option for ALTER SESSION
    Not sure what is causing this must be part of SQl developer Login procedure failing, but doesn't happen in vesrion 1.5.5.59.69
    Thanks
    Paul
    Edited by: Trotty on Sep 25, 2009 3:44 PM
    Edited by: Trotty on Sep 25, 2009 3:56 PM

  • Must SQL Developer run as an administrator in Windows 7?

    I have seen a number of posts discussing installation of SQL Developer in Windows 7 and I've been able to get the product installed and running on Windows 7 provided I log in as an Administrator or enter Administrator credentials when prompted. However, I want to be able to run this as a "regular" User without having to enter Administrator credentials every time. Is there additional access required for the "Users" group apart from granting Full Control to the Oracle home and all sub-directories? I've also granted Full Control access to the local admin account's folder under C:\users\local_admin\AppData and C:\users\local_admin\.sqldeveloper, but I'm still being prompted for Admin credentials every time I run SQL Developer as a User who doesn't have Admin privileges to the machine. (UAC will prompt the Admin user, but no additional credential is required.)
    Please advise!! I'm using the version of SQL Developer bundled with Oracle Client 11gR1 (SQL Developer 1.1.3). Is there something else I should be using?

    The short answer is no.
    The privileges you need are read-access to the sqldeveloper installation directory and write access to your home directory (C:\users ). The first time SQLDeveloper runs you may need write access to the installation directory to write the JDK location into the config file.
    I suspect your installation is owned by an administrator and W7's weird and wonderful security system is preventing you reading or writing something.
    Try running <install_dir>\sqldeveloper\sqldeveloper\bin\sqldeveloper.exe from a command window. That may show more detail on errors.
    I would also recommend upgrading to the latest version (3.04) as many problems have been fixed and new features added.

  • Oracle sql developer 1.0.0.15 error

    i have aproblem in sql developer when i tried to make new gallery ....when select file>new>filter by >all item and highlight Database Objects there is no Data Mining PL/SQL Package option. i need it to work because iam using oracle data miner 10.2.0.4.3
    blease give me asolution urgentley.....thanks

    Hi,
    SQL Developer 3.0 EA4 contains a the new Data Miner Workflow based interface.
    The old Data Miner (10.2/11.1) is in maintenance mode going forward.
    This will also mean that we will not porting the old Data Miner PL/SQL Package extension forward to new SQL Developer releases.
    However, you can always generate the pl/sql package directly from Data Miner 10.2/11.2 which will generate a file on your client which you can then edit/run using SQL Developer.
    Data Miner 11.2 offers sql and sql script generation as well, but it is currently limited to the transformation nodes.
    Thanks, Mark

  • BUG in Oracle SQL Developer 3.0.04 on the "generating DLL" with comments?

    I'm newbie on oracle, but I think that I found out a bug in Oracle SQL Developer version 3.0.04 on the "generating DLL" tool using "comments".
    I will describe the steps that I gave:
    I created a view, but after I test it I had to change my “where” condition, so I comment the old code and then I wrote the new “where” condition below. After I done that I tried to look at the sql code of my view using “generating DLL” tool, but oracle sql developer only shown me half of the code, a lot of code were missing. Then I began with some test trying to understand what happen and I notice that if I put an invalid sql code in my comment the generating DLL start working with no problems, for example(pseudo-code):
    (COMMENT WITH VALID SQL CODE the "Generating SQL" don't work:)
    CREATE OR REPLACE VIEW <user>.<view_name> ( <column1>,<column2> )
    AS
    SELECT column1, column2
    FROM table1
    INNER JOIN
    (SELECT
    FROM table2
    INNER JOIN .....
    INNER JOIN ....
    --where time_stamp = (select max(time_stamp) from .....)
    WHERE time_stamp >= TRUNC(sysdate)
    ) t1 ON t1.ID = ....
    AND ..... >= TRUNC(sysdate)
    ORDER BY ....
    Generating DLL returns this(when the error occurs):
    CREATE OR REPLACE VIEW <user>.<view_name> ( <column1>,<column2> )
    AS
    (COMMENT WITH VALID SQL CODE the "Generating SQL" work with no problems:)
    CREATE OR REPLACE VIEW <user>.<view_name> ( <column1>,<column2> )
    AS
    SELECT column1, column2
    FROM table1
    INNER JOIN
    (SELECT
    FROM table2
    INNER JOIN .....
    INNER JOIN ....
    --where
    WHERE time_stamp >= TRUNC(sysdate)
    ) t1 ON t1.ID = ....
    AND ..... >= TRUNC(sysdate)
    ORDER BY ....
    I believe that "Generating DLL" tool have some problem with the comments, I also used /*...*/ to comment but the problem is still active.
    I notice as well that if I started to add some more comments along the code, the conditions migth change, so I think the problem is related with "comments" code.
    Would you mind telling me if this is a real bug or if I'm doing anything wrong.
    Thank you in advance,
    Rodrigo Campos
    Edited by: 894886 on 3/Nov/2011 5:29

    Hi Rodrigo,
    Thank you for reporting this. The only bug I see currently logged on a comment affecting the generated View DDL involves ending the last line of the definition with a comment, which treats the ending semi-colon (even if on a different line) as part of the comment. That is actually related to a low-priority bug against an Oracle database API.
    Unfortunately, your pseudo-code is a bit complex. Trying a few quick, simpler tests against the standard HR schema did not reproduce the issue. I tried INNER JOIN, and nested SELECTs. It would help greatly if you could provide a test case compilable against one of the standard schema, like HR or SCOTT.
    Regards,
    Gary
    SQL Developer Team

  • How to execute command(program) from external file in Oracle SQL developer

    Hi,
    Does anyone know, Oracle SQL developer version 1.0.0.14.67 got any function that can execute command from an external file?
    Example, i have 100 insert SQL inside a text file,
    and i want to use Oracle SQL developer to execute it. How do i read from my text file? Thanks a lots.

    If you're new to Oracle, do yourself and us a favour: read some tutorials and manuals. What sqldev's worth, better download the latest version (1.1.2), lots of fixes and enhancements...
    Now for the big popper: to run an external file: @file
    Best of luck,
    K.

Maybe you are looking for

  • Firefox 4 is loading multiple windows

    After updating to Firefox 4, in addition to loading my window with all my saved tabs from the last session, it also loads additional multiple windows with a single blank tab. How do I make it stop doing this?

  • Accessing images inside JSR 168 portlet

    Hi, I have written some JS6 168 portlets for Oracle Portal 10.1.4. I would like to add some images to the portlets but I am not sure how to locate these images once they have been deployed on OAS. I am trying to access one of the images using the htm

  • Import fails in CBS

    Hi, I am configuring NWDI to modify the source code delivered by SAP. I have to get the source code for the following SCA files SAP_ESS SAP PCUI_GP This has been downloaded from service market place. The dependent files for the above SCA files are pl

  • My enternet exploerer facebook page start's up by it's self how can i fix the problem?

    help. my enternet exploerer facebook page start's up by it's self how can i fix the problem?

  • Banner Display if lost?

    Any way to display a banner on the home screen of the Charge with a personal message, like a number to call if the phone is lost? I don't see any setting for it. I know I can create an ICE contact, but I've been able to do this on other VZW phones in