Submiting a DB job in SQL developer for APEX workspace

Hi,
I am trying to run this procedure (which will be used to run a DB job daily) from SQL developer but i am getting some error:-
declare
cursor c1 is
select *
from ABC
where to_date(STARTDATE, 'DD-MON-YY') = (to_date(sysdate,'DD-MON-YY') + 7);
c_rec c1%rowtype;
begin
wwv_flow_api.set_security_group_id;
open c1;
loop
     fetch c1 into c_rec;
     exit when c1%NOTFOUND;
schema.package.SEND_EMAIL(c1.ID);
END LOOP;
CLOSE C1;
end;
The error I am getting is 6502 ORA-06502: PL/SQL: numeric or value error . If i run the same thing from APEX, it works fine. Please help!!
procedure send_email(p_id IN number)
as
cursor c2 is
     select *     
     from a,b
     where a.a_id =b.b_id
          and C_ID = p_id
c2_rec c2%rowtype;
begin
wwv_flow_api.set_security_group_id;
     open c2;
     loop
          fetch c2 into c2_rec;
          exit when c2%notfound;
apex_send_email(p_to => c2_rec.to,
P_FROM => c2_rec.from,
P_BODY => 'test',
P_BODY_HTML => c2_rec.body_html,
P_SUBJ => c2_Rec.sub,
     end loop;
     close c2;     
end;

Hi,
>
procedure set_security_group_id(
p_security_group_id in number default null)
-- This procedure allows the caller to set wwv_flow_security.g_security_group_id
-- to the security group id of the schema they are currently running in.
>
When you call wwv_flow_api.set_security_group_id from SQL developer, you need pass p_security_group_id.
Try e.g. something like this if you do not know what is your workspace id
wwv_flow_api.set_security_group(APEX_UTIL.FIND_SECURITY_GROUP_ID (p_workspace=>'YOUR_WORKSPACE');Change YOUR_WORKSPACE to workspace name where your database schema is assigned
Br,Jari

Similar Messages

  • View jobs with SQL Developer and export to file with delimiter

    Hi,
    is there a way to view, create and alter my database jobs with SQL developer?
    And is it possible to export tables, views or simple queries to file delimited different from the CSV standard?
    Diego.

    Hi and Welcome to the Forum!!
    To select data from a table or a view you must use the SELECT sql command. Example to get the data from your view you can
    select ZMATNUM,ZMATCUR,ZMATATTR from ZMATERIALAs you have said you are using SQL Developer just execute the above query in your sql developer and it will show the data. Right click the grid and export the data to excel file.

  • How to start listener in sql developer for remote debug

    how to start listener in sql developer for remote debug ? Since the new version 1.1.0.23 is different with the old version for remote debug, I don't know how to start the listener on the new version for remote debug.
    even follow the user guide below and not work . Experts on sql developer please help me with this.
    Remote Debugging
    To debug a procedure or function for a connection where the database is on a different host than the one on which you are
    running SQL Developer, you can perform remote debugging.
    Remote debugging involves many of the steps as for local debugging; however, do the
    following before you start the remote debugging: Use an Oracle client such as SQL*Plus to issue the debugger connection command. Whatever
    client you use, make sure that the session which issues the debugger connection commands is the same session which executes your PL/SQL
    program containing the breakpoints.
    For example, if the name of the remote system is remote1, use the following SQL*Plus command to open a
    TCP/IP connection to that system and the port for the JDWP session:
    EXEC DBMS_DEBUG_JDWP.CONNECT_TCP('remote1', '4000'); The first parameter
    is the IP address or host name of the remote system, and the second parameter is the port number on that remote system on which the debugger
    is listening.
    Right-click the connection for the remote database, select Remote Debug, and complete the information in the Debugger - Attach
    to JPDA dialog box. Then, follow the steps that you would for local debugging (for example, see Debugging a PL/SQL Procedure).
    Debugger - Attach to JPDA This dialog box is displayed when you right-click a database connection name and select Remote Debug.
    Use this
    dialog box if you are using the Sun Microsystem's Java Platform Debugger Architecture (JPDA) and you would like the debugger to listen so
    that a debuggee can attach to the debugger.
    For more information about remote debugging, see Remote Debugging.
    Host: Name or IP address of
    the remote host on which SQL Developer should listen for the database to connect.
    Port: Listening port number on the remote host. You can
    choose any valid port number that is not in use by another process.
    Timeout: The number of seconds that SQL Developer will wait for the
    remote database to make a debugging connection. Don't Show Dialog Box Before Connecting: If this option is checked, this dialog box will not
    be displayed before future connections for remote debugging

    You're not the only one:
    Not able to start remote debug listener
    Re: remote debug question at version 1.1.0.23 64

  • Oracle SQL Developer for OSX not able to compile/execute/handle packages?

    Hi,
    Have been stuck with this for quite some mins now,
    When I execute this simple -valid- create package statement in Oracle SQL Developer:
    http://www.pastebin.ca/757859
    It shows it's not compiled and has errors, when I check the Packages part in Oracle SQL Developer I see this:
    http://www.pastebin.ca/757860
    The ; after end has been removed by the application. In fact this means I can't do anything with packages in Oracle SQL Developer for OSX?
    Is this a known bug?
    Or am I doing something wrong?
    Any resolving response to this matter would be really appreciated.

    Yeah, that bug is in there since stoneage, and is really a no-brainer to fix. Until they don't, we'd be losing time recompiling.
    FWIW, everything works fine using the procedure editor for creating, editing and compiling.
    Regards,
    K.

  • To find last updated date in sql developer for a procedure or a function

    hi
    how to to find last updated date in sql developer for a procedure or a function.
    i m using sql developer version in 1.2

    I think you are in the wrong forum...
    Anyway you can try
    select * from
    all_objects o
    where o.object_type in ('FUNCTION','PROCEDURE');
    you have there the created date, last DDL and timestamp

  • Can I use SQL developer for a Sybase IQ migration to Oracle?

    Hello,
    Can I use SQL developer for a Sybase IQ migration to Oracle?
    Currently in the supported list appears only Sybase Adaptive Server 12 and 15.
    Thanks,
    Florin D.

    Sorry, we don't support IQ migrations at this time.

  • SQL Developer for Mac Fails to Launch 2.1.0.63.73

    It is disappointing that 2.1 RC1 fails to launch on PPC Macs and particularly aggravating that there is no indication on the download page or in the release notes this was only built for Intel Macs. Or does
    "...launcher.sh: line 774: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java: *Bad* *CPU* *type* *in* *executable*
    Error: SQL Developer can't recognize the JDK version" mean something else?
    Is there any compelling reason that SQL Developer for Mac cannot be compiled as a UB?
    Chuck

    I just tried to run 2.1 on my PPC running 10.4.11 from sqldeveloper-2.1.0.63.73-macosx.tar.tar on the 2.1 downloads page.
    On double-clicking SQLDeveloper.app a bash process starts and uses all the CPU. The icon bounces in the taskbar for about a minute. There's nothing else visible.
    info.plist says it is version 1.1!
    I was using the previous release, so before I installed I copied the app and ~/.SQLdeveloper so I could restore it if the update failed.
    Should I have deleted ~/.SQLdeveloper? I can't see any upgrade notes.
    I remember with previous updates there was a way to keep the connections, what was it?
    To move the sqlconnections.xml out of .sqldeveloper before installing the new version then move it back?
    Later - the console has lots of aqua errors. I guess that means it needs Tiger or SnowLeopard?
    E.g.
    22:07:07,150 12947 ERROR [ main ] ro.sync.I.C - java.lang.ClassNotFoundException: apple.laf.CUIAquaKeyBindings
    java.lang.ClassNotFoundException: apple.laf.CUIAquaKeyBindings
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at ro.sync.util.q.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:164)
         at ro.sync.I.C.A(Unknown Source)
         at ro.sync.I.C.installKeyboardActions(Unknown Source)
         at javax.swing.plaf.basic.BasicTextUI.installUI(BasicTextUI.java:707)
         at javax.swing.JComponent.setUI(JComponent.java:653)
         at javax.swing.text.JTextComponent.setUI(JTextComponent.java:298)
         at ro.sync.I.K.setUI(Unknown Source)
         at javax.swing.text.JTextComponent.updateUI(JTextComponent.java:308)
         at ro.sync.I.K.updateUI(Unknown Source)
         at javax.swing.text.JTextComponent.<init>(JTextComponent.java:282)
         at javax.swing.JTextArea.<init>(JTextArea.java:182)
         at javax.swing.JTextArea.<init>(JTextArea.java:118)
         at ro.sync.ui.CA.<init>(Unknown Source)
         at ro.sync.ui.O.<init>(Unknown Source)
         at ro.sync.I.K.<init>(Unknown Source)
         at ro.sync.A.L.G.<init>(Unknown Source)
         at ro.sync.A.L.K.<init>(Unknown Source)
         at ro.sync.A.L.N.<init>(Unknown Source)
         at ro.sync.A.L.T.<init>(Unknown Source)
         at ro.sync.A.L.M.<init>(Unknown Source)
         at ro.sync.exml.I.a.G.C.?(Unknown Source)
         at ro.sync.exml.I.T.B.?(Unknown Source)
         at ro.sync.exml.I.a.G.C.?(Unknown Source)
         at ro.sync.exml.I.t.K(Unknown Source)
         at ro.sync.exml.I.a.G.C.K(Unknown Source)
         at ro.sync.exml.I.oA.U(Unknown Source)
         at ro.sync.exml.I.R.K.U(Unknown Source)
         at ro.sync.exml.I.oA.?(Unknown Source)
         at ro.sync.exml.I.R.K.?(Unknown Source)
         at ro.sync.exml.I.a.b.?(Unknown Source)
         at ro.sync.exml.I.VA.K(Unknown Source)
         at ro.sync.exml.I.VA.K(Unknown Source)
         at ro.sync.exml.I.VA.K(Unknown Source)
         at ro.sync.exml.I.VA.K(Unknown Source)
         at ro.sync.exml.I.VA.open(Unknown Source)
         at ro.sync.exml.I.VA.K(Unknown Source)
         at ro.sync.exml.F.U.¥(Unknown Source)
         at ro.sync.exml.F.K.?(Unknown Source)
         at ro.sync.exml.F.K.R(Unknown Source)
         at ro.sync.exml.F.K.S(Unknown Source)
         at ro.sync.exml.F.K.?(Unknown Source)
         at ro.sync.exml.MainFrame.<init>(Unknown Source)
         at ro.sync.exml.MainFrame.<init>(Unknown Source)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at ro.sync.ui.application.ApplicationLauncher.A(Unknown Source)
         at ro.sync.ui.application.ApplicationLauncher.launch(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at ro.sync.exml.Oxygen.main(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
         at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
         at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
    22:07:07,155 12952 ERROR [ main ] ro.sync.I.C - java.lang.ClassNotFoundException: apple.laf.CUIAquaKeyBindings
    java.lang.ClassNotFoundException: apple.laf.CUIAquaKeyBindings
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at ro.sync.util.q.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:164)
         at ro.sync.I.C.A(Unknown Source)
         at ro.sync.I.C.installKeyboardActions(Unknown Source)
         at javax.swing.plaf.basic.BasicTextUI.installUI(BasicTextUI.java:707)
         at javax.swing.JComponent.setUI(JComponent.java:653)
         at javax.swing.text.JTextComponent.setUI(JTextComponent.java:298)
         at ro.sync.I.K.setUI(Unknown Source)
         at javax.swing.text.JTextComponent.updateUI(JTextComponent.java:308)
         at ro.sync.I.K.updateUI(Unknown Source)
         at javax.swing.text.JTextComponent.<init>(JTextComponent.java:282)
         at javax.swing.JTextArea.<init>(JTextArea.java:182)
         at javax.swing.JTextArea.<init>(JTextArea.java:118)
         at ro.sync.ui.CA.<init>(Unknown Source)
         at ro.sync.ui.O.<init>(Unknown Source)
         at ro.sync.I.K.<init>(Unknown Source)
         at ro.sync.A.L.G.<init>(Unknown Source)
         at ro.sync.A.L.K.<init>(Unknown Source)
         at ro.sync.A.L.N.<init>(Unknown Source)
         at ro.sync.A.L.T.<init>(Unknown Source)
         at ro.sync.A.L.M.<init>(Unknown Source)
         at ro.sync.exml.I.a.G.C.?(Unknown Source)
         at ro.sync.exml.I.T.B.?(Unknown Source)
         at ro.sync.exml.I.a.G.C.?(Unknown Source)
         at ro.sync.exml.I.t.K(Unknown Source)
         at ro.sync.exml.I.a.G.C.K(Unknown Source)
         at ro.sync.exml.I.oA.U(Unknown Source)
         at ro.sync.exml.I.R.K.U(Unknown Source)
         at ro.sync.exml.I.oA.?(Unknown Source)
         at ro.sync.exml.I.R.K.?(Unknown Source)
         at ro.sync.exml.I.a.b.?(Unknown Source)
         at ro.sync.exml.I.VA.K(Unknown Source)
         at ro.sync.exml.I.VA.K(Unknown Source)
         at ro.sync.exml.I.VA.K(Unknown Source)
         at ro.sync.exml.I.VA.K(Unknown Source)
         at ro.sync.exml.I.VA.open(Unknown Source)
         at ro.sync.exml.I.VA.K(Unknown Source)
         at ro.sync.exml.F.U.¥(Unknown Source)
         at ro.sync.exml.F.K.?(Unknown Source)
         at ro.sync.exml.F.K.R(Unknown Source)
         at ro.sync.exml.F.K.S(Unknown Source)
         at ro.sync.exml.F.K.?(Unknown Source)
         at ro.sync.exml.MainFrame.<init>(Unknown Source)
         at ro.sync.exml.MainFrame.<init>(Unknown Source)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at ro.sync.ui.application.ApplicationLauncher.A(Unknown Source)
         at ro.sync.ui.application.ApplicationLauncher.launch(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at ro.sync.exml.Oxygen.main(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
         at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
         at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
    22:07:19,050 24847 ERROR [ class ro.sync.ui.application.A.P ] ro.sync.I.C - java.lang.ClassNotFoundException: apple.laf.CUIAquaLookAndFeel
    java.lang.ClassNotFoundException: apple.laf.CUIAquaLookAndFeel
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at ro.sync.util.q.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:164)
         at ro.sync.I.C.A(Unknown Source)
         at ro.sync.I.C.installKeyboardActions(Unknown Source)
         at javax.swing.plaf.basic.BasicTextUI.installUI(BasicTextUI.java:707)
         at javax.swing.JComponent.setUI(JComponent.java:653)
         at javax.swing.text.JTextComponent.setUI(JTextComponent.java:298)
         at ro.sync.I.K.setUI(Unknown Source)
         at javax.swing.text.JTextComponent.updateUI(JTextComponent.java:308)
         at ro.sync.I.K.updateUI(Unknown Source)
         at javax.swing.text.JTextComponent.<init>(JTextComponent.java:282)
         at javax.swing.JTextArea.<init>(JTextArea.java:182)
         at javax.swing.JTextArea.<init>(JTextArea.java:118)
         at ro.sync.ui.CA.<init>(Unknown Source)
         at ro.sync.ui.O.<init>(Unknown Source)
         at ro.sync.I.K.<init>(Unknown Source)
         at ro.sync.A.L.G.<init>(Unknown Source)
         at ro.sync.A.L.K.<init>(Unknown Source)
         at ro.sync.A.L.N.<init>(Unknown Source)
         at ro.sync.A.L.T.<init>(Unknown Source)
         at ro.sync.A.L.M.<init>(Unknown Source)
         at ro.sync.exml.I.a.G.C.?(Unknown Source)
         at ro.sync.exml.I.T.B.?(Unknown Source)
         at ro.sync.exml.I.a.G.C.?(Unknown Source)
         at ro.sync.exml.I.t.K(Unknown Source)
         at ro.sync.exml.I.a.G.C.K(Unknown Source)
         at ro.sync.exml.I.oA.U(Unknown Source)
         at ro.sync.exml.I.R.K.U(Unknown Source)
         at ro.sync.exml.I.oA.?(Unknown Source)
         at ro.sync.exml.I.R.K.?(Unknown Source)
         at ro.sync.exml.I.a.b.?(Unknown Source)
         at ro.sync.exml.I.VA.K(Unknown Source)
         at ro.sync.exml.I.VA.K(Unknown Source)
         at ro.sync.exml.I.VA.K(Unknown Source)
         at ro.sync.exml.I.VA.K(Unknown Source)
         at ro.sync.exml.I.VA.open(Unknown Source)
         at ro.sync.exml.I.VA.?(Unknown Source)
         at ro.sync.exml.D.G.K(Unknown Source)
         at ro.sync.exml.D.G.S(Unknown Source)
         at ro.sync.exml.MainFrame$20.actionPerformed(Unknown Source)
         at ro.sync.ui.application.A.P$_A$1.?(Unknown Source)
         at ro.sync.ui.application.A.run(Unknown Source)

  • SQL Developer for 64 bit

    Using Win7 64 bit OS in an environment that doesn't allow me to install anything on my machine.
    Trying to use SQL Dev 3.2.2
    Downloaded Windows 32-bit - zip file includes the JDK1.6.0_35 but getting the following error: Can't load AMD 64-bit .dll on a IA 32-bit platform+
    which understandably it's not for 64 bit systems.
    So downloaded the zip for Windows 64-bit. When I run sqldeveloper.exe it asks for "Enter the full pathname for java.exe". For some reason it doesn't like C:\Program Files\Java\jre6\bin. It gave me the following error when I enter that path: "+*Cannot find a J2SE SDK installed at path C:\Program Files\Java\jre6\bin*+."
    Edit: I copied the JDK folder from 32 bit to 64bit and I'm getting the following error now:
    Unable to launch the Java Virtual Machine Located at path: ..\..\jdk\jre\bin\client\jvm.dll*
    Is it now the matter of finding the right JVM.DLL like in Oracle FORMS?
    Or, Is there a way I can download the jdk from somewhere and put in the 64 bit folder and point my java there, like the 32bit zipped version?
    Any suggestions?
    Edited by: apex_disco on Mar 18, 2013 2:47 PM

    >
    I cannot install JDK on this particular client's system - the approval process will take forever.
    >
    Then you will not be able to use sql developer. It requires specific versions of the JDK. See the Installation Guide
    http://docs.oracle.com/cd/E35137_01/doc.32/e35119.pdf
    >
    1.2.2 Linux and Mac OS X Systems, and Windows Systems without JDK 1.6.11 or Later
    SQL Developer requires that the Java JDK 1.6.0_11 or later (but not 1.7.n) be installed on the system, or that you install a SQL Developer for Windows kit that includes a JDK. If you need to install a JDK, go to http://www.oracle.com/technetwork/java/javase/downloads/.
    >
    As for this;
    >
    I'm able to connect using TNSNames that were on the installed Oracle Client 11g which has sqlplus that I can use.
    >
    Sql*Plus and Oracle client do not require or use Java.

  • Quick Question... About SQL Developer for MAC - MAC Users please help.

    Hello everyone, I hope that someone out there can tell me that I am not crazy.
    I have installed SQL Developer for Mac OSX to access a MS-SQL database, and perform simple query operations. For the most part, I have been thrilled to have a Mac version of software that's fully featured.
    Details on my current setup:
    SQL Developer
    Version 2.1.1.64
    Build MAIN-64.45
    Mac OSX V10.6.3
    JTDS-1.2.5 JDBC driver
    Database connection is SQL Server 2005
    Anyway, my problem is this... I cannot locate the Query Builder function within this software. I have found the tutorials on how to use it, and it would appear to be located when you right-click the SQL worksheet to open the context menu. This option is not present in my software, and I need to figure out why. This screenshot is what I see when I right-click.
    Does anyone know if this is related to MS-SQL-2005?
    http://img10.imageshack.us/img10/1195/screenshot20100523at102.png
    Any assistance you could provide would be AWESOME! Thank you!
    Edited by: user13118614 on May 23, 2010 3:05 PM

    First of all you need an active connection in the worksheet (upper right drop-down).
    But even then it might not work. Sorry you were "thrilled to have a Mac version of software that's fully featured", because even if it is, MsSQL isn't. The tool is mainly focussed in providing a migration platform to Oracle, so a lot of the cool stuff is Oracle only.
    Regards,
    K.

  • SQL Developer extension for APEX workspace management

    Hi everyone,
    I've put together some SQL Developer extensions - one of them provides APEX workspace management
    from within SQL Developer when connected to the database as SYS. A screenshot and a short
    description is available here:
    http://sql-plsql-de.blogspot.com/2009/09/erweiterungen-fur-den-sql-developer.html?lang=en
    You can download the zip archive directly from here (the blog posting contains this link also)
    http://htmldb.oracle.com/pls/otn/f?p=20225:2:0::::P2_SUCHWORT:sqldev-ext
    Try it out - if you like it: Please give me feedback; if not: please do also
    Regards
    -Carsten
    Oracle 11g Release 2: New Features for Developers in German
    http://www.oracle.com/global/de/community/index.html
    BLOG: SQL und PL/SQL in Oracle
    http://sql-plsql-de.blogspot.com

    Hi,
    Looks very nice and I really like idea. Great job !
    For futher development idea:
    I like see that individual workspace admin could use same kind plugin, connecting DB with user that is assigned to workspace and manage only that WS properties.
    Br, Jari

  • How to configure Oracle Sql Developer for 9i

    Hi,
    We are using oracle 9i for existing application, and i am trying to connect oracle 9i through SQL developer 1.5.1, i got an error message "Unsupported Oracle Database Version".
    Appreciate if any body guide me in this.
    regards
    Husal.

    After removing dictionary statistics with dbms_stats.delete_schema_stats(ownname => 'SYS') I noticed the initial SQL Developer object list query became very slow.
    Removal of dictionary statistics increased the predicted Oracle optimizer (CBO) costs. Previous SYS statistics were collected perhaps without realising the consequences.
    You may wish to try dbms_stats.gather_schema_stats(ownname => 'SYS', method_opt => 'FOR ALL COLUMNS SIZE AUTO', sample_size => dbms_stats.auto_sample_size).
    Recent Oracle 10G versions include a gather_dictionary_stats routine.
    Suggest you try this on a development DB first.

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

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

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

  • Using CVS in SQL Developer for Data Modeler changes.

    Hi,
    I am fairly new to SQL Developer Data Modeler and associated version control mechanisms.
    I am prototyping the storage of database designs and version control for the same, using the Data Modeler within SQL Developer. I have SQL Developer version 3.1.07.42 and I have also installed the CVS extension.
    I can connect to our CVS server through sspi protocol and external CVS executable and am able to check out modules.
    Below is the scenario where I am facing some issue:
    I open the design from the checked out module and make changes and save it. In the File navigator, I look for the files that have been modified or added newly.
    This behaves rather inconsistently in the sense that even after clicking on refresh button, sometimes it does not get refreshed. Next I try to look for the changes in Pending Changes(CVS) window. According to the other posts, I am supposed to look at the View - Data Modeler - Pending Changes window for data modeler changes but that shows up empty always( I am not sure if it is only tied to Subversion). But I do see the modified files/ files to be added to CVS under Versioning - CVS - Pending Changes window. The issue is that when I click on the refresh button in the window, all the files just vanish and all the counts show 0. Strangely if I go to Tools - Preferences - Versioning - CVS and just click OK, the pending changes window gets populated again( the counts are inconsistent at times).
    I believe this issue is fixed and should work correctly in 3.1.07.42 but it does not seem to be case.
    Also, I m not sure if I can use this CVS functionality available in SQL Dev for data modeler or should I be using an external client such as Wincvs for check in/ check out.
    Please help.
    Thanks

    Hi Joop,
    I think you will find that in Data Modeler's Physical Model tree the same icons are used for temporary Tables and Materialized Views as in SQL Developer.
    David

  • Oracle SQL Developer for personal use?

    Hello,
    I would like to use Oracle to test out my SQL commands, however I do not have a connection set up (at home). Is there a way I can create databases and tables without setting up a connection to a database. If that isn't possible, is there a tutorial avaliable somewhere to set up a connection on a local machine. Operating system is Mac OSX, however I do have Windows 7 64-bit available as well. Thanks in advance for your help/sugguestions.

    user13462562 wrote:
    Hello,
    I would like to use Oracle to test out my SQL commands, however I do not have a connection set up (at home). Is there a way I can create databases and tables without setting up a connection to a database. If that isn't possible, is there a tutorial avaliable somewhere to set up a connection on a local machine. Operating system is Mac OSX, however I do have Windows 7 64-bit available as well. Thanks in advance for your help/sugguestions.Welcome to Forums.
    Without making a connection to the db, there isn't any chances that you can issue the sql statements. So you must have to have a connection with either an existing db or make a new db and get connected to it. The another way , to run sql statements, is to just connect using plain black window (terminal) using o/s authentication . This won't need any tns settings at all but you won't get that good looking GUI interface of Sql Developer as well. That's my preferred way to work with db but you may have a different preference still you can give it a try if you want to.
    The setup is pretty straightforward. You need to pass the information of your host with the appropriate user name and password and it would be done. Once you start doing it, keep the thread updated with your efforts so that we can guide you in case you would face troubles.
    HTH
    Aman....

  • SQL Developer for Deployments of scripts?

    I currently use SQL Station for deploying code into my database. There is a Code Manager feature that allows developers to Develop Code into a central Repository. This Code is added to a Release Folder, so developer a, b and c can add code to a release folder named 2009_07_08.
    Would SQL DEVELOPER have these features, can I click "deploy" to point-and -shoot tested code to my production database, from a central code repository?
    any suggestions or known work-arounds appreciated.

    We don't have this feature, but as Kristof says, SCM will allow you to manage these and then run the scripts from SQL Developer if you want.
    When you say, "just install" , what do you mean? like kick off a sqlplus sessions with a,b and c parameters?
    If its something you feel should be in there, open a feature request from sqldeveloper.oracle.com and we'll review it for a future release.
    B

Maybe you are looking for

  • Ibooks crashes on one pdf but I cannot delete this from the ipad (?)

    I am experienceing constant crashes when I switch to PDF's in Ibooks. After very few seconds it just terminates. This started when I chose to open a pdf sent in email with Ibooks (this has worked before). Ipad is upgraded to lates iOS w/ patches. Now

  • Playing 5thGen through USB Port / Xbox 360

    My iPod is not recognized by anything other than a PC. I had an older iPod that I could plug into my Xbox 360 or a DVR cable box and I would get a "Do not disconnect" sign, and be able to play through these devices. When i plug my new 5th gen ipod in

  • Windows 8.1 issue explorer.exe error on shutdown NOT resolved and painfully slow bootup

    Hi, I have a brand new HP Pavilion Laptop with Windows 8 64bit. I just downloaded the free update to 8.1. And then problems started.  First off, the boot up time has almost doubled. Just before the desktop becomes visible, there is a 10 second period

  • Compare and test values in two tables

    hi everbody, I use oracle 10g I have a table for large itemsets called L shown below with values ITEMS CODE b 1 c 2 d 3 e 4 d:e 5 b:c 6 I generate all candidate combinations firstly 2-sequences for in code field values for that I use below code selec

  • Search not crawled some document libraries

    Hi All, Recently we were reset the index after that we ran the search full crawl.the problem is only one site collection under 10 document libraries was not indexed. we have 25 site collection.under problem is one site collection http://abc.com/site1