Developer SQL - To_Char not a recognized function
Hi allI have a database SQL Server 2005 connected via Oracle SQL Developer V 1.5.1. I'm trying to convert the date system to a character in the form of YYYYMMDD date.
So I used this statement but it comes back with the error that it is not a valid function.
To_char (sysdate, 'YYYYMMDD')
I searched on the net but can't seem to solve this problem, this means that TO_CHAR works only if you are connected to an Oracle database?
If so, is there another function that I can use for this?
see you soon
mitroberts wrote:
I searched on the net but can't seem to solve this problem, this means that TO_CHAR works only if you are connected to an Oracle database?
Different providers offer different features, it's true.
mitroberts wrote:
If so, is there another function that I can use for this?
You'd have to ask (or google) someone competent in SQL Server, this is a forum for Oracle, so probably not trampling the best reason for you to see results in.
Through the magic of google, I found you a potential answer... it took me all of 5 seconds to scan search results and to determine this looked promising. Something to consider in the future (it will actually save you time).
http://social.msdn.Microsoft.com/forums/en/TransactSQL/thread/7d4a392f-6d3D-432a-9F95-285cc2a0dee2
Tags: Database
Similar Questions
-
I am a developer SQL 3.1.07.42 Windows 7 64 bit with java 1.7
I have c:\test.sql that contains
and c:\testscript.sql that containsPROMPT Working
If I open a new worksheet and type:set echo on set serveroutput on / GET c:\test.sql SAVE c:\test_working.sql LIST 1 LAST RUN
then press F5, I get:@\testscript.sql
If the c:\test_working.sql is not created and the content of the script is not executed.@\testscript.sql
set serveroutput on
/
GET c:\test.sql
SAVE c:\test_working.sql
LIST 1 LAST
RUN
What I am actually trying to do here (and maybe you guys have a better idea) is to capture the output of the sql command that appears on the client, send it to the server, treat it somehow and then do everything with her (she log in my case).
For example (a very simple example from my scripts).
the idea is to be able to save the output of any control block / anonymous plsql in a way that can be sent to the server for processing (this is for most mistakes, of course).spool c:\temporary.tmp create table test(); spool off; get c:\temporary.tmp 0 begin insert into logtable (msg) (trim(' 100 ')); end; save logit.sql @'logit.sql'
I can intercept DBMS_OUTPUT turning SERVEROUTPUT then a DBMS_OUTPUT. ACTIVATE and finally using DBMS_OUTPUT. GET all the lines and the process/log them, but I have not found a way yet to catch the rest of the "TERMOUT' of treatment other than the queue, but even then, I couldn't find a way to get the local file (content) on the server; and this idea GET/SAVE/RUN appeared to be feasible but its does not work (I even tried interactively, but maybe I'm doing something wrong).
Any ideas/suggestions on the topic are welcome.
Thank you.Hello
According to the 3.1.04.72 SQL Developer documentation, the "get" command (among others) is not supported:
Help | Table of contents | SQL Developer concepts and use. With the help of the SQL worksheet | SQL * more supported and unsupported statement...If the options are limited. If sqlplus is available and use it as an "external" tool will not conflict entirely with local policy, these links may interest you:
Re: sqlplus vs sqldeveloper
Easy Connect and sqldev.conn issuesOtherwise, you can add a feature request for this on the SQL Developer and see if such an improvement is a priority for the community.
Kind regards
Gary
SQL development team -
Developer SQL does not start on Mac OS x Lion
Hello
hoping someone can help me with this one, I've been running 3 SQL Developer on the macbook no problem for about a year, I have recently updated to Mac OS x Lion and now when I try to start SQL Developer, he is not running.
I downloaded and installed the latest version of java, as noted on the download page of SQL Developer.
When I start the SQL Developer and view the activity monitor the 'bash' process starts to use 100% of the CPU very quickly and Developer SQL can't yet to the start screen.
Can someone point me in the right direction in terms of diagnosing this problem? Is there a log file I can see again or how to start the SQL Developer with specific arguments?
Kind regards
StuDeveloper SQL works for me on my Macbook the Lion. Corresponding host Java looks like:
/System/library/Java/JavaVirtualMachines/1.6.0.JDK/contents/home
Here's how my conf file is set up:
AddVMOption - Dcom.apple.mrj.application.apple.menu.about.name = "SQL_Developer"
AddVMOption - Dcom.apple.mrj.application.growbox.intrudes = false
AddVMOption - Dcom.apple.macos.smallTabs = true
AddVMOption - Dapple.laf.useScreenMenuBar = true
True SetSkipJ2SDKCheck
SetJavaHome /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
AddVMOption - Xbootclasspath/p:... /... /RDBMS/jlib/ojdi.jar(/ Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper-Darwin.conf)
Good luck!
-Andrew Wolfe
-
Hello
I just downloaded SQL Developer 4.1.1.19, I instaled java jdk and tried to run the sqldeveloper.exe file. Developer SQL window opens, it says loading, progress bar moves up to something like 10% and then it just stops without any error or warning.
Anyone have any idea what should I do?
Radek
I've moved the SQL folder to C directly and it worked...
-
Hello
I use SQL Developer Version 4.0.2.15 Build 15.21.
When I change some developer packages SQL freezes and get of does not.
At the same time, he starts using 25% of the CPU and about 500 MB of RAM.
From what I can tell, the issue seems to occur when you double-click a word in the package editor or after pasting a word at random.
It seems to be random and I can't find a reason for this except what happens inside packages with more than 1000 lines of code.
Please find some information of log files:
SEVERE 4449 0 oracle.ide.controller.IdeAction Error during handleEvent on action 'Thumbnail' (id=150). None of the attached controllers handled the action.. SEVERE 4449 0 oracle.ide.controller.IdeAction Error during handleEvent on action 'Thumbnail' (id=150). None of the attached controllers handled the action.. SEVERE 24085 0 oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$1 49 SEVERE 24086 1246 oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$1 49 SEVERE 24087 10838 oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$1 null SEVERE 4590 94562849 oracle.ide.controller.IdeAction Error during handleEvent on action 'Compile' (id=374).None of the attached controllers handled the action. - oracle.ide.controller.IdeAction$ControllerDelegatingController@abb730a4[oracle.ideimpl.controller.MetaClassController@abb730a4[oracle.dbtools.raptor.plsql.PLSQLController]]. SEVERE 4648 3908208 null
Please help to solve this problem, because it's really frustrating to compile the package all 2-3 rows of written code because you don't know when it's going to crash.
Currently, I have the sqldeveloper64W.exe process that freezes user 50% of my proc and the only way to close is to kill them from the Task Manager.
Thank you
Alex.
Hi Alex,
There is a known issue when you use copy/paste via the shortcut keys. Don't know if this is quite fixed yet - here is the link to more complete discussion I could find:
Kind regards
Gary
SQL development team
-
Developer SQL does not not under win 8.1.1
Hi, I do not know if I am in the right section, sorry if not.
I have problem with Oracle SQL developer 4.0.1.14.48 (also SQL developer Data Modeler), which does not load under win 8.1 update 1 (fully implemented win8 to date).
I get only start screen with about 1 cm bar loading with the message "loading", after seconds, start screen turn off and nothing else happens. There are no related processes in the Manager of tasks, no error message, nothing. My friend has the same problem. Both PC's are laptops.
Pls help.
I just noticed new version has been published, (4.0.2.15.21) and his work with my windows 8.1.1
Thank you.
-
Developer SQL does not recognize my network drive
I have to cut and paste the full path, including the name of the document in order to pull up a file of my network drive. Same question if I try to save a new document on my network drive.
This is what I see when trying to open a document:
However, you can see that I have a lot of mapped drives:
Found the problem. Right click on the shortcut I used to run SQL Developer, chose Properties, click the compatibility tab and unchecked 'run this program as an administrator' under the privilege level.
-
Developer SQL does not start, crashes with loading screen, the Mavericks MAC
I know not where to go from here, I have the JDK path worked I believe (see below).
Open the start window, the blue bar goes to about 1/2 "and then it is just there and don't do anything.
How can I debug this from here?
I don't think that it is the JDK, I did the following and I see to open the log file that SqlDeveloper has the JDK files open.
Ive done everything I have found to be relevant, everything that follows without success...
- added SetJavaHome /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home to sqldeveloper_darwin.conf
- added IncludeConfFile sqldeveloper - Darwin.conf to sqldeveloper.conf
- added (link)
function setjdk() {}
If [$#-don't 0]; then
removeFromPath ' / System/Library/Frameworks/JavaVM.framework/Home/bin'
If [n ' ${JAVA_HOME + x} "]; then
removeFromPath $JAVA_HOME
FI
Export JAVA_HOME ='/ usr/libexec/java_home - v $@ '
export PATH = $JAVA_HOME/bin: $PATH
FI
}
function removeFromPath() {}
export PATH = $(echo $PATH | sed-E-e « s;: $1; ") -e"s; $1 : ? ; ")
}
setjdk 1.7
in. / added to bash_profile
I downloaded the previous version 4.0.0.13 Version and it works without any problem.
I'll wait until the next version comes out and try it.
Thank you
-
4.0EA3: Developer SQL does not start on 19 64-bit fedora
Hello.
When I run sqldeverloper in the 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 path of an installation of JDK (or Ctrl-C to exit), the path is 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 Java runtime environment:
#
# SIGSEGV (0xb) at pc = 0x00000037dda62de0, pid = 2562, tid is 140088626366208
#
# Version JRE: Java (TM) SE Runtime Environment (7.0_45 - b18) (build 1.7.0_45 - b18)
# Java VM: Java hotspot 64-bit Server VM (24, 45 - b08 mixed mode linux-amd64 compressed oops)
# Problematic frame:
C# 0X00000037DDA62DE0
#
# Write core dump failed. Core dumps unannounced have been disabled. To enable core dumping, try "ulimit unlimited-c" before starting the Java again
#
# A file error with more information report is saved as:
# /tmp/hs_err_pid2562.log
#
# If you want to submit a bug report, please visit:
# http://bugreport.Sun.com/bugreport/crash.jsp
#
/ opt/sqldeveloper/sqldeveloper/bin /... /... /IDE/bin/Launcher.sh: online 1117:2562 Aborted (core dumped) ${JAVA} "${APP_VM_OPTS [@]}" ${APP_ENV_VARS} - classpath ${APP_CLASSPATH} {APP_MAIN_CLASS} ' ${APP_APP_OPTS [@]} ".
unplugged the GNOME_DESKTOP_SESSION_ID variable, you should be good
-
Developer SQL blocks every time when saving
Hello, I am using SQL Developer for the last 6 months on the same project, and just recently, I started running into this question. Everytime I go to save the entire application crashes and this happens without worrying if I use the shortcut (ctrl + s) or click on the button Save real. I have this problem consistantly when recording, but it will also happen occationaly when I open a menu, compilation or perform a specific function. I have tried different ideas to solve the problem as the increase in the value of Xms, disable some preferences, used different java sdk, updated and re-installed but nothing has changed. My friend who did the same as me is having no problem. Is there anything I can delete temporary data that could help with this? I've been looking at other positions, but the only one I've seen that's similar to me is not answered and some points in a similar position, but unanswered,
is this post.Here is my error report, it is bigger than my buffer allows then it is cut in the upper part. I'm working on getting all of this, I just wanted to post this in the meantime.
Thanks for any help.
at org.openide.util.RequestProcessor$TickTac.obtainFirst(RequestProcesso r.java:2267) - locked <0x00000000ce163850> (a java.lang.Class for org.openide.util.Re questProcessor$TickTac) at org.openide.util.RequestProcessor$TickTac.run(RequestProcessor.java:2 243) "Active Reference Queue Daemon" daemon prio=2 tid=0x000000000a62b800 nid=0x2184 in Object.wait() [0x000000000b87f000] java.lang.Thread.State: TIMED_WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00000000d2594818> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135) - locked <0x00000000d2594818> (a java.lang.ref.ReferenceQueue$Lock) at org.openide.util.lookup.implspi.ActiveQueue$Daemon.run(ActiveQueue.ja va:180) - locked <0x00000000d2594818> (a java.lang.ref.ReferenceQueue$Lock) "TimerQueue" daemon prio=6 tid=0x000000000a5ed000 nid=0x219c waiting on conditio n [0x000000000b67f000] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x00000000ce164458> (a java.util.concurrent.lock s.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226 ) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject .awaitNanos(AbstractQueuedSynchronizer.java:2082) at java.util.concurrent.DelayQueue.take(DelayQueue.java:220) at javax.swing.TimerQueue.run(TimerQueue.java:171) at java.lang.Thread.run(Thread.java:745) "AWT-EventQueue-0" prio=6 tid=0x000000000a3b3000 nid=0x2198 waiting on condition [0x000000000ad7a000] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x00000000d353fcf0> (a java.util.concurrent.lock s.ReentrantReadWriteLock$NonfairSync) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226 ) at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireShared Nanos(AbstractQueuedSynchronizer.java:1033) at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireShare dNanos(AbstractQueuedSynchronizer.java:1326) at java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.tryLock(Re entrantReadWriteLock.java:873) at oracle.javatools.buffer.JdkReadWriteLockImplementation.lock(JdkReadWr iteLockImplementation.java:189) at oracle.javatools.buffer.JdkReadWriteLockImplementation.readLock(JdkRe adWriteLockImplementation.java:94) at oracle.javatools.buffer.ReadWriteLock.readLock(ReadWriteLock.java:192 ) at oracle.javatools.buffer.AbstractTextBuffer.readLock(AbstractTextBuffe r.java:948) at oracle.javatools.buffer.ReadTextBufferDecorator.readLock(ReadTextBuff erDecorator.java:126) at oracle.javatools.editor.BasicDocument.readLock(BasicDocument.java:442 ) at oracle.javatools.editor.folding.DefaultCodeFoldingModel.readLock(Defa ultCodeFoldingModel.java:198) at oracle.javatools.editor.folding.CodeFoldingMargin.paintComponent(Code FoldingMargin.java:855) at javax.swing.JComponent.paint(JComponent.java:1054) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JViewport.paint(JViewport.java:731) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at org.jdesktop.jxlayer.JXLayer.paint(Unknown Source) at org.jdesktop.jxlayer.plaf.AbstractLayerUI.paintLayer(Unknown Source) at org.jdesktop.jxlayer.plaf.AbstractLayerUI.paint(Unknown Source) at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161) at javax.swing.JComponent.paintComponent(JComponent.java:778) at org.jdesktop.jxlayer.JXLayer.paint(Unknown Source) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at org.netbeans.swing.tabcontrol.TabbedContainer.paint(TabbedContainer.j ava:994) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at org.netbeans.core.windows.view.ui.MultiSplitPane.paint(MultiSplitPane .java:341) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at org.netbeans.core.windows.view.ui.MultiSplitPane.paint(MultiSplitPane .java:341) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JLayeredPane.paint(JLayeredPane.java:585) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at org.netbeans.core.windows.view.ui.MainWindow$1.paint(MainWindow.java: 179) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JLayeredPane.paint(JLayeredPane.java:585) at javax.swing.JComponent.paintChildren(JComponent.java:887) - locked <0x00000000ce717a18> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5219) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManag er.java:295) at javax.swing.RepaintManager.paint(RepaintManager.java:1249) at javax.swing.JComponent._paintImmediately(JComponent.java:5167) at javax.swing.JComponent.paintImmediately(JComponent.java:4978) at javax.swing.RepaintManager$3.run(RepaintManager.java:808) at javax.swing.RepaintManager$3.run(RepaintManager.java:796) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDo main.java:76) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:7 18) at javax.swing.RepaintManager.access$1100(RepaintManager.java:62) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java :1677) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDo main.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQu eueWrapper.java:169) at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQue ueWrapper.java:151) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre ad.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread. java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) "AWT-Windows" daemon prio=6 tid=0x000000000a3ae000 nid=0x217c runnable [0x000000 000ab1f000] java.lang.Thread.State: RUNNABLE at sun.awt.windows.WToolkit.eventLoop(Native Method) at sun.awt.windows.WToolkit.run(WToolkit.java:307) at java.lang.Thread.run(Thread.java:745) "AWT-Shutdown" prio=6 tid=0x000000000a3ad000 nid=0x2194 in Object.wait() [0x0000 00000aa1f000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00000000ce2bad18> (a java.lang.Object) at java.lang.Object.wait(Object.java:503) at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:296) - locked <0x00000000ce2bad18> (a java.lang.Object) at java.lang.Thread.run(Thread.java:745) "Java2D Disposer" daemon prio=10 tid=0x000000000a3ac000 nid=0x2190 in Object.wai t() [0x000000000a91f000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00000000ce27f228> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135) - locked <0x00000000ce27f228> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151) at sun.java2d.Disposer.run(Disposer.java:145) at java.lang.Thread.run(Thread.java:745) "Service Thread" daemon prio=6 tid=0x0000000008a5c000 nid=0x2188 runnable [0x000 0000000000000] java.lang.Thread.State: RUNNABLE "C2 CompilerThread1" daemon prio=10 tid=0x0000000008a5a800 nid=0x216c waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "C2 CompilerThread0" daemon prio=10 tid=0x0000000008a55800 nid=0x2180 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Attach Listener" daemon prio=10 tid=0x0000000008a54000 nid=0x1a24 runnable [0x0 000000000000000] java.lang.Thread.State: RUNNABLE "Signal Dispatcher" daemon prio=10 tid=0x0000000008a4d000 nid=0x21d8 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Finalizer" daemon prio=8 tid=0x00000000089fd000 nid=0x21d4 in Object.wait() [0x 0000000009d5f000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00000000ce2bb4a8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135) - locked <0x00000000ce2bb4a8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:189) "Reference Handler" daemon prio=10 tid=0x00000000089f2000 nid=0x1dfc in Object.w ait() [0x0000000009c5f000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00000000ce2bb630> (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Object.java:503) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133) - locked <0x00000000ce2bb630> (a java.lang.ref.Reference$Lock) "main" prio=6 tid=0x00000000027eb800 nid=0x12ec waiting on condition [0x00000000 00000000] java.lang.Thread.State: RUNNABLE "VM Thread" prio=10 tid=0x00000000089ee000 nid=0xf18 runnable "GC task thread#0 (ParallelGC)" prio=6 tid=0x0000000002801000 nid=0xe38 runnable "GC task thread#1 (ParallelGC)" prio=6 tid=0x0000000002802800 nid=0x149c runnabl e "GC task thread#2 (ParallelGC)" prio=6 tid=0x0000000002804800 nid=0x314 runnable "GC task thread#3 (ParallelGC)" prio=6 tid=0x0000000002806000 nid=0x1e88 runnabl e "VM Periodic Task Thread" prio=10 tid=0x000000000a268800 nid=0x218c waiting on c ondition JNI global references: 2254 Heap PSYoungGen total 209408K, used 104582K [0x00000000ef500000, 0x00000000ffb8 0000, 0x0000000100000000) eden space 197632K, 47% used [0x00000000ef500000,0x00000000f4fc39f0,0x00000000 fb600000) from space 11776K, 98% used [0x00000000fb600000,0x00000000fc15e118,0x00000000f c180000) to space 34816K, 0% used [0x00000000fd980000,0x00000000fd980000,0x00000000ff b80000) ParOldGen total 175104K, used 91643K [0x00000000ce000000, 0x00000000d8b00 000, 0x00000000ef500000) object space 175104K, 52% used [0x00000000ce000000,0x00000000d397efd8,0x000000 00d8b00000) PSPermGen total 84992K, used 84957K [0x00000000be000000, 0x00000000c33000 00, 0x00000000ce000000) object space 84992K, 99% used [0x00000000be000000,0x00000000c32f7468,0x0000000 0c3300000)
Finally figured it out, had to kill the session. I am embarressed to say that I try to look at user sessions. When I did, I saw there were two for me, one normal and one that screwed up. It took a few runs for nothing to take, but in the end, it worked, this link helped how kill/terminate a session in Oracle
-
Developer SQL 3.2.20 always invites to indicate the path full java.exe
I installed SQL Developer 3.2.9 to 3.2.20 on my Windows 7 64-bit system. I've updated just like I did earlier. It is "installed" in C:\Program Files (x 86) \sqldeveloper and down there, I have a folder for each version that I installed. sqldeveloper_3.1.07.24, sqldeveloper_3.2.09.30 and now sqldeveloper_3.2.20.09.87.
Now the 3.2.20 new version asks me to enter the path to java.exe whenever I start it. I think that the previous version did this, but only once. This new version does not seem to remember when I choose the path to the java.exe that I use.
Any thoughts on how I can do Developer SQL do not forget where my java.exe?Open the sqldeveloper/bin directory who settle.
Edit the sqldeveloper.conf file and specify the path.
Save the file.
Behavior indicates that the SQL Developer is not able to write to this file...
-
Developer SQL not display warnings from the compiler
I just test the new compiler in 11g warning message related to the exception handler so that "others" when there is a subsequent increase or raise_application_error.
in SQL Plus, it works fine:
but Developer SQL, the output is:SQL> alter session set plsql_warnings='enable:all'; Session altered. SQL> SQL> create or replace function do_stuff 2 return number 3 as 4 v_return number; 5 begin 6 7 v_return := 3; 8 return v_return; 9 10 exception 11 when others then 12 return null; 13 end; 14 / SP2-0806: Function created with compilation warnings SQL> show errors; Errors for FUNCTION DO_STUFF: LINE/COL ERROR -------- ----------------------------------------------------------------- 1/1 PLW-05018: unit DO_STUFF omitted optional AUTHID clause; default value DEFINER used 11/6 PLW-06009: procedure "DO_STUFF" OTHERS handler does not end in RAISE or RAISE_APPLICATION_ERROR
Someone at - there experience this problem? is there a setting that makes Developer SQL behave differently?BANNER -------------------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production PL/SQL Release 11.2.0.3.0 - Production CORE 11.2.0.3.0 Production TNS for Linux: Version 11.2.0.3.0 - Production NLSRTL Version 11.2.0.3.0 - Production session SET altered. FUNCTION do_stuff compiled No Errors.
There is a bug.
The solution is to make sure that the name of the object in CREATE or REPLACE is uppercase
So in your example make DO_STUFF
Run as a Script
Then check the compiler Log/Logging Panel, you will see your mistakes.
It has been marked to be fixed in our next release.
-
Developer SQL not accepting is not some keyboard characters
Hello
I've been using SQL Developer for 5 or 6 months, with minor problems and great satisfaction.
A few days earlier, just out of the blue, in the middle of the day, developer started SQL only accepts only not the following characters:
CTRL-v, Ctrl + c, F5, F9 (I think that all the function keys), BACKSPACE, delete, arrows and Enter. + *
T * its happens only in the part of the text editor *. I am able to use this key in the results, whether they are an output of script or execute query.
Developer SQL works as well (if I stick with the mouse, paste works... and all other keys)
I have not checked the pc of viruses using AVG, no virus found (my avg is updated daily and runs daily virus checks on a calendar and this issue has been here for 1 or 2 weeks, so it was a virus, I think he should be discovered, in addition, keys always work in sql developer (, not only in the text editor component)
It goes without saying, but if I run Notepad and type, keys work properly.
I also reinstalled it to a different folder with no luck
So tried to restart... no luck
Tried in SafeMode... no luck
I use SQL developer Version 1.5.4, HAND-5940 build... on Windows Xp
I suspect there is an option in that I disabled without paying attention...
Help!
Kind regards
CharlesAll this time, try the possible solutions is understandable, but then type in your post... when searching the forum would have given you the solution below 1 minute:
Preferences - accelerators - load - default setting
Hope that helps,
K. -
Hello guys, I know this question has been posted on several occasions in the past, but my question includes developer oracle sql only. I can use the database and all the features through sql * more even execute sql queries. but when it comes to developer sql always returns this error. (error: ORA-12505.)
Windows 8-64 oracle 11 g r2
--------------------------------------------------------------------------------------------------------------------------------------
Welcome to LSNRCTL, enter 'help' for more information.
LSNRCTL > status
Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
STATUS of the LISTENER
------------------------
Alias auditeur1
TNSLSNR for Windows 64-bit version: Version 11.2.0.1.0 - Production
Start date August 11, 2014 13:08:08
Uptime 0 days 0 h 14 min 55 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Listener parameter File C:\app\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
C:\app\oracle\diag\tnslsnr\Needo-pc\listener1\alert\log.XML log listener
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = Needo-pc)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
Summary of services...
Service 'CLRExtProc' has 1 instance (s).
Instance of 'CLRExtProc', status UNKNOWN, has 3 service management...
Service "orcl" has 1 instance (s).
Instance "orcl", State LOAN, has 1 operation for this service...
Service 'orclXDB' has 1 instance (s).
Instance "orcl", State LOAN, has 1 operation for this service...
The command completed successfully
-----------------------------------------------------------------------------------------------------------------
LSNRCTL > services
Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
Summary of services...
Service 'CLRExtProc' has 1 instance (s).
Instance of 'CLRExtProc', status UNKNOWN, has 3 service management...
Managers:
"DEDICATED" set up: 0 denied: 0
LOCAL SERVER
"ORACLE SERVER" put in place: 0 denied: current: 0 0 max: 25 status: ready
CLRExtProc
(ADDRESS = (PROTOCOL = ipc) (PIPENAME=\\.\pipe\NTN_122C_C6D0FCF3. ORA))
"ORACLE SERVER" put in place: 0 denied: current: 0 0 max: 25 status: ready
CLRExtProc
(ADDRESS = (PROTOCOL = ipc) (PIPENAME=\\.\pipe\NTN_122C_C6D0FCF3. ORA))
Service "orcl" has 1 instance (s).
Instance "orcl", State LOAN, has 1 operation for this service...
Managers:
"DEDICATED" set up: 22 refused: 0 status: ready
LOCAL SERVER
Service 'orclXDB' has 1 instance (s).
Instance "orcl", State LOAN, has 1 operation for this service...
Managers:
"D000" put in place: 0 denied: current: 0 0 max: 1022 State: loan
DISPATCHER < machine: NEEDO-PC, pid: 3172 >
(ADDRESS = (PROTOCOL = tcp) (HOST = Needo-pc)(PORT=52654))
The command completed successfully
------------------------------------------------------------------------------------------
Thank you!
Try it with sid ORCL instead of XE.
If this does not help, then choose SERVICE_NAME orcl instead of SID in sql developer.
Your listener seems to have an entry for this.
You can also test it in SQl * more. But what you've done so far in SQl * plus was a "server connection", without providing the database.
Because in your case, the client and the server is on the same machine, it works with sql * more.
If you try a customer coonnect by specifying the database, then you would do the same thing as the Oracle SQL Developer is by train.
For test purposes, something like
sqlplus user/pwd@host:port/ORCL
also in the Sqlnet.ora file must be an etry for local EZCONNECT connect method. I don't know if it is set during the installation of network by default.
You can try if there is an Alias-TNS name (configured in the tnsnames.ora)
sqlplus user/pwd@ORCL
If it works with sql * plus, so you must always indicate the sql developer where the tnsnames.ora file is located on your computer.
The setting can be found in the menu: extras/tools/base data/improved
The tnsnames.ora file is usually in a file like this:
C:\Oracle\product\11.2.0\client_1\network\admin
-
Extension of SQL Developer Java does not
Hello
I developed a small extension of Java to start the SQL Developer via command line and put some parameters such as the server name, user and password to create a connection when you start.
THS connection will be deleted when closing.
This extension was working fine until the 3.0.2 version and does not work with version 4.0.2.
My question: are there changes in the load of an extension?
Any help would be appreciated, thanks.
I developed a small extension of Java to start the SQL Developer via command line and put some parameters such as the server name, user and password to create a connection when you start.
THS connection will be deleted when closing.
This extension was working fine until the 3.0.2 version and does not work with version 4.0.2.
My question: are there changes in the load of an extension?
Yes - there are MAJOR changes and they include the use of "lazy" loading of extensions.
See note on the main page of Oracle extension exchange.
http://www.Oracle.com/technetwork/developer-tools/SQL-Developer/Extensions-083825.html Special Note regarding Extensions developed prior to SQL
Developer v4.0:
With the new version of SQL Developer 4.0, an extension that was written for an earlier version of the SQL Developer will no longer work. Developer SQL is based on the JDeveloper Framework. We have updated the framework to be up-to-date with the JDeveloper 12 c version. With JDeveloper 11 g 2, they switched to an OSGI framework. The JDeveloper team issued instructions to update your extensions to be compatible with the new framework and SQL v4.0 developer.
Note that first sentence than the previous expansions 'won't work' If you use them in 4.x
It also appears to be bugs or incompatibilities between the extension of JDeveloper published SDK and the "new" version Sql Dev 4.x uses. The public is 12.1.2, and is one that is available for download for use in the development of an extension. SQL Dev uses version 12.1.3 and who has NOT yet been published.
I have a new thread posted recently to ask about any aspect of this compatibility, but have not yet had all the answers:
https://community.Oracle.com/thread/3570408
A few simple extensions, perhaps yours, may only need a small change in the file "extension.xml" use appropriate brackets.
Other extensions will require additional changes. One of the main changes is the new ESDK of "lazy" loading of extensions use.
Some additional info is available on the Java.net site:
https://Java.NET/projects/jdev-extensions/pages/trigger-hooks
Maybe you are looking for
-
IMAP Yahoo problem with macOS Sierra
Salvation and for reading. After having upgraded to Mac OS Sierra, I got the following surprises: All my IMAP from Yahoo email account are not synchronized more when stocks are made on my mac. IE: if I delete an email on my iPhone, it is deleted on t
-
I have a MacBook end 2011 13 "model of Base. I plan to install 8 GB of RAM and use two monitors (one left) and the other on the right side of my MacBook. My question is this... Should what cables and ports I use? Thank you
-
Error-200088 on TaskHandle issues, NI PCIe-6259
Hi all, I'm working on obtaining a force/torque sensor to work in a custom application to Qt, but I keep running into the same error with the function DAQmxCreateAIVoltageChan (taskHandle, daqPhysicalChannel.c_str (), 0, DAQmx_Val_Cfg_Default, - maxV
-
Copy and paste an image vs fill in an email or MMS
Curious to know if anyone has a preview here. I'm doing an app that will include images to send by email or text (MMS). -Road 1 - place them in the Clipboard and let the user pasted everywhere where To bring them to the Clipboard, it seems that I use
-
BlackBerry Simulater without JDE
Hello world I wonder if it is possible to run a simulater without installing the JDE and to download a demo application on this matter. THX