SQL Developer 2.1 Editor settings

SQL Developer 2.1, when I click on a pl/sql object in the navigation pane, an accessible editor writable tab opens. How can I change this behavior so that it opens in read-only? I want only the pl/sql Editor to be writable if explicitly selected. I found nothing in the preferences for this.

Thank you, John

These publishers are now merged into 1. Only way to open the read-only is revoke the privilege to ALTER (ANY) PROCEDURE.

Kind regards
K.

Tags: Database

Similar Questions

  • SQL Developer at Apex earphone connection - error: invalid resource owner credentials

    DB: V11.2

    APEX V 4.2.3.00.08

    APEX listener: V2.0.5.287.04.27

    SQLDeveloper: Version 3.2.20.09

    WIndows 7 64-bit operating system

    I'm trying to create a connection to a standalone installation Apex listener via SQL Developer to manage the settings of the listener. I start a new connection and after entering the a/PWD, administrator of the listener, I get the following error:

    *********************************************************************************************************************************

    Failed authentication

    "UNABLE TO CONNECT TO THE CONNECTION.

    THE INVALID RESOURCE OWNER CREDENTIALS. "

    **********************************************************************************************************************************

    So where should I even start to go wrong?

    I add a connection as follows:

    Login: login

    Usename: adminlistener (pwd = adminlistener configured using the command: java-jar apex.war user adminlistener "Listener administrator")

    HTTP radio button

    Host name: localhost

    Port: 8080

    Server path: /apex (? don't know what it is or where it points to)

    Thanks in advance

    Paul Platt

    You have configured your APEX to support the RESTful Service?

    Maybe there is something wrong with you RESTful, could you just start a new configuration of the listener from the apex to the step which asks you to enter the password for user(APEX_LISTENER,APEX_REST_PUBLIC_USER) RESTful database, select 3 to skip this step.

    Thank you

    Xiaohe

  • SQL Developer: Missed CONNECTIONS TAB

    I tried once to initialize ORACLE SQL DEVELOPER 3.0.04.34 x 64 with JDK 1.7.0 x 64 in Windows 7 x 64 and cela warning me of possible incompatibilities with this version of java.

    Then I tried lo run ORACLE SQL DEVELOPER 3.0.04.34 x 64 with JDK 1.6.0_26 x 64 still in Windows 7 x 64, but the CONNECTIONS TAB does not appear, I try to delete the folder "%APPDATA%\Roaming\SQL Developer" to clear the settings stored, and then I tried again to run ORACLE SQL Dev x 64, this good withoat charge no warning, but does not appear again the CONNECTIONS TAB.

    I tried to delete all (installation of ORACLE SQL Dev folder x 64 and parameters stored in "Developer %APPDATA%\Roaming\SQL") and re - install all, but yet again, the CONNECTIONS TAB is not displayed!

    I NEED URGENT HELP PLEASE!

    I apologize for my bad and incoherent English, but I don't speak this language. I speak only Spanish.

    UPDATE (2011-09-01): I tried to also remove a registry keys "HKEY_CLASSES_ROOT\SQL Developer * ' but the problem persists.

    Update 2 (2011-09-01): I installed the "Oracle SQL Developer 1 11.1.2.04.34 patch", but the issue continues.

    NOTE: I port the "ORACLE SQL Developer 3.RPM" to ""3.DEB ORACLE SQL Developer"and I can run on Ubuntu 11.04 x 64, this operating system is not the issue." The problem is that on my Installation of Windows 7 Ultimate x 64.

    Edited by: 882851 01-sep-2011 10:28

    Edited by: 882851 01-sep-2011 12:24

    Hello

    Remove (actually just the system3.0.04.34 file) settings and restart SQL Developer under jdk1.6.0_26 should work, except that I'm not sure which part of 'Roaming' from your path of directory. Make sure that your settings are not read from a different path. Search help | Table of contents | SQL Developer concepts and use. Location of information about the user.

    Kind regards
    Gary Graham
    SQL development team

  • How to get these settings in sql developer

    According to this link, when I chose my lines in sql developer I don't get all the options illustrated in the screenshot of the binding,

    My sql developer is Version 3.2.20.09 64-bit windows, to use this options I need to make all the settings?

    http://www.thatjeffsmith.com/archive/2013/02/how-to-copy-only-column-headers-from-query-results-in-Oracle-SQL-Developer?

    When I select and click right make me only

    (a) in respect of grid
    (b) single record view
    (c) number of lines
    (d) fInd / highlight
    (e) export

    Once you have identified the column headers desired by highlighting one or more related data cells in the results grid, place your cursor on any column heading, and right-click for the shortcut menu shown in the blog of Jeff Smith.

  • How to stop the case change in SQL developer Editor

    Dear friends,


    When I begin editing in Developer SQL (version 1.6), case or formatting words is changed automatically.
    Y at - it no option to stop the change of the case.

    Thanking in advance
    Sanjeev

    Assuming you're the 2.1.X SQL Developer trying to disarm

    Tools-> preferences-> Code Editor-> completion Insight-> change as you type

  • Readability of SQL Developer Editor

    I just spent in SQL Developer of Toad and I found some problems with the editor that make it unreadable.

    The first problem is that fonts appear blockier and heavier. Toad and SQL Developer I use Consolas with size 12. I tried to turn on/off the "enable text anti-aliasing" and they are both bad. The question would be that developer SQL does not use clear fonts of the window? If so can it be fixed?

    The second issue is that the color of the characters (spaces and line breaks) SQL Developer spaces much too dark. I can't find a setting to alleviate them. Did I miss the setting, or this function can be added?

    Not that I know of, sorry.

    Kind regards
    K.

  • configuration settings of SQL Developer for instance vision R12.1.1

    I managed to install vision r12.1.1 oracle instance in my laptop.

    I want to connect to the database, where can I find details of hostname, port, and sid vision instance configuration in SQL Developer details

    Thank you.

    Host name - your name or the IP Address of the machine

    for SID PORT - please see tnsnames.ora file in your oracle home/network/admin

    Tnsnames.ora - Oracle FAQ

    AppsMAsti

    Sharing is caring

  • Date settings Toad/Oracle SQL Developer

    Dear all, the code below works as a TOAD, but in the Oracle Sql Developer does not work it says the start_date is not declared. Ambersand doent work in Toad? Do not know why. Y at - it a reason for this.
    I used Toad for awhile, now, they are deploying Oracle Sql Developer because it is a free tool.

    SET SERVEROUTPUT ON
    SET VERIFY OFF

    (8) tank variable start_date;


    BEGIN
    : Start_date: = TO_CHAR (TO_DATE ('& 1', 'YYYYMMDD'), 'YYYYMMDD');
    END;
    /

    BEGIN
    DBMS_OUTPUT. PUT_LINE(:START_DATE);
    END;

    Published by: user531731 on 07/23/2009 17:18

    Published by: user531731 on 07/23/2009 17:19

    My recommendation would be to write correctly regardless of the tool.

    SQL> DECLARE
      2    START_DATE VARCHAR2(8) := TO_CHAR(TO_DATE('&1','YYYYMMDD'),'YYYYMMDD');
      3  BEGIN
      4    DBMS_OUTPUT.PUT_LINE(START_DATE);
      5  END;
      6  /
    Enter value for 1: 20091010
    old   2:   START_DATE VARCHAR2(8) := TO_CHAR(TO_DATE('&1','YYYYMMDD'),'YYYYMMDD');
    new   2:   START_DATE VARCHAR2(8) := TO_CHAR(TO_DATE('20091010','YYYYMMDD'),'YYYYMMDD');
    20091010
    
    PL/SQL procedure successfully completed.
    
    SQL> 
    
  • El of magnitude is Sql developer

    I have the Version 4.0.1.14 version

    This tool is excelente pero al trabajar con esta, is magnitude too, disabled equally - editor codigo en los 5 last checks, aun asi to para congelando.

    Special circumstances, the most common advice (even for crashes) is...

    1. install latest production release / patch, currently empty 4.0.2 in a directory.

    2. If it is using Windows 64 - bit zip download JDK 7, download and install the updated jdk1.7.0_xx

    3. If you suspect corruption in the parameters user, timing of the launch of the first time after installation, do NOT migrate user settings.

    If you prefer to stay with 4.01 and your current JDK, try to rename or delete these files, then restart without migration of user settings...

    1 %APPDATA%\SQL Developer\system4.0.1.14.48

    2 %APPDATA%\sqldeveloper

    In fact, adjusted for the specific system folder, this step is the "gold standard" to check the corruption of parameters user isn't the problem.  It also contributes to the maintenance of that developer SQL does not point to some old JDK still installed on the computer.

    If there are special circumstances and the generic tips mentioned above do not help, please always include information about your computing environment and

    Details of the circumstances in which the deadlock occurs. For example, after the very important version of SQL Developer, useful information might include...

    1 operating system and JDK version (32-bit or 64-bit).

    2 physical RAM, the JVM memory settings

    3. oracle database version and if the database is on the same PC, or accessible via a LAN or WAN (high latency)

    4. details of the JDBC driver.  You use the default value or override in preferences with a version of Oracle client?  Type of OIC/thick or thin driver?

    5. double system?

    6 Citrix environment?

    7. third-party extensions installed?

    8. what exactly you were doing when the freeze occurred? Was there a large file or files involved?

    9. number of open connections, the spreadsheets, editors when the freeze occurred?

    Hope this helps,

    Gary

    SQL development team

    Post edited by: Gary Graham

  • Auto generate Group By in SQL Developer

    In SQL Developer 4.0.1.14, the option to disable "Autogenerate Group By" has DISAPPEARED from the option page 'insight to completion. "  (Preferences, Code Editor, completion Insight).  I am a teacher of a class in which we do different things with group who go beyond what makes automatic generation.  How can I disable this feature?  When I installed on my laptop, I imported the settings of 3.2, and is not automatically generate.  It is not available to students who have just downloaded SQL Dev 4.  And I can't turn it back on to find a way around it.  Is there a solution?

    The autogenerate value bit is actually no more. It is now group, on request.

    It relates to the analysis of information advice semantic - if you put that supply advice to add group over will not appear.

    I'm talking about this new feature a little here.

  • Need help on Sql Developer 4.0.0.13.30

    Hello

    I need a few suggestions if the underside of features/settings exist in the version of the sql developer said.

    When I open a new connection, a new code editor opens sometimes, sometimes it does not. It should open each time. Is there any setting for this?

    Can I get a list of all currently open windows in a corner of my window of developer sql (like its pl/sql developer tool, in the lower left corner)?

    I can cascade open windows? I can see vertical / horizontal / Float option window, but none cascading is here.

    Thank you

    If you click on the small blue arrow in the top right corner down - it will be on the same line as the list of tabs of the document - it will show you your list of open editors. Windows > Documents will also show you this.

  • Oracle SQL Developer to the database unifying connection

    Hello community!

    I am developing a SQL string that will pull data from various processes of cost (i plan to wrap the dataview object in a cube and publish a dashboard after that). I was wondering if there is any way to connect oracle SQL Developer for oracle hosted instance unify to create code more efficiently? If so, explain the steps for me please?

    I can get the following information of Oracle BI Publisher, see Exhibit A.

    I have to fill in the fields in Appendix B and this is where I don't know how to do this, see Exhibit B.

    Your help is highly appreciated

    Concerning

    Amir

    Hi Amir - there is currently no way to directly connect to the DB for unifying hosted environments. We are currently working on this issue.

    In the meantime, you can use the SQL Editor in your BI Publisher server interface. You build instructions SQL can then be pasted in via data in unifying views.

  • SQL Developer to crash at startup.

    I made several attempts using different versions of SQL Developer and different versions of Java on the machine with Microsoft Windows 8.1 Build Enterprise (x 64) 9600.

    sqldeveloper - 4.0.1.14.48 - no - jre.zip 235,385,812

    sqldeveloper - 4.1.2.20.64 - no - jre.zip 329,066,864

    sqldeveloper - 4.1.2.20.64 - x 64.zip 399,957,535

    sqldeveloper64 - 3.0.04.34 - no - jre.zip 154,645,086

    sqldeveloper64 - 3.2.20.09.87 - no - jre.zip 182,052,469

    sqldeveloper - 4.1.3.20.78 - no - jre.zip 331,401,110

    Example of process:

    (1) files extracted to sqldeveloper - 4.1.2.20.64 - no - jre.zip

    (2) run sqldeveloper

    (3) window appears asking you to JDK home - click 'Browse '.

    (4) access to the Java/jdk1.8.0_65 - click on "select a folder.

    (5) confirm the path with "OK".

    (6) beginning of the program - the start screen flashes on the screen, but for a short period of time (tenths of a second).

    (7) nothing else is happening.

    (8) for execution sqldeveloper again not questions about the JDK. All splash screen (once again just flash).

    (9) in the Manager of tasks (details) I see for about a half second the process 'sqldeveloper64W.exe '.

    I've tried combinations of different JDK and version of the SQL Developer - some versions display warning on the supported Java versions.

    The latest version I managed to run (ignoring warning) 3.2.20.09 has been building hand - 09.87 using java jdk1.8.0_65.

    No luck with all versions 4 +.

    I also tried to collect debugging information as described in http://www.thatjeffsmith.com/archive/2012/06/how-to-collect-debug-info-for-oracle-sql-developer/

    First attempt was unsuccessful - screen displayed for the second half and then again in line with command prompt is displayed in the CMD window.

    I tried several times and finally was fast enough to press ctr + pause/break in this short time.

    I tried it with versions 4.1.2.20.64 and 4.1.3.20.78. The latest is here:

    
    2016-01-14 15:01:18
    Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.65-b01 mixed mode):
    
    
    "AWT-EventQueue-0" #15 prio=6 os_prio=0 tid=0x00000000160e7800 nid=0x66c runnabl
    e [0x0000000016d7e000]
       java.lang.Thread.State: RUNNABLE
            at com.sun.imageio.spi.FileImageInputStreamSpi.createInputStreamInstance
    (FileImageInputStreamSpi.java:55)
            at javax.imageio.ImageIO.createImageInputStream(ImageIO.java:357)
            at javax.imageio.ImageIO.read(ImageIO.java:1304)
            at oracle.ide.osgi.boot.SplashScreenImpl$ImagePanel.<init>(SplashScreenI
    mpl.java:273)
            at oracle.ide.osgi.boot.SplashScreenImpl.jbInit(SplashScreenImpl.java:18
    7)
            at oracle.ide.osgi.boot.SplashScreenImpl.<init>(SplashScreenImpl.java:15
    2)
            at oracle.ide.osgi.boot.api.SplashScreen$1.run(SplashScreen.java:62)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
            at java.awt.EventQueue.access$500(EventQueue.java:97)
            at java.awt.EventQueue$3.run(EventQueue.java:709)
            at java.awt.EventQueue$3.run(EventQueue.java:703)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP
    rivilege(ProtectionDomain.java:76)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:201)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:116)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:105)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    
    
    ^       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    C       at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    
    
    "AWT-Windows" #13 daemon prio=6 os_prio=0 tid=0x00000000160e6800 nid=0x26a8 runn
    able
    [0x0000000016c7f000]
       java.lang.Thread.State: RUNNABLE
      at sun.awt.windows.WToolkit.eventLoop(Native Method)
            at sun.awt.windows.WToolkit.run(WToolkit.java:306)
            at java.lang.Thread.run(Thread.java:745)
    
    
    "AWT-Shutdown" #12 prio=5 os_prio=0 tid=0x00000000160e4000 nid=0x278 in Object.w
    ait() [0x0000000016b7f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000efa047d0> (a java.lang.Object)
            at java.lang.Object.wait(Object.java:502)
            at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:295)
            - locked <0x00000000efa047d0> (a java.lang.Object)
            at java.lang.Thread.run(Thread.java:745)
    
    
    "Java2D Disposer" #11 daemon prio=10 os_prio=2 tid=0x00000000160e3000 nid=0x60 i
    n Object.wait() [0x0000000016a7f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000ef9ff4b0> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
            - locked <0x00000000ef9ff4b0> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
            at sun.java2d.Disposer.run(Disposer.java:148)
            at java.lang.Thread.run(Thread.java:745)
    
    
    "Service Thread" #9 daemon prio=9 os_prio=0 tid=0x0000000015ac0800 nid=0x80c run
    nable [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    
    "C1 CompilerThread2" #8 daemon prio=9 os_prio=2 tid=0x000000001414d800 nid=0x149
    c waiting on condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    
    "C2 CompilerThread1" #7 daemon prio=9 os_prio=2 tid=0x000000001414b000 nid=0x1f9
    4 waiting on condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    
    "C2 CompilerThread0" #6 daemon prio=9 os_prio=2 tid=0x0000000014146800 nid=0x254
    0 waiting on condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    
    "Attach Listener" #5 daemon prio=5 os_prio=2 tid=0x0000000014144800 nid=0xde0 ru
    nnable [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    
    "Signal Dispatcher" #4 daemon prio=9 os_prio=2 tid=0x0000000014143000 nid=0x1130
     waiting on condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    
    "Finalizer" #3 daemon prio=8 os_prio=1 tid=0x000000000229b800 nid=0x13bc in Obje
    ct.wait() [0x00000000154af000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000ef5870b8> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
            - locked <0x00000000ef5870b8> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
            at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)
    
    
    "Reference Handler" #2 daemon prio=10 os_prio=2 tid=0x0000000014108800 nid=0xd8c
     in Object.wait() [0x00000000153af000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000ef586af8> (a java.lang.ref.Reference$Lock)
            at java.lang.Object.wait(Object.java:502)
            at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:157)
            - locked <0x00000000ef586af8> (a java.lang.ref.Reference$Lock)
    
    
    "main" #1 prio=5 os_prio=0 tid=0x00000000021a3800 nid=0x2274 in Object.wait() [0
    x000000000013e000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000efa09b08> (a java.awt.EventQueue$1AWTInvocationL
    ock)
            at java.lang.Object.wait(Object.java:502)
            at java.awt.EventQueue.invokeAndWait(EventQueue.java:1313)
            - locked <0x00000000efa09b08> (a java.awt.EventQueue$1AWTInvocationLock)
    
    
            at java.awt.EventQueue.invokeAndWait(EventQueue.java:1294)
            at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
            at oracle.ide.osgi.boot.SplashScreenImpl.SynchronizeWithEdt(SplashScreen
    Impl.java:539)
            at oracle.ide.osgi.boot.api.SplashScreen.createInstance(SplashScreen.jav
    a:66)
            - locked <0x00000000ef9b5698> (a java.lang.Object)
            at oracle.ide.osgi.boot.OracleIdeLauncher.showSplashScreen(OracleIdeLaun
    cher.java:821)
            at oracle.ide.osgi.boot.OracleIdeLauncher.main(OracleIdeLauncher.java:11
    3)
    
    
    "VM Thread" os_prio=2 tid=0x0000000014107800 nid=0x24fc runnable
    
    
    "GC task thread#0 (ParallelGC)" os_prio=0 tid=0x00000000021bb000 nid=0x201c runn
    able
    
    
    "GC task thread#1 (ParallelGC)" os_prio=0 tid=0x00000000021bd800 nid=0xfb4 runna
    ble
    
    
    "GC task thread#2 (ParallelGC)" os_prio=0 tid=0x00000000021bf000 nid=0x1f48 runn
    able
    
    
    "GC task thread#3 (ParallelGC)" os_prio=0 tid=0x00000000021c0800 nid=0x1b4c runn
    able
    
    
    "VM Periodic Task Thread" os_prio=2 tid=0x0000000015af8800 nid=0x408 waiting on
    condition
    
    
    JNI global references: 341
    
    
    Heap
     PSYoungGen      total 38400K, used 6704K [0x00000000ef580000, 0x00000000f200000
    0, 0x0000000100000000)
      eden space 33280K, 20% used [0x00000000ef580000,0x00000000efc0c0a0,0x00000000f
    1600000)
      from space 5120K, 0% used [0x00000000f1b00000,0x00000000f1b00000,0x00000000f20
    00000)
      to   space 5120K, 0% used [0x00000000f1600000,0x00000000f1600000,0x00000000f1b
    00000)
     ParOldGen       total 87552K, used 0K [0x00000000ce000000, 0x00000000d3580000,
    0x00000000ef580000)
      object space 87552K, 0% used [0x00000000ce000000,0x00000000ce000000,0x00000000
    d3580000)
     Metaspace       used 7621K, capacity 7854K, committed 7936K, reserved 1056768K
      class space    used 879K, capacity 968K, committed 1024K, reserved 1048576K
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    Please let me know if all the config files or additional information would help

    Concerning

    Location of these files can cause problems? It does not prevent SQL Developer 3.2 work.

    Apparently. Director of the company may shed some light on why this is true. In practice, you can try to force the SQL Developer user settings in a local folder that is writable, discutΘ in: problem starting sql developer 4.1.1.19.59

    For convenience, here's an excerpt.  Use your 4.1.3.20.78x64 installation.  Choose a path to a local folder, even one on a flash drive.  Should work.

    Add something like this line to the file sqldeveloper.conf to your installation:

    AddVMOption - Dide.user.dir =

  • -You also get an invalid identifier error when executing this query sql for a data model, but not in TOAD/SQL Developer?

    Hello OTN.

    I don't understand why my sql query will pass by in the data model of the BI Publisher. I created a new data model, chose the data source and type of Standard SQL = SQL. I tried several databases and all the same error in BI Publisher, but the application works well in TOAD / SQL Developer. So, I think it might be something with my case so I'm tender hand to you to try and let me know if you get the same result as me.

    The query is:

    SELECT to_char (to_date ('15-' |)) TO_CHAR(:P_MONTH) | » -'|| (To_char(:P_YEAR), "YYYY-DD-MONTH") - 90, "YYYYMM") as yrmth FROM DUAL


    Values of the variable:

    : P_MONTH = APRIL

    : P_YEAR = 2015

    I tried multiple variations and not had much luck. Here are the other options I've tried:

    WITH DATES AS

    (

    Select TO_NUMBER (decode (: P_MONTH, 'JANUARY', '01',))

    'FEBRUARY', '02',.

    'MARCH', '03'.

    'APRIL', '04'

    'MAY', '05'.

    'JUNE', '06'.

    'JULY', '07',.

    'AUGUST', '08'.

    'SEPTEMBER', '09'.

    'OCTOBER', '10',.

    'NOVEMBER', '11'.

    "DECEMBER", "12."

    '01')) as mth_nbr

    of the double

    )

    SELECT to_char (to_date ('15-' |)) MTH_NBR | » -'|| (TO_CHAR(:P_YEAR), 'DD-MM-YYYY') - 90, "YYYYMM")

    OF DATES

    SELECT to_char (to_date ('15-' |: P_MONTH |)) » -'|| ((: P_YEAR, 'MONTH-DD-YYYY')-90, "YYYYMM") as yrmth FROM DUAL

    I'm running out of ideas and I don't know why it does not work. If anyone has any suggestions or ideas, please let me know. I always mark answers correct and useful in my thread and I appreciate all your help.

    Best regards

    -Konrad

    So I thought to it. It seems that there is a bug/lag between the guest screen that appears when you enter SQL in the data model and parameter values, to at model/value data.

    Here's how I solved my problem.

    I have created a new data model and first created all my settings required in the data model (including the default values without quotes, i.e. APRIL instead "Of APRIL") and then saved.

    Then I stuck my sql query in the data model and when I clicked ok, I entered my string values in the message box with single quotes (i.e. "in APRIL' instead of APRIL)

    After entering the values of string with single quotes in the dialog box, I was able to retrieve the columns in the data model and save.

    In the data tab, is no longer, I had to enter the values in single quotes, but entered values normally instead, and the code worked.

    It seems the box prompted to bind the values of the variables when the SQL text in a data model expects strings to be wrapped in single quotes, but no where else. It's a big headache for me, but I'm glad that I solved it, and I hope this can be of help to other institutions.

    See you soon.

  • Bug of NLS in SQL Developer 4.1 on mac

    Hi all

    I downloaded sqldeveloper 4.1.1.19.59 for mac os x from the Web site. When you try to connect to an Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64 bit Production database I get an error ORA-12705, the same error as shown in this issue: update SQL Developer 4.0.1 cannot connect (error ORA-12705) . I tried the NLS settings in my sqldeveloper than those of my database, but nothing happened.

    Currently, the problem was solved by using an older version of sqldeveloper. Specifically, 4.0.2 version.

    Signs of what's going on?

    Kind regards.

    Julian

    Although not specific to OS X, another debate is better: Developer SQL 4.1.1.19.59: error opening Database 9i or package procedure

    So, to summarize...

    1 use a version of SQL Developer (4.0.3 or lower) which comes with a 11.2.0.3 (or less) JDBC. That should help to interact with Oracle 9i.

    2. install a 11.2.0.3 Oracle instant client and configure SQL Developer 4.1.1 to use rather than the 12.1 driver

    See Tools > Preferences > Database > advanced > use Oracle Client... Configure...

Maybe you are looking for