Timestamp presentation in SQL Developer

Hi everybody,
is there a way to format how a timestamp is presented in the result pane of SQL Developer?
Doing a simple
select sysdate from dual;
shows something like : 24-SEP-09
What I would like to see is: 24-09-2009 08:46:10
without having to use a to_char all the time.
Thanks for your help
Regards
Andy

Hi K,
thanks for your help. Unfortunately it didn't seem to work - but then it could be my mistake :-).
The NLS before I changed it:
Timestamp format: RR-MM-DD HH24:MI:SSXFF
NLS after my change:
Timestamp format: DD-MM-YYYY HH24:MI:SS
select sysdate from dual still shows 09-09-24
Thanks
Regards
Andy

Similar Messages

  • SQL Developer Installation Problems

    Hi,
    We are trying to find a workable alternative to TOAD and have tried to install SQL Developer with not much success.... I think I am just about to give up but hope this last attempt to post for help can create a miracle.
    I would appreciate very much if any one knows of a comprehensive document out there that can help trouble shoot the installation problems.
    Let me give you the hardware and software versions first and then the problems.
    1) SQL Developer tried: sqldeveloper-1.2.1.3213-no-jre and sqldeveloper-1.2.1.3213
    2) JRE tried: JRE 1.5 and JRE 6 (C:\Program Files\Java\jre1.6.0_03)
    3) Window: XP Professional version 2002 Service pack 2
    4) Hardware: Intel Pentium 4 CPU 2.80 GHz, 1.98 GB of RAM
    Problems:
    1) SQL Developer could not find native JDBC. I don't understand why, despite all the variables set in Oracleclient10g_basic in the registry, SQL Developer did not seem to be able to find a 10g client on a network drive. I have to install 10g client directly onto my pc (C:\oracle\product\10.2.0\client_1) to solve this problem.
    2) SQL Developer abruptly disappeared after database login.
    I was able to connect and log into an Oralce 10g database with TNS Connect Identifier approach. There were objects (tables, views, etc) showed up briefly on the left hand side of the SQL Developer and then it just completely disappeared without even an error message or a tearful good-bye.
    The only thing I can find is this error log about EXCEPTION_ACCESS_VIOLATION. After hours searching through OTN for possible mentioning of this error with SQL Developer, I found nothing so far.
    Why is it so difficult to install SQL Developer? Are there a set of un-spoken pre-requisites that has to be satisfied before it can be installed properly? If so, what are they? Path system variable? Registry? Anything else?
    Here's the complete EXCEPTION_ACCESS_VIOLATION error log:
    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x2ca5683c, pid=952, tid=2576
    # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode, sharing)
    # Problematic frame:
    # C [OraOCIEI10.dll+0x4f683c]
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x04330400): JavaThread "Init Insight" [_thread_in_native, id=2576]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
    Registers:
    EAX=0x31a28e40, EBX=0x00000000, ECX=0x03231622, EDX=0x00000000
    ESP=0x04b0f168, EBP=0x04b0f1a8, ESI=0x00000001, EDI=0x0413ded4
    EIP=0x2ca5683c, EFLAGS=0x00010297
    Top of Stack: (sp=0x04b0f168)
    0x04b0f168: 00000001 00a3fb8e 0000000a 00000001
    0x04b0f178: 0413c78c 00000001 02c52aa8 0000000a
    0x04b0f188: 00000020 00a4047e 090ea038 0413def4
    0x04b0f198: 03231622 6d8a87b3 032325c1 0413c78c
    0x04b0f1a8: 04b0f1d8 2ca57072 0413ded4 032325c1
    0x04b0f1b8: 00000001 00000000 03231620 03231622
    0x04b0f1c8: 00000000 00000000 00000000 00000000
    0x04b0f1d8: 04b0f234 2ca56e06 0413c78c 0413ded4
    Instructions: (pc=0x2ca5683c)
    0x2ca5682c: 5c 00 a1 80 58 b3 31 88 9f c4 00 00 00 8b 14 98
    0x2ca5683c: 8b 0a 81 e1 00 80 00 00 89 4d dc 0f 85 90 03 00
    Stack: [0x04ac0000,0x04b10000), sp=0x04b0f168, free space=316k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [OraOCIEI10.dll+0x4f683c]
    C [OraOCIEI10.dll+0x4f7072]
    C [OraOCIEI10.dll+0x4f6e06]
    C [OraOCIEI10.dll+0x419685]
    C [OCI.dll+0x7333]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j oracle.jdbc.driver.T2CStatement.t2cParseExecuteDescribe(Loracle/jdbc/driver/OracleStatement;JIIIZZZZ[BIBII[SI[B[CII[SII[B[CII[I[S[BIIIIZZ[Loracle/jdbc/driver/Accessor;[[[B[J[BI[CI[SIZ)I+0
    j oracle.jdbc.driver.T2CCallableStatement.executeForDescribe()V+271
    j oracle.jdbc.driver.T2CCallableStatement.executeForRows(Z)V+41
    j oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout()V+275
    j oracle.jdbc.driver.OraclePreparedStatement.executeInternal()I+94
    j oracle.jdbc.driver.OraclePreparedStatement.execute()Z+17
    j oracle.jdbc.driver.OracleCallableStatement.execute()Z+60
    j oracle.dbtools.raptor.insight.CompletionInsight.getInsightableOracleDatabase(Loracle/javatools/db/Database;)Loracle/dbtools/raptor/insight/InsightableDatabase;+70
    j oracle.dbtools.raptor.insight.CompletionInsight.<init>(Loracle/ide/Context;Loracle/javatools/db/Database;)V+161
    j oracle.dbtools.sqlworksheet.sqlview.SqlEditorMainPanel$5.run()V+52
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    =>0x04330400 JavaThread "Init Insight" [_thread_in_native, id=2576]
    0x0416ac00 JavaThread "Timer-4" [_thread_blocked, id=1460]
    0x0412cc00 JavaThread "Timer-3" [_thread_blocked, id=2544]
    0x04323800 JavaThread "WeakDataReference polling" [_thread_blocked, id=3756]
    0x0315cc00 JavaThread "Image Fetcher 3" daemon [_thread_blocked, id=3412]
    0x02c17c00 JavaThread "Image Fetcher 2" daemon [_thread_blocked, id=2124]
    0x04324800 JavaThread "Image Fetcher 1" daemon [_thread_blocked, id=2088]
    0x04321800 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=276]
    0x02ca2c00 JavaThread "WaitCursorTimer" daemon [_thread_blocked, id=2096]
    0x00296800 JavaThread "DestroyJavaVM" [_thread_blocked, id=3816]
    0x02cb0400 JavaThread "Timer-1" [_thread_blocked, id=2832]
    0x02c32000 JavaThread "IconOverlayTracker Timer" [_thread_blocked, id=1204]
    0x04060800 JavaThread "Log Page Updater" [_thread_blocked, id=2160]
    0x03323800 JavaThread "TimerQueue" daemon [_thread_blocked, id=3996]
    0x032d1800 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=4004]
    0x032ca400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=1488]
    0x032c9800 JavaThread "AWT-Shutdown" [_thread_blocked, id=256]
    0x032c8400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1064]
    0x02c0d000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2956]
    0x02c08400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3236]
    0x02c07400 JavaThread "Attach Listener" daemon [_thread_blocked, id=3248]
    0x02c06800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3232]
    0x02bfe400 JavaThread "Finalizer" daemon [_thread_blocked, id=2328]
    0x02bfd400 JavaThread "Reference Handler" daemon [_thread_blocked, id=1668]
    Other Threads:
    0x02bfc000 VMThread [id=2868]
    0x02c0e800 WatcherThread [id=2940]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 1536K, used 500K [0x06960000, 0x06b00000, 0x090c0000)
    eden space 1408K, 26% used [0x06960000, 0x069bd3b0, 0x06ac0000)
    from space 128K, 100% used [0x06ac0000, 0x06ae0000, 0x06ae0000)
    to space 128K, 0% used [0x06ae0000, 0x06ae0000, 0x06b00000)
    tenured generation total 19372K, used 12857K [0x090c0000, 0x0a3ab000, 0x26960000)
    the space 19372K, 66% used [0x090c0000, 0x09d4e400, 0x09d4e400, 0x0a3ab000)
    compacting perm gen total 22272K, used 22205K [0x26960000, 0x27f20000, 0x2a960000)
    the space 22272K, 99% used [0x26960000, 0x27f0f780, 0x27f0f800, 0x27f20000)
    ro space 8192K, 62% used [0x2a960000, 0x2ae614a8, 0x2ae61600, 0x2b160000)
    rw space 12288K, 52% used [0x2b160000, 0x2b7a7278, 0x2b7a7400, 0x2bd60000)
    Dynamic libraries:
    0x00400000 - 0x00423000      C:\WINDOWS\system32\java.exe
    0x7c900000 - 0x7c9b0000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f5000      C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f02000      C:\WINDOWS\system32\RPCRT4.dll
    0x77fe0000 - 0x77ff1000      C:\WINDOWS\system32\Secur32.dll
    0x7c340000 - 0x7c396000      C:\Program Files\Java\jre1.6.0_03\bin\msvcr71.dll
    0x6d7c0000 - 0x6da0a000      C:\Program Files\Java\jre1.6.0_03\bin\client\jvm.dll
    0x7e410000 - 0x7e4a0000      C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f57000      C:\WINDOWS\system32\GDI32.dll
    0x76b40000 - 0x76b6d000      C:\WINDOWS\system32\WINMM.dll
    0x6d310000 - 0x6d318000      C:\Program Files\Java\jre1.6.0_03\bin\hpi.dll
    0x76bf0000 - 0x76bfb000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d770000 - 0x6d77c000      C:\Program Files\Java\jre1.6.0_03\bin\verify.dll
    0x6d3b0000 - 0x6d3cf000      C:\Program Files\Java\jre1.6.0_03\bin\java.dll
    0x6d7b0000 - 0x6d7bf000      C:\Program Files\Java\jre1.6.0_03\bin\zip.dll
    0x6d000000 - 0x6d1c3000      C:\Program Files\Java\jre1.6.0_03\bin\awt.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x77c10000 - 0x77c68000      C:\WINDOWS\system32\msvcrt.dll
    0x76390000 - 0x763ad000      C:\WINDOWS\system32\IMM32.dll
    0x774e0000 - 0x7761d000      C:\WINDOWS\system32\ole32.dll
    0x5ad70000 - 0x5ada8000      C:\WINDOWS\system32\uxtheme.dll
    0x73760000 - 0x737a9000      C:\WINDOWS\system32\ddraw.dll
    0x73bc0000 - 0x73bc6000      C:\WINDOWS\system32\DCIMAN32.dll
    0x6d2b0000 - 0x6d303000      C:\Program Files\Java\jre1.6.0_03\bin\fontmanager.dll
    0x74720000 - 0x7476b000      C:\WINDOWS\system32\MSCTF.dll
    0x7c9c0000 - 0x7d1d7000      C:\WINDOWS\system32\shell32.dll
    0x77f60000 - 0x77fd6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x773d0000 - 0x774d3000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
    0x5d090000 - 0x5d12a000      C:\WINDOWS\system32\comctl32.dll
    0x77b40000 - 0x77b62000      C:\WINDOWS\system32\Apphelp.dll
    0x77c00000 - 0x77c08000      C:\WINDOWS\system32\VERSION.dll
    0x03850000 - 0x0386a000      C:\sqldeveloper-1.2.1.3213-no-jre\sqldeveloper\ide\lib\idenative.dll
    0x77120000 - 0x771ab000      C:\WINDOWS\system32\OLEAUT32.dll
    0x6d570000 - 0x6d583000      C:\Program Files\Java\jre1.6.0_03\bin\net.dll
    0x71ab0000 - 0x71ac7000      C:\WINDOWS\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000      C:\WINDOWS\system32\WS2HELP.dll
    0x6d590000 - 0x6d599000      C:\Program Files\Java\jre1.6.0_03\bin\nio.dll
    0x605d0000 - 0x605d9000      C:\WINDOWS\system32\mslbui.dll
    0x6d220000 - 0x6d243000      C:\Program Files\Java\jre1.6.0_03\bin\dcpr.dll
    0x71a50000 - 0x71a8f000      C:\WINDOWS\System32\mswsock.dll
    0x76f20000 - 0x76f47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76fb0000 - 0x76fb8000      C:\WINDOWS\System32\winrnr.dll
    0x76f60000 - 0x76f8c000      C:\WINDOWS\system32\WLDAP32.dll
    0x66210000 - 0x66219000      C:\WINDOWS\system32\netware\NWWS2NDS.DLL
    0x50d50000 - 0x50d98000      C:\WINDOWS\system32\NETWIN32.DLL
    0x50d00000 - 0x50d15000      C:\WINDOWS\system32\CLNWIN32.DLL
    0x50df0000 - 0x50e10000      C:\WINDOWS\system32\LOCWIN32.DLL
    0x50db0000 - 0x50ddc000      C:\WINDOWS\system32\NCPWIN32.dll
    0x71ad0000 - 0x71ad9000      C:\WINDOWS\system32\WSOCK32.dll
    0x66220000 - 0x6622c000      C:\WINDOWS\system32\netware\NWWS2SLP.DLL
    0x66250000 - 0x66257000      C:\WINDOWS\system32\NWSRVLOC.dll
    0x76fc0000 - 0x76fc6000      C:\WINDOWS\system32\rasadhlp.dll
    0x662b0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000      C:\WINDOWS\System32\wshtcpip.dll
    0x6d560000 - 0x6d569000      C:\Program Files\Java\jre1.6.0_03\bin\management.dll
    0x62f00000 - 0x62f13000      C:\oracle\product\10.2.0\client_1\ocijdbc10.dll
    0x03e50000 - 0x03ea7000      C:\oracle\product\10.2.0\client_1\OCI.dll
    0x2c560000 - 0x31bf6000      C:\oracle\product\10.2.0\client_1\OraOCIEI10.dll
    0x77a80000 - 0x77b14000      C:\WINDOWS\system32\CRYPT32.dll
    0x77b20000 - 0x77b32000      C:\WINDOWS\system32\MSASN1.dll
    VM Arguments:
    jvm_args: -Xmx512M -Xverify:none -XX:JavaPriority10_To_OSPriority=10 -XX:JavaPriority9_To_OSPriority=9 -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true -Dsun.java2d.ddoffscreen=false -Dwindows.shell.font.languages= -Dide.conf=sqldeveloper.conf -Dide.home.dir.name=.sqldeveloper
    java_command: oracle.ide.boot.Launcher
    Launcher Type: SUN_STANDARD
    Environment Variables:
    PATH=C:\oracle\product\10.2.0\client_1;X:\oracle10g\product\10.2.0\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\Program Files\IDM Computer Solutions\UltraEdit-32
    USERNAME=leexx255
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 1 (1 cores per cpu, 1 threads per core) family 15 model 2 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 2079468k(1385300k free), swap 4021668k(3516444k free)
    vm_info: Java HotSpot(TM) Client VM (1.6.0_03-b05) for windows-x86, built on Sep 24 2007 22:24:33 by "java_re" with unknown MS VC++:1310
    Is this a java problem? SQL Developer problem? Or something else?
    Thanks in advance,
    a TOAD lover

    The problem you are seeing (the EXCEPTION_ACCESS_VIOLATION) is a result of a version mismatch between the JDBC driver being used by SQL Developer and the Oracle client that is found on the path.
    This issue only occurs when trying to use the OCI version of the JDBC driver. The simplest fix is to switch to using the basic connection type and thus using the thin (all Java) JDBC driver. As no Oracle client is required in this case, the version mismatch won't be an issue.
    However, the connection approach you are using should work, and if you wish to try to sort out the problems there, we should be able to further diagnose the underlying cause of the version mismatch.
    To do this, I would need to see what SQL Developer thinks are the potential Oracle client installs, as well as which install it ends up picking. Can you copy/paste the output in the Log Window (Logging Page) that is present after SQL Developer starts (but before you attempt to connect to any database)? There should be a whole series of entries like 'Checking for ORACLE_HOME environment variable' and 'Checking JDBC driver at <some path>'
    These log entries are output by SQL Developer as it tries to sort out the various bits of information about Oracle client installs and thus give a peek at the selection logic being used.
    Oh, and also - the value of your PATH variable would be useful as well. It may be that there is an Oracle client install on the PATH that supersedes the install SQL Developer is finding via the registry or ORACLE_HOME variable.
    - John McGinnis
    SQL Developer Team

  • SQL Developer Optimization

    I have a few questions about SQL Developer that I was wondering if someone can help with:
    1. Does SQL Developer have the sql optimization feature that is present in Toad?
    Within TOAD, there is a facility that will help the user to optimize the sql and I was wondering if this was present in SQL Developer
    2. When using the compare facility for showing the difference between 2 tables, does SQL Developer show the data that is different?
    Thanks

    K,
    There are a couple of project in the works for this. Heres a quick exert of what we are planning. There is no confirmed release train for this at the minute though. This is provided for information only.
    SQL Code Advisor*
    By leveraging database features like Automated Workload Repository (AWR) and Active Session History (ASH), the potential exists to evaluate any SQL statement within a package or worksheet that has been executed and flag any statements exceeding some performance threshold. The developer will then immediately know if the SQL in question merits any tuning effort or should be left "as is".
    The goal of SQL Code Advisor is to provide real-time feedback to developer within an editor or worksheet on factors which may impact performance. Without going into great detail in this overview, here are some:
    * Connected to database instance with missing system statistics
    * SQL references tables and indexes with missing or stale statistics, or indexes in an invalid state
    * Population and cardinality estimates of referenced tables
    * Type, compression status, cache status, degree of parallelism for referenced tables
    * Explain plan indicates Full Table Scan performed on a large table
    * Explicit datatype conversions of columns in predicates, preventing use of available indexes
    SQL Tuning Advisor*
    By leveraging existing database APIs in the DBMS_SQLTUNE and DBMS_ADVISOR packages, with appropriate UI enhancements, this SQL Tuning Advisor extension will allow a developer to generate a report to warn when SQL performance may be impaired by:
    * stale optimizer statistics
    * missing indexes
    * improper coding practices.
    These APIs are able to perform more in-depth analyses of SQL statements than the optimizer. As a consequence, in addition to offering advice on specific environment and coding issues, it can produce a SQL Profile. The Profile contains additional statistics which help the optimizer find a more efficient execution plan. The original execution plan can be presented side-by-side with the enhanced SQL Profile-assisted execution plan for comparison. The developer has control over which, if any, of the recommendations to accept and deploy.

  • Oracle SQL Developer  error - "The file-based source procedure Name is not present in the database."

    I recently started working on the Oracle SQL developer. I have 'select' privileges on the QA schema and when tried to execute proc in QA. It is giving the error as 'The file-based source <procedure Name>  is not present in the database.  Was it compiled?'
    instead 'you do not have sufficient privileges to execute this procedure'. Did research on internet but with no luck.What configuration changes needed to be done to make it work.Guide me.

    Sounds like you do not have the correct privileges.  What should have been granted to you by the QA user, or some other user with appropriate privileges, is...
    grant EXECUTE on "QA"."<PROCEDURE_OF_INTEREST>" to "<YOUR_USERID>" ;
    Note that a grant of execute on a procedure has nothing to do with grants of select on some or all of QA's tables and views.
    So, as Vadim suggests, from your connection node in SQL Developer's Connections view, if you expand the Other Users node, then expand QA and look in the Procedures node, do you see the procedure of interest?  If not, you cannot expect to be able to execute it from your userid's connection. And even if you do see it, you may have some other privilege that permits viewing but not executing, like...
    The role SELECT_CATALOG_ROLE
    The system privilege SELECT ANY DICTIONARY
    And even if you do not see it there, then having certain other privileges granted to you could permit executing it in general, like...
    The role EXECUTE_CATALOG_ROLE
    The system privilege EXECUTE ANY PROCEDURE
    Also, note that the 3.0 release is a bit dated nowadays. Upgrading to 4.0.3 production or even the 4.1 EA2 (early adopter) release will, in general, give you a better experience.
    Best wishes,
    Gary

  • SQL Developer 2.1.0.63.73 exports DATE as TIMESTAMP

    I believe this is a bug. When I export a table to an XLS file, the values contained in DATE columns are saved as if they were TIMESTAMP:
    eg. 31-DEC-09 12:00:00 AM would export as 31-DEC-09 12.00.00.000000000 AM
    Not really a huge deal until you try to import it back in, in which case you can't import a TIMESTAMP into a DATE column. First, you'll get an error about the AM/A.M. or PM/P.M. missing. You can't explicitly specify the date format during the import either as Oracle rejects it since it's not supported. The proper way is to cast it back to a date, but you can't do that through the import function.
    Regardless, I think the export function should export DATEs according to the Date Format NLS settings but it is not.
    If it makes any difference, I'm using the 64-bit Windows version of SQL Developer on Windows 7 64-bit with the Oracle 64-bit client.

    Hi,
    Not sure if this is something related to my previous problem.
    My SQL Dev gives the correct date format on exporting to Excel, but fails on export INSERT statement
    Vasan, one of the sql dev's team member, gave this workaround which solved my problem
    >
    You can add the following in the sqldeveloper.conf to ensure that the driver doesn't report the column type of a DATE column as TIMESTAMP.
    AddVMOption -Doracle.jdbc.mapDateToTimestamp=false
    >
    as suggested in this thread
    Re: 2.1 EA1: Problems on Date type columns
    Hope this help,
    Buntoro

  • Different results on timestamps in SQL developer

    Hi
    I have this table with a TIMESTAMP column in it.
    CREATE TABLE my_table ("TID" TIMESTAMP (6) NOT NULL ENABLE);
    I use this query in SQL developer:
    SELECT tid from my_table;
    There is one row in the table, that has a timestamp in the hour of the change to european summertime.
    The timestamp of this row is displayed differentliy in SQL developer:
    - when the query is run by 'run stamement' (Ctrl+enter) the result is
    11-03-27 03:17:00,000000000
    - when the query is run as a script (F5) the result is
    11-03-27 02:17:00,000000000
    Notice the difference in the hours of the timestamp.
    Why this difference? (It only occurs for timestamps within the hour of 2 am to 3 am on that date - the hour that should'nt exist as the clock advances from 2 am to 3 am that night...)
    What is actually stored in the database? (the 3.17 am or 2.17 am value)
    Is there a conversion taking place when running as a script in SQL developer, but not when just running the single stamement?
    Regards Søren

    Hi Søren,
    This is rather an "edge" condition error, but I have posted an internal bug for it:
    Bug 13088622 - FORUM: RUN SCRIPT/STATEMENT TIMESTAMP VALUE DIFFERS DURING DT/ST CHANGEOVER
    Please provide some version information about your environment: SQL Developer, Java JDK, OS, etc.
    Regards,
    Gary
    SQL Developer Team

  • SQL Developer 3.2 - Exporting data with TIMESTAMP datatype

    Hi,
    We have users that are attempting to export data with the Timestamp format to Excel (xls format) using SQL Developer 3.2.  When attempting to sort the Timestamp in either asc or desc order, Excel is having issues sorting correctly.  I suggested that the user just do all the sorting within their SQL Developer session but they require the ability to slice and dice in Excel.
    This is definitely not an issue with Excel as the users have previously exported Timestamp data from Toad and been able to sort without issue.  Any thoughts as to what might resolve this issue? 
    Thanks.

    We're not formatting timestamps in Oracle as numbers/dates in Excel. They'll need to properly format the Excel column/cells to get it to sort the way they want vs being treated as simple strings.

  • HR SCHEMA FILES PRESENT BUT TABLES NOT SHOWN IN SQL DEVELOPER - PLS HELP

    Dear DBA's,
    I am studying towards the OCA and working through the SQL Fundamentals I Exam guide text book by John Watson and Roopesh Ramklass. I have a problem with accessing the HR Schema tables in SQL Developer. I can get connected to the HR schema but no information is available when i click on the + sign next to the "Tables (filtered)" link in SQL Developer under Human Resources - BTW (I've downloaded Oracle 11G)
    Please help, I've tried the following already;
    1. Downloaded the HR Schema sample scripts again
    2. Resetting the Sample schema with this syntax in SQL PLUS - @?/demo/schema/mksample systempwd syspwd hrpwd oepwd pmpwd ixpwd shpwd bipwd default_tablespace temp_tablespace log_file_directory/
    3. I have no Master script file so I cant recreate the sample scripts
    I've been reading forums and trying to Google but I am too new at this and just can't get the HR schema to display all the information in SQL Developer. Please help as I really badly need to practice the exercises in the text book.
    Any help to resolve this will be greatly appreciated.
    Ali
    Edited by: 942730 on Jun 26, 2012 1:15 AM

    942730 wrote:
    Dear DBA's,
    I am studying towards the OCA and working through the SQL Fundamentals I Exam guide text book by John Watson and Roopesh Ramklass. I have a problem with accessing the HR Schema tables in SQL Developer. I can get connected to the HR schema but no information is available when i click on the + sign next to the "Tables (filtered)" link in SQL Developer under Human Resources - BTW (I've downloaded Oracle 11G)
    Please help, I've tried the following already;
    1. Downloaded the HR Schema sample scripts again
    2. Resetting the Sample schema with this syntax in SQL PLUS - @?/demo/schema/mksample systempwd syspwd hrpwd oepwd pmpwd ixpwd shpwd bipwd default_tablespace temp_tablespace log_file_directory/
    3. I have no Master script file so I cant recreate the sample scripts
    I've been reading forums and trying to Google but I am too new at this and just can't get the HR schema to display all the information in SQL Developer. Please help as I really badly need to practice the exercises in the text book.
    Any help to resolve this will be greatly appreciated.
    Alisqlplus
    / as sysdba
    alter user HR identified by hr account unlock;
    connect hr/hr
    select table_name from user_tables;
    exit

  • Time conversion problem using sql developer

    Hi,
    I migrated my data from sql server 2 oracle 10g using the following procedure
    1.Created a ODBC from Access-2003 to sql server
    2.Imported the tables
    3. Used Quick migrate feature in SQL DEVELOPER 2 migrate the data to oracle....
    Now when i view the data in my forms (oracle forms 10g)...... along with time a date is also appearing in the time field...when actually thrz no date field present
    Ex;
    In access and sql server table it is suppose
    9:00 Am
    IN oracle forms it is appearing as
    12-4-2010 9:00 Am
    can any 1 help me out how to remove this date which is appearing in all the records..??!!!

    The datatype of that column is now 'Date'. Anyway, timestamp without date will not be of much help in date calculations. If you do not care about the date portion, simply do a to_char and display as mentioned here: to_char(<your column name>, 'HH24:MI:SS AM'). Ensure that <your column name> datatype is not Character, if it so, you will get ORA-01722 error.
    --rsrini                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Unable to connect to Oracle Database using Oracle Sql developer 2.1.1.64

    Hi Everyone,
    I am searching for some help regarding my problem with Oracle connectivity. I have installed Oracle 11g release 2 on my Windows XP Professional Laptop. For a few days after installation i could connect to the Oracle database with the SYSTEM account using Oracle SQL developer ( installed on the same Laptop) but now i am unable to do so.It gives me this annoying message:
    An error was encountered performing the required operation  Got a minus one from read call .Vendor code 0
    However i am able to connect using Sql Plus by supplying the username SYSTEM and the corresponding password.
    My TNSNAMES .ora file is as follows:
    ORACLE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORACLE)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    My Listener.ora file is as follows:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:D:\app\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    (SID_DESC =
    (GLOBAL_DBNAME = Oracle)
    (ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
    (SID_NAME = Oracle)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    ADR_BASE_LISTENER = D:\app
    My Sqlnet.ora file is as follows:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    I am new to Oracle and so i need someone in this forum who can help me resolve this problem. Also i even tried connecting to the database using Toad 10.5.0.41. It give me the following error:
    ORA 12537 : TNS Connection closed
    Thanks for your patience and help in advance.
    ---Prashant

    Hello Irian and Sue,
    I can connect to the Oracle database using SQL Plus. Now when i TNSPING ORACLE from command line i get the following message :
    Used parameter files:
    D:\app\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =localhost
    *)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORACLE)))*
    TNS-12537: TNS:connection closed
    Thanks for your response to my initial post.Do u have any other methods to resolve this?

  • How to create a counter using Oracle SQL Developer?

    Is there any way to create a counter using Oracle SQL Developer to create the below scenario. Meaning it will recorded down the name of user and ID and time and the date they login.
    Library portal home statistics shows how many users (outside and within the campus) visit the library portal.
    Page Access statistics is recorded on an hourly basis. Users may select the statistics by
    yearly (statistics displayed by all months in the selected year)
    monthly (statistics displayed by all days in the selected month)
    daily (statistics displayed by all hours in the selected day)

    I'm giving here one basic post - hope this will solve your problem --
    SQL>
    SQL>
    SQL> create table audit_info
      2   (
      3     usr        varchar2(50),
      4     log_time   timestamp(6)
      5    );
    Table created.
    SQL>
    SQL>
    SQL>  create table err_log
      2     (
      3       log_cd      varchar2(20),
      4       log_desc    varchar2(500)
      5     );
    Table created.
    SQL>
    SQL>
    SQL>   create or replace procedure ins_err(errcd   in  varchar2,
      2                                        errnm   in  varchar2)
      3    is
      4      pragma autonomous_transaction;
      5    begin
      6      insert into err_log values(errcd,errnm);
      7      commit;
      8    end;
      9  /
    Procedure created.
    SQL>
    SQL>
    SQL>   create or replace procedure ins_aud(ud   in varchar2,
      2                                        unm  in varchar2)
      3    is
      4      pragma autonomous_transaction;
      5    begin
      6      insert into audit_info values(ud,unm);
      7      commit;
      8    exception
      9      when others then
    10        ins_err(sqlcode,sqlerrm);
    11    end;
    12  /
    Procedure created.
    SQL>
    SQL>
    SQL>
    SQL> create or replace trigger log_odsuser1
      2   after logon on odsuser1.schema
      3   begin
      4     ins_aud('ODSUSER1',sysdate);
      5   exception
      6     when others then
      7       ins_err(sqlcode,sqlerrm);
      8   end;
      9  /
    Trigger created.
    SQL>
    SQL*Plus: Release 9.2.0.1.0 - Production on Tue Jun 12 12:21:09 2007
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    SQL>
    SQL>
    SQL>
    SQL> set serveroutput on
    SQL>
    SQL>
    SQL> select * from audit_info;
    USR
    LOG_TIME
    ODSUSER1
    12-JUN-07 12.00.00.00000000 AMHope this will solve your purpose.
    Regards.
    Satyaki De.

  • Unable to connect SQL Developer 4.0.2 to Oracle REST Data Services 2.0.7 (Apex Listener)

    Background
    1. Weblogic 10.3.6.0 running on Oracle Linux 6.5 with Oracle JRockit(R) (build R28.2.3-13-149708-1.6.0_31-20120327-1523-linux-x86_64, compiled mode)
    2. Oracle Apex 4.2.1
    3. Apex Listener 1.1.3
    4. Apex and Apex Listener running on the Weblogic box above
    5. SQL Developer 4.0.2 running on Windows 7 64 bit / Java 1.7.0_55
    Updated Apex to 4.2.5 via p17966818_425_Generic.zip patchset. Apex environment running fine as do all applications via Listener 1.1.3
    Updated Oracle Listener to the latest version of Oracle REST Data Services 2.0.7
    Current Status
    Apex Applications and RESTful services are running fine.
    Problem
    Unable to connect SQL Developer 4.0.2 to Oracle REST Data Services 2.0.7
    Error message in SQL Developer - Cannot connect to DEV. HTTP/1.1 403 Target service not allowed
    Additional Information
    Steps followed -
    1. The oracle users APEX_LISTENER and APEX_REST_PUBLIC_USER did not exist, so I ran apex_rest_config.sql from the APEX 2.4.1 patchset whilst connected sys as sysdba and provided the same password as APEX_PUBLIC_USER for both users.
    2. I also ran
    grant insert, delete on APEX_040200.wwv_flow_rt$privilege_groups to APEX_LISTENER;
    alter session set current_schema = APEX_LISTENER;
    create or replace synonym wwv_flow_rt$privilege_groups for APEX_040200.wwv_flow_rt$privilege_groups;
    as per Oracle SQL Developer User's Guide Release 4.0
    3. copied ords.war to apex.war
    4. java -jar apex.war configdir /u01/app/oracle/admin/apex/devdomain1/
    5. java -jar apex.war
    Jun 5, 2014 5:15:31 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: /u01/app/oracle/admin/apex/devdomain1/apex
    Enter the name of the database server [localhost]:dbservername
    Enter the database listen port [1521]:
    Enter 1 to specify the database service name, or 2 to specify the database SID [1]:1
    Enter the database service name:dbservicename
    Enter the database user name [APEX_PUBLIC_USER]:
    Enter the database password for APEX_PUBLIC_USER:
    Confirm password:
    Enter 1 to enter passwords for the RESTful Services database users (APEX_LISTENER,APEX_REST_PUBLIC_USER), 2 to use the same password as used for APEX_PUBLIC_USER or, 3 to skip this step [1]:2
    Jun 5, 2014 5:16:52 PM oracle.dbtools.common.config.file.ConfigurationFiles update
    INFO: Updated configurations: defaults, apex, apex_al, apex_rt
    Enter 1 if you wish to start in standalone mode or 2 to exit [1]:2
    6. java -jar apex.war user adminlistener "Listener Administrator"
    Jun 5, 2014 5:18:52 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: /u01/app/oracle/admin/apex/devdomain1/apex
    Enter a password for user adminlistener:
    Confirm password for user adminlistener:
    Jun 6, 2014 5:19:12 PM AM oracle.dbtools.standalone.ModifyUser execute
    INFO: Created user: adminlistener in file: /u01/app/oracle/admin/apex/devdomain1/apex/credentials
    7. Updated the defaults.xml file
    Added
    <entry key="apex.security.user.roles">RESTful Services</entry>
    <entry key="apex.security.developer.roles">OAuth2 Client Developer, SQL Developer</entry>
    as per Oracle SQL Developer User's Guide Release 4.0
    Changed
    <entry key="debug.printDebugToScreen">false</entry>
    to
    <entry key="debug.printDebugToScreen">true</entry>
    for RESTful debugging
    Added
    <entry key="security.verifySSL">false</entry>
    to use OAuth2 in Non HTTPS Environment as per Oracle® REST Data Services Installation and Configuration Guide, Release 2.0
    8. Deleted the Admin and Manager Roles within the apex application deployment which were part of the Apex Listener 1.1.3 install
    9. Deployed the apex.war in weblogic
    10. Stopped and started the weblogic server to which apex.war was deployed
    11. In SQL Developer, View, RESTful Services. In the RESTful services windows hit connect, Create a new connection,
    Connection Name DEV
    Username adminlistener
    selected http protocol
    Hostname weblogicservername
    Port 7250
    Server Path /apex
    Workspace (blank)
    On the Authentication dialog
    Username adminlistener
    Password passwordsuppliedabove in step 6
    Response is a dialog box titled Authentication Failed
    message - Cannot connect to DEV. HTTP/1.1 403 Target service not allowed
    NOTHING UNUSUAL IN ANY OF THE WEBLOGIC LOG FILES, EXCEPT THAT IT STATES
    'Oracle REST Data Services version : 2.0.6.27.18.06' when I've installed 2.0.7.
    Any help much appreciated

    Further to the above post, I thought I'd simplify my Apex Listener install just to see if I can connect to it via SQL Developer
    So downloaded the latest version 2.0.8 and decided to configure and run the Listener on my pc whilst still connecting to the same database.
    Operating system : Window 7 Pro 64 bit
    Oracle Apex Listener 2.0.8
    Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
    Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
    Went through the configuration as above, once started I tried again to access the listener via SQL Developer. This time I received this output from the listener:
    INFO: Error: ORA-02291: integrity constraint (APEX_040200.WWV_FLOW_RT$APPROVALS_SGID_FK) violated - parent key not found, occurred during execution of: [CALL, insert into wwv_flow_rt$approvals (user_name,status,client_id,security_group_id,created_by,created_on,updated_by,updated_on) values(/*in:user_id*/?,/*in:status*/?,/*in:client_id*/?,/*in:tenant_id*/?,upper(/*in:user_id*/?),/*in:created*/?,upper(/*in:user_id*/?),/*in:created*/?), [tenant_id, in, class java.math.BigInteger], [client_id, in, class java.math.BigInteger], [user_id, in, class java.lang.String], [status, in, class oracle.dbtools.rt.oauth.ApprovalRequest$Status], [created, in, class java.sql.Timestamp]]with values: [adminlistener, APPROVED, 3858401374580004, -1, adminlistener, 2014-06-23 12:19:18.785, adminlistener, 2014-06-23 12:19:18.785]
    SQL Developer responded with an Authentication Failed titled dialog with the following displayed in the body of the dialog
    Cannot connect to DEV.
    <!DOCTYPE html>
    <!--[if lt IE 7 ]> <html class="ie6"> <![endif]-->
    <!--[if IE 7 ]> <html class="ie7 no-css3"> <![endif]-->
    <!--[if IE 8 ]> <html class="ie8 no-css3"> <![endif]-->
    <!--[if IE 9 ]> <html class="ie9"> <![endif]-->
    <!--[if (gt IE 9)|!(IE)]><!-->
    <html>
    <!--<![endif]-->
    <html lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <style type="text/css" media="screen">html,body,div,span,h3,p,ol,ul,li,header,hgroup{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}header,hgroup{display:block}body{font:normal 12px/16px Arial,sans-serif;margin:0 auto;background:#6a9cda}header#xHeader{border-bottom:1px solid #8fa4c0;position:relative;z-index:10;background:none #000}header#xHeader hgroup{width:974px;margin:0 auto;position:relative;height:36px;background:none #000}header#xHeader a#uLogo{margin:8px 0;display:inline-block;font:bold 14px/20px Arial,sans-serif;color:#AAA;text-decoration:none}header#xHeader a#uLogo span.logo{color:#F00}.no-css3 div#xContentContainer div.xContent{padding-top:14px}.no-css3 div#xContentContainer div.xContent div.xMainLeft h2{margin-top:0}div#xWhiteContentContainer{margin-bottom:30px}div#xWhiteContentContainer.xContentWide{background:#FFF;margin-bottom:0}div#xWhiteContentContainer.xContentWide div.xWhiteContent{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}div#xWhiteContentContainer div.xWhiteContent{width:974px;margin:0 auto;padding:0 0 20px 0;background:#FFF;min-height:500px;-moz-border-radius:0 4px 4px 4px;-webkit-border-radius:0 4px 4px 4px;border-radius:0 4px 4px 4px;-moz-box-shadow:0 1px 2px rgba(0,0,0,0.15);-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.15);box-shadow:0 1px 2px rgba(0,0,0,0.15)}div#xContentHeaderContainer{background:#6a9cda;-moz-box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset;-webkit-box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset;box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset}div#xContentHeaderContainer div.xContentHeader{width:974px;margin:0 auto;padding:30px 0 32px 0;position:relative;min-height:60px}div#xContentHeaderContainer div.xContentHeader h3{font:bold 24px/24px Arial,sans-serif;color:#fff;text-shadow:0 2px 1px rgba(0,0,0,0.25);margin:0 0 20px 0}div#xFooterContainer{min-height:200px;border-top:1px solid rgba(0,0,0,0.15);background:#6a9cda}body.errorPage div#xContentHeaderContainer div.xContentHeader{min-height:30px}body.errorPage div#xContentHeaderContainer div.xContentHeader h3{font:bold 30px/30px Arial,sans-serif;color:#FFF;text-shadow:0 1px 2px rgba(0,0,0,0.25);margin:0}div.errorPage p{font:normal 14px/20px Arial,sans-seri;color:#666;padding:0 0 10px 0}div.errorPage ul{list-style:disc outside;padding:0 10px 0;margin:0 0 20px 0}div.errorPage ul li{font:normal 12px/16px Arial,sans-serif;color:#666;margin:0 0 8px 10px}pre{font-family:Consolas,"Lucida Console","Courier New",Courier,monospace}
    </style>
    <script type="text/javascript" charset="utf-8">
      'header hgroup'.replace(/\w+/g,
      function(n) {
      document.createElement(n)
    </script>
    <title>Internal Server Error</title>
    </head>
    <body class="errorPage">
      <header id="xHeader">
      <hgroup>
      <a id="uLogo" href="./"><span class="logo">ORACLE</span>
      REST DATA SERVICES</a>
      </hgroup>
      </header>
      <div id="xContentHeaderContainer">
      <div class="xContentHeader">
      <h3>
      <span class="statusCode">500</span> - <span
      class="statusMessage">Internal Server Error</span>
      </h3>
      </div>
      </div>
      <div id="xWhiteContentContainer" class="xContentWide">
      <div class="xWhiteContent">
      <div class="errorPage">
      <p>
      <ul class="reasons">
      </ul>
      </p>
      <p>
      <pre>Request Path passes syntax validation
    Mapping request to database pool: PoolMap [_failed=false, _lastUpdate=-1, _pattern=null, _poolName=apex, _regex=null, _type=REGEX, _workspaceIdentifier=null, _serviceName=null]
    Applied database connection info
    Attempting to process with PL&#x2F;SQL Gateway
    Not processed as PL&#x2F;SQL Gateway request
    Attempting to process as a RESTful Service
    Choosing: oracle.dbtools.rt.oauth.TokenHandler as current candidate with score: Score [handle=null, score=0, scope=SecurityConfig [constraint=secure, realm=OAUTH_CLIENT, logonConfig=NONE], originsAllowed=[], corsEnabled=true]
    Determining if request can be dispatched as a Tenanted RESTful Service
    Request path has one path segment, continuing processing
    No Tenant Principal established yet, continuing processing
    APEX_LISTENER pool exists, continuing processing
    No matching tenant found for: oauth2, cannot dispatch
    Chose oracle.dbtools.rt.oauth.TokenHandler as the final candidate with score: Score [handle=null, score=0, scope=SecurityConfig [constraint=secure, realm=OAUTH_CLIENT, logonConfig=NONE], originsAllowed=[], corsEnabled=true] for: POST oauth2&#x2F;token
    oauth2&#x2F;token authorized as: p6xycV-2QceFnFHkWyJlnA..
    </pre>
      </p>
      <p>
      <pre>WebException [statusCode=500]
      at oracle.dbtools.rt.web.WebException.webException(WebException.java:343)
      at oracle.dbtools.rt.web.WebException.internalError(WebException.java:262)
      at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApproval(JDBCOAuthDataAccess.java:514)
      at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApprovedRequest(JDBCOAuthDataAccess.java:181)
      at oracle.dbtools.rt.oauth.OAuthAuthorization.resourceOwnerCredentials(OAuthAuthorization.java:654)
      at oracle.dbtools.rt.oauth.OAuthAuthorization.tokenRequest(OAuthAuthorization.java:273)
      at oracle.dbtools.rt.oauth.TokenHandler.post(TokenHandler.java:44)
      at oracle.dbtools.rt.web.RequestHandler.response(RequestHandler.java:268)
      at oracle.dbtools.rt.web.RequestHandler.dispatch(RequestHandler.java:361)
      at oracle.dbtools.rt.web.RequestHandler.dispatch(RequestHandler.java:85)
      at oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:93)
      at oracle.dbtools.rt.web.ETags.checkPrecondition(ETags.java:93)
      at oracle.dbtools.rt.web.HttpEndpointBase.restfulServices(HttpEndpointBase.java:426)
      at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:164)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.doFilter(ServletAdapter.java:1059)
      at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.invokeFilterChain(ServletAdapter.java:999)
      at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:434)
      at oracle.dbtools.standalone.SecureServletAdapter.doService(SecureServletAdapter.java:91)
      at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:379)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapterChain.java:196)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Unknown Source)
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-02291: integrity constraint (APEX_040200.WWV_FLOW_RT$APPROVALS_SGID_FK) violated - parent key not found
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:505)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:223)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
      at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)
      at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1046)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1336)
      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3612)
      at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3713)
      at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1378)
      at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(StatementProxyFactory.java:230)
      at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:124)
      at com.sun.proxy.$Proxy44.execute(Unknown Source)
      at oracle.dbtools.common.jdbc.JDBCInsert.execute(JDBCInsert.java:58)
      at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApproval(JDBCOAuthDataAccess.java:487)
      ... 34 more
    </pre>
      </p>
      </div>
      </div>
      </div>
      <div id="xFooterContainer">
      </div>
    </body>
    </html>
    I am assuming this must be part of the problem I am seeing this the Weblogic deployment in my original post.
    Does anyone have any suggestions on how best to tackle this?
    Regards,
    Derek

  • Data Miner Extension in SQL Developer 4.0 EA3 Release: EA3 Repository Migration Failure

    The Data Miner extension in the SQL Developer 4.0 EA3 release fails when attempting to migrate the repository to EA3. This posting contains instructions on how to recover from this failure as well as to successful migrate the repository from EA2 to EA3. There are no problems when just installing a fresh Data Miner repository.
    Sorry about the difficulty if this has caused you any problems.
    Mark
    Failure message displayed in log when migrating to EA3:
    Error report -
    ORA-06550: line 96, column 40:
    PLS-00382: expression is of wrong type
    ORA-06550: line 96, column 7:
    PL/SQL: Statement ignored
    06550. 00000 -  "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:
    Instructions on how to recover from failure and continue using original version of SQL Developer:
    1) Execute the following sql as SYS in order to allow the Data Miner repository to be open for use again:
    UPDATE ODMRSYS.ODMR$REPOSITORY_PROPERTIES
    SET PROPERTY_STR_VALUE = 'LOADED'
    WHERE PROPERTY_NAME = 'REPOSITORY_STATUS';
    COMMIT;
    2) During attempted migrationto EA3 failed, access priviliges to the Data Miner repository are revoked from users. In order to use Data Miner again, these grants must be reapplied. You can either use the UI guided process to accomplish this, which requires the SYS password, or you can run the usergrants.sql script, again as the SYS user. For instructions on how to run the usergrants.sql script, or any adminstrative script, review the instructions contained in the install_scripts_readme.html file. You can find this file in the SQL Developer directories created when you unzipped SQL Developer. It is located in the following relative directory: \<SQL Developer Install Directory>\sqldeveloper\dataminer\scripts.
    Instructions on how to successfully migrate to EA3.
    If you have already attempted to migrate to EA3 and failed, then you need to perform the recovery instructions noted above, after which you can continue with the instructions below.
    If you have not yet attempted to migrate to EA3, then just following the instructions below.
    1) Replace all contents the script file createxmlworkflowsbackup.sql with specification contained at the end of this posting. The file to edit can be found in the \<SQL Developer Install Directory>\sqldeveloper\dataminer\scripts directory.
    2) After completing the edit to createxmlworkflowsbackup.sql,  you can proceed with the UI guided migration or perform the migration using the appropriate migration script. Review the install_scripts_readme.html file in the /dataminer/scripts directory for instructions on how to perform the migration using the script. For the UI migration, simply open any user connection in your Data Miner navigator, and you will be prompted to perform the migration.
    WHENEVER SQLERROR EXIT SQL.SQLCODE;
    DEFINE MAX_VERSIONS = 30
    EXECUTE dbms_output.put_line('Start Backup Data Miner Workflows ' || systimestamp);
    DECLARE
      table_cnt NUMBER;
    BEGIN
      SELECT count(*) INTO table_cnt FROM all_tables WHERE owner='ODMRSYS' AND table_name='ODMR$WORKFLOWS_BACKUP';
      IF (table_cnt = 0) THEN
        EXECUTE IMMEDIATE '
          CREATE TABLE ODMRSYS.ODMR$WORKFLOWS_BACKUP
            USER_NAME VARCHAR2(30 CHAR) NOT NULL
          , PROJECT_ID NUMBER NOT NULL
          , PROJECT_NAME VARCHAR2(30 CHAR) NOT NULL
          , PJ_CREATION_TIME TIMESTAMP(6) NOT NULL
          , PJ_LAST_UPDATED_TIME TIMESTAMP(6)
          , PJ_COMMENTS VARCHAR2(4000 CHAR)
          , WORKFLOW_ID NUMBER NOT NULL
          , WORKFLOW_NAME VARCHAR2(30 CHAR) NOT NULL
          , WORKFLOW_DATA SYS.XMLTYPE
          , CHAIN_NAME VARCHAR2(30 CHAR)
          , RUN_MODE VARCHAR2(30 CHAR)
          , STATUS VARCHAR2(30 CHAR) NOT NULL
          , WF_CREATION_TIME TIMESTAMP(6) NOT NULL
          , WF_LAST_UPDATED_TIME TIMESTAMP(6)
          , BACKUP_TIME TIMESTAMP(6) NOT NULL
          , VERSION NUMBER NOT NULL
          , WF_COMMENTS VARCHAR2(4000 CHAR)
          , CONSTRAINT ODMR$WORKFLOWS_BACKUP_PK PRIMARY KEY
              PROJECT_ID
            , WORKFLOW_ID
            , VERSION
            ENABLE
          LOGGING
          PCTFREE 10
          INITRANS 1
          XMLTYPE COLUMN "WORKFLOW_DATA" STORE AS BASICFILE CLOB';
      END IF;
    END;
    DECLARE
      schema_old_ver VARCHAR2(30);
      schema_ver   VARCHAR2(30);
      patch        VARCHAR2(30);
      db_ver       VARCHAR2(30);
      v_storage    VARCHAR2(30);
      schema_data  CLOB;
      v_db_11_2_0_2 NUMBER; -- db is <= 11.2.0.2?
      row_cnt      NUMBER;
      ver_num      NUMBER := 1;
      maintaindom  NUMBER;
      workflow_rec ODMRSYS.ODMR$WORKFLOWS_BACKUP%ROWTYPE;
    BEGIN
      SELECT STORAGE_TYPE INTO v_storage FROM ALL_XML_TAB_COLS WHERE OWNER='ODMRSYS' AND TABLE_NAME='ODMR$WORKFLOWS' AND COLUMN_NAME='WORKFLOW_DATA';
      if (db is >= 11.2.0.3 AND SQL Dev > 3.0) OR (db is <= 11.2.0.2 AND MAINTAIN_DOM_PATCH_INSTALLED)
        back up all workflows
      end if  
      IF (v_storage != 'BINARY') THEN
        -- determine xml schema version
        SELECT XMLSerialize(CONTENT SCHEMA AS CLOB) INTO schema_data
        FROM DBA_XML_SCHEMAS WHERE schema_url = 'http://xmlns.oracle.com/odmr11/odmr.xsd' AND owner = 'ODMRSYS';
        maintaindom := INSTR(schema_data, 'xdb:maintainDOM="false"', 1, 1);
        -- determine database version
        SELECT version INTO db_ver FROM product_component_version WHERE product LIKE 'Oracle Database%';
        --- Check schema compatibility
        schema_old_ver := '11.2.0.1.9'; -- default value
        BEGIN
          SELECT property_str_value INTO schema_ver
          FROM "ODMRSYS"."ODMR$REPOSITORY_PROPERTIES" WHERE property_name = 'WF_VERSION';
          IF schema_old_ver = schema_ver  THEN
            IF NOT (db_ver = '11.2.0.1' OR db_ver = '11.2.0.2') THEN
              dbms_output.put_line('WARNING: The backup process can not be done, The workflows need to be migrated first');
            RETURN;
            END IF;
          END IF;
        EXCEPTION WHEN NO_DATA_FOUND THEN
          schema_ver  := schema_old_ver;
          dbms_output.put_line('No WF_VERSION found. Defaults to: '  || schema_old_ver);
        END;
        -- determine if MAINTAIN_DOM_PATCH_INSTALLED
        IF (INSTR(db_ver, '11.2.0.2') > 0 OR INSTR(db_ver, '11.2.0.1') > 0 OR INSTR(db_ver, '11.2.0.0') > 0) THEN
          v_db_11_2_0_2 := 1;
          BEGIN
            SELECT PROPERTY_STR_VALUE INTO patch FROM ODMRSYS.ODMR$REPOSITORY_PROPERTIES WHERE PROPERTY_NAME = 'MAINTAIN_DOM_PATCH_INSTALLED';
            patch := UPPER(patch);
          EXCEPTION WHEN NO_DATA_FOUND THEN
            patch := 'FALSE';
          END;
        ELSE
          v_db_11_2_0_2 := 0;
        END IF;
      END IF;
      IF (   v_storage = 'BINARY'
          OR (v_db_11_2_0_2 = 0) -- db is >= 11.2.0.3
          OR ((v_db_11_2_0_2 > 0) AND ((patch = 'TRUE') OR (maintaindom = 0))) ) THEN -- db is <= 11.2.0.2 AND (MAINTAIN_DOM_PATCH_INSTALLED OR maintaindom="true")
        SELECT count(*) INTO row_cnt FROM ODMRSYS.ODMR$WORKFLOWS_BACKUP;
        IF (row_cnt > 0) THEN
          SELECT NVL(MAX(VERSION)+1,1) INTO ver_num FROM ODMRSYS.ODMR$WORKFLOWS_BACKUP;
        END IF;
        FOR wf IN (
          SELECT
            p.USER_NAME "USER_NAME",
            p.PROJECT_ID "PROJECT_ID",
            p.PROJECT_NAME "PROJECT_NAME",
            p.CREATION_TIME "PJ_CREATION_TIME",
            p.LAST_UPDATED_TIME "PJ_LAST_UPDATED_TIME",
            p.COMMENTS "PJ_COMMENTS",
            x.WORKFLOW_ID "WORKFLOW_ID",
            x.WORKFLOW_NAME "WORKFLOW_NAME",
            xmlserialize(DOCUMENT x.WORKFLOW_DATA as CLOB indent size = 2) "WORKFLOW_DATA",
            x.CHAIN_NAME "CHAIN_NAME",
            x.RUN_MODE "RUN_MODE",
            x.STATUS "STATUS",
            x.CREATION_TIME "WF_CREATION_TIME",
            x.LAST_UPDATED_TIME "WF_LAST_UPDATED_TIME",
            x.COMMENTS "WF_COMMENTS"
          FROM ODMRSYS.ODMR$PROJECTS p, ODMRSYS.ODMR$WORKFLOWS x
          WHERE p.PROJECT_ID = x.PROJECT_ID
        LOOP
          workflow_rec.USER_NAME := wf.USER_NAME;
          workflow_rec.PROJECT_ID := wf.PROJECT_ID;
          workflow_rec.PROJECT_NAME := wf.PROJECT_NAME;
          workflow_rec.PJ_CREATION_TIME := wf.PJ_CREATION_TIME;
          workflow_rec.PJ_LAST_UPDATED_TIME := wf.PJ_LAST_UPDATED_TIME;
          workflow_rec.PJ_COMMENTS := wf.PJ_COMMENTS;
          workflow_rec.WORKFLOW_ID := wf.WORKFLOW_ID;
          workflow_rec.WORKFLOW_NAME := wf.WORKFLOW_NAME;
          workflow_rec.WORKFLOW_DATA := SYS.XMLTYPE(wf.WORKFLOW_DATA);
          workflow_rec.CHAIN_NAME := wf.CHAIN_NAME;
          workflow_rec.RUN_MODE := wf.RUN_MODE;
          workflow_rec.STATUS := wf.STATUS;
          workflow_rec.WF_CREATION_TIME := wf.WF_CREATION_TIME;
          workflow_rec.WF_LAST_UPDATED_TIME := wf.WF_LAST_UPDATED_TIME;
          workflow_rec.BACKUP_TIME := SYSTIMESTAMP;
          workflow_rec.VERSION := ver_num;
          workflow_rec.WF_COMMENTS := wf.WF_COMMENTS;
          BEGIN
            -- Output the ids (proj name, workflow name, proj id, workflow id)
            dbms_output.put_line('Backup workflow: ('||wf.PROJECT_NAME||', '||wf.WORKFLOW_NAME||', '||wf.PROJECT_ID||', '||wf.WORKFLOW_ID||')');
            INSERT INTO ODMRSYS.ODMR$WORKFLOWS_BACKUP VALUES workflow_rec;
            COMMIT;
          EXCEPTION WHEN OTHERS THEN
            dbms_output.put_line('Backup workflow failed: ('||wf.PROJECT_NAME||', '||wf.WORKFLOW_NAME||', '||wf.PROJECT_ID||', '||wf.WORKFLOW_ID||')');
          END;
        END LOOP;
      END IF;
      -- keep the latest 30 versions
      EXECUTE IMMEDIATE 'DELETE FROM ODMRSYS.ODMR$WORKFLOWS_BACKUP WHERE VERSION <= :1' USING (ver_num - &MAX_VERSIONS);
      COMMIT;
    EXCEPTION WHEN OTHERS THEN
      ROLLBACK;
      RAISE_APPLICATION_ERROR(-20000, 'Workflow backup failed. Review install log.');
    END;
    EXECUTE dbms_output.put_line('End Backup Data Miner Workflows. ' || systimestamp);

    823006 wrote:
    5.a. XLS export of big number columns looses precision, for example a number(38) column with all digits used.
    I believe excel only holds 15 digits of precision.
    Edited by: 823006 on Jan 18, 2011 8:14 AMThen it would be nice if you can define the "excel type" of each column. So you can make this number a "string" in the XLS.
    Edited by: user9361780 on Jan 18, 2011 9:12 AM

  • Administration of APEX in SQL Developer with Proxy Authentication impossibl

    Hello!
    We are using latest version of SQL Developer to administer APEX. We are connecting to the database with proxy authentication. The syntax is:
    personal_user[apex_ws_owner]
    e.g.: mdecker[apex_demo]
    When trying to deploy APEX application I go to "Database Object" -> Application Express -> Application1 [100] -> right mouse click: "Deploy Application". Then I select the appropriate database identifier and next, I am presented with a screen showing import options. In second line, it says: "Parsing Schema: MDECKER".
    This is wrong: it has to be Parsing Schema: APEX_DEMO. It seems that managing APEX with SQL Developer does not support Proxy Authentication.
    Could you please confirm?
    Is there a way to formally ask for this enhancement?
    Best regards,
    Martin
    Update:
    I found out that if I check the flag "Proxy Authentication" in the connect details and provide both passwords, the deploy application parsing schema is set to the correct APEX_DEMO account. However, we are using Proxy Authentication in order to avoid having to know the application password.
    Edited by: mdecker on Jan 28, 2013 4:48 PM

    There is a write-up about connecting to APEX here: <a href ="http://www.oracle.com/technology/products/database/application_express/html/sql_dev_integration.html" >SQL Dev Oracle APEX Integration</a>
    <p>You do need to have updated to Oracle APEX 3.0.1.
    <p>Regards <br>
    Sue

  • Failure to connect to 11G XE from Sql Developer

    Hi Gurus,
    I have been trying for more than a week to make this work. Basically I am trying to install XE database 11.2.0 on my windows 7 64 bit computer.
    I have had problems with the getting the listener up , finally managed to get it up by deleting the Oracle_home and reinstalling 11g XE.
    Changed the listener.ora file to include the sid XE - restarted th listener so now its working.
    -- I am able to start the instance from command prompt as
    SQL> conn / as sysdba
    Connected.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1071333376 bytes
    Fixed Size 1388352 bytes
    Variable Size 620757184 bytes
    Database Buffers 444596224 bytes
    Redo Buffers 4591616 bytes
    ORA-00205: error in identifying control file, check alert log for more info**
    When I checked the log files here are the details
    from C:\Oracle11XE\app\oracle\diag\rdbms\xe\xe\alert
    <txt>ORA-00210: cannot open the specified control file
    ORA-00202: control file: &apos;C:\ORACLE11XE\APP\ORACLE\ORADATA\XE\CONTROL.DBF&apos;
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    </txt>
    Please let me know how I can resolved this issue. The eventual goal is to get the database up and running and be able to conenct from Sql Developer installed on the same machine.
    any help will be greatly appreciated.
    Here are some details
    tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = <Cumputername>)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\Oracle11XE\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\Oracle11XE\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = XE)
    (ORACLE_HOME = C:\Oracle11XE\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = <ComputerName>)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    lsnrctl status result
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
    ction
    Start Date 30-JAN-2013 11:35:47
    Uptime 0 days 0 hr. 0 min. 13 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\Oracle11XE\app\oracle\product\11.2.0\server\network
    \admin\listener.ora
    Listener Log File C:\Oracle11XE\app\oracle\diag\tnslsnr\ZaidHP\listener\
    alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ZaidHP)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XE" has 1 instance(s).
    Instance "XE", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Thanks
    Edited by: user12026382 on Jan 30, 2013 10:57 AM

    Hi clcarter
    Thanks for your input. I actually did a complete de-install and re-install.
    The two things I did differently this time was
    1. Delete any ORACLE_HOME or ORACLE_SID variables that were existing and just to make sure check from cmd> set ORACLE_HOME - should return not defined.
    (This I found at a different forum)
    2. Run the setup (as administrator) this time.
    And you guessed it.. It worked. I was able to login to the database. Also could go to the database home page.
    Thanks for your inputs.
    On a side note.. since I am new to forums, I wanted to know how you quote things in the grey area as you did when you replied 'ORA-00205: error in identifying control file, check alert log for more info'.

Maybe you are looking for

  • My X2-01 IS IN TROUBLE...PLS HELP!!!!!!!!!!!!

    I was browsing in google one day then suddenly my phone light dimmed then i trying pressing the red decline button but nothing happened, then i kept pressing it continuosly and my phone switched off. After that I turned it back on and found everythin

  • ABAP and XI proxies

    I am looking for some best practices/experiences from projects where we have integrated SAP backend system based on WAS 6.40 with XI using ABAP proxies or other mechanisms for SSL communication for sensitive data. We are trying to use ABAP proxies on

  • N1SM 1.3.3 OS Load gives syntax error and drops into interactive install

    Hi I am trying to load Solaris 10 u4 onto a T1000 and a X4100. This is my first installation of N1SM. When I give the load command the T1000 will boot off the network, but after a while I very briefly see a syntax error and a line about using US Keyb

  • Lacking information about white iPhone 3G upgrades in the UK

    In the UK, O2 does not publish any information about the white iPhone on its website. Why ??? when will the white iPhone be available as an upgrade at O2 stores ? calling O2, CPW, and Apple brings conflicting information and no clear availability. Th

  • Is this the proper forum for the Lenovo Yoga 14?

    I don't see posts for the Yoga 14.  Can't believe none of the new owners have questions . . . .