Hi, i am new to oracle, SQL DEVELOPER:- ERROR:- ORA-01918

Hi,
I am new to oracle, and i have installed Oracle database 12c enterprise edition, and oracle jdeveloper 12c for adf web application development,
I created a database and a new connection in it using sql developer, however while trying to create new user with the name db1 by right clicking on other users. by following the instructions in oracle documentation site. i get the error that new user db1 doesnt exist, and gives error:- ORA-01981. i even tried by changing the username as i thought may be it doesnt support alphanumeric name, but still i get the same error.
So please tell me how to create a new user. is there any way to get out of this ora:-01918, as i googled and it says this is a bug.
My os is win 7 x64(amd processor ).
Thank you
Baldwin

A new user (called a schema in Oracle) is created using the CREATE USER SQL command. You need to be signed in as the SYS schema/user or as a schema that has been granted the rights to create schemas.
12c database comes in two basic flavours. Container database (containing pluggable databases). Standard database. If connected to a container database, you cannot create standard user schemas - you need to be connected to a pluggable database.
Also, your question has no relevance to either the SQL or PL/SQL languages - the subject matter of this forum. Please repost your question to a more appropriate forum dealing with SQL-Developer issues.

Similar Messages

  • Oracle SQL DEVELOPER ERROR

    Hello everyone
    Can anyone here please help me with oracle sql developer error
    My problem is that i have installed oracle sql developer as a root and now when i execute the following command
    [root@localhost tmp]# sqldeveloper
    Oracle SQL Developer
    Copyright (c) 2008, Oracle. All rights reserved.
    Type the full pathname of a J2SE installation (or Ctrl-C to quit), the path will be stored in ~/.sqldeveloper/jdk
    /opt/oracle/softwares/jdk1.5.0.19
    Error: /opt/oracle/softwares/jdk1.5.0.19/bin/java not found
    As you can see i did install java but still i keep getting that error
    Thank you

    From what you have shown us, we can't tell that you have installed java. What do you get from the following command?
    /opt/oracle/softwares/jdk1.5.0.19/bin/java -versiontheFurryOne

  • 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

  • New to Oracle SQL Developer

    Getting the followung error, which I assume is a privs error, when using debugger:
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '10.200.10.79', '3824' )
    ORA-30683: failure establishing connection to debugger
    ORA-12535: TNS:operation timed out
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    Process exited.
    Please advise.
    Thank u

    I just got this working yesterday. I'm using SQL Developer on my Windows XP box. When I started the Remote Debugger I was prompted for a Port and Local Address. I accepted the default of port 4000 and entered my PC's IP Address as the Local Address. If you're also on a Window's box you get this address by going to the command line and typing "ipconfig".
    When your DBA is talking about the Oracle listener being on port 1521 he's talking about the Oracle server having a process on it listening for outside processes that want to connect to the database. I'm guessing that your DBA doesn't understand what you're trying to accomplish. In your case starting the Remote Debugger is creating a listener on your development box which listens for something like ApEx to connect to it. If the bottom left of my SQL Developer I see a little satellite icon that says Debug Listener (Port=4000 Timeout=0 Local address=xx.xx.xx.xx). This lets me know that the Remote Debugger is waiting for a connection.
    Your call...
    CALL DBMS_DEBUG_JDWP.CONNECT_TCP('remotedb','1521')should be connecting to the box that you're running SQL Developer on, not your Oracle database server. It's values should match those that you set when you started the Remote Debugger.
    I followed the tutorial found at:
    http://www.oracle.com/technology/oramag/oracle/08-may/o38browser.html
    Edited by: MARTIN_K on Aug 29, 2008 11:11 AM

  • Oracle/sql developer error message....

    Hi All,
    I have this sql and get the error: Please help! Urgent! Thank you...thank you....
    ORA-01722: invalid number
    01722. 00000 - "invalid number"
    *Cause:   
    *Action:
    WITH
    REPORTDATE AS
    (SELECT MAX(MMR_DATE) AS RPT_DATE
    FROM RESULTS.MMR_MONTH_DEALERS
    WHERE STAGE_ID >= 12 AND STAGE_ID <= 15
    ALLACTIONS AS --ACTIONS
    (SELECT
    AH.PART_DEALERID AS PART_DEALERID,
    results.gbst.get_element(AH.action_type2gbst_elm) AS ACT_TYPE,
    results.gbst.get_element(AH.action_subtype2gbst_elm) AS ACT_SUBTYPE,
    results.results_tools.get_action_group_name(AH.action_summ2act_grp) AS ACT_HIST2ACT_GRP,
    AH.total_solicited
    -- AH.ACT_TYPE AS "ACT_TYPE",
    -- AH.ACT_SUBTYPE AS "ACT_SUBTYPE",
    -- AH.ACT_HIST2ACT_GRP AS "ACT_HIST2ACT_GRP"
    FROM
    RESULTS.TABLE_ACTION_SUMM AH --SA.TABLE_ACTION_HISTORY AH
    WHERE
    AH.SUMMARY_DATE >= (SELECT RPT_DATE FROM REPORTDATE)
    AND AH.SUMMARY_DATE < ADD_MONTHS((SELECT RPT_DATE FROM REPORTDATE),1)
    -- AH.ACTION_COMP__DATE >= (SELECT RPT_DATE FROM REPORTDATE)
    -- AND AH.ACTION_COMP__DATE < ADD_MONTHS((SELECT RPT_DATE FROM REPORTDATE),1)
    -- AND AH.ACT_RESULT = 'ACTION_PROCESSED'
    and results.gbst.get_element(AH.action_type2gbst_elm)in ('EMAIL','LETTER','LETTEREMAIL','PHONE')
    AND AH.PART_DEALERID = '00333' --(AH.PART_DEALERID = '{?Dealer}' or '{?Dealer}' = 'ALL')
    ORDER BY
    PART_DEALERID
    GRPACT AS --ACTIONS CATEGORIZED
    (SELECT
    PART_DEALERID AS PART_DEALERID,
    ACT_TYPE AS ACT_TYPE,
    ACT_SUBTYPE AS ACT_SUBTYPE,
    ACT_HIST2ACT_GRP AS ACT_HIST2ACT_GRP,
    COUNT(*) AS CNT
    FROM
    ALLACTIONS -- RESULTS.TABLE_ACTION_SUMM
    GROUP BY
    PART_DEALERID,
    ACT_TYPE,
    ACT_SUBTYPE,
    ACT_HIST2ACT_GRP
    ORDER BY
    PART_DEALERID
    ACT_HIST AS --ACTIONS IDENTIFIED
    (SELECT
    GA.PART_DEALERID AS PART_DEALERID,
    GA.ACT_TYPE AS ACTION_TYPE,
    GA.ACT_SUBTYPE AS ACTION_SUBTYPE,
    AGL.GROUP_NAME AS ACTION_GROUP,
    GBST.GET_ELEMENT(ACL.MEDIA_TYPE2GBST_ELM) AS MEDIA_TYPE,
    GBST.GET_ELEMENT(ACL.ACTION_STAGE2GBST_ELM) AS STAGE,
    GA.CNT AS CNT_ACTION
    FROM
    GRPACT GA -- RESULTS.TABLE_ACTION_SUMM
    INNER JOIN SA.TABLE_ACTION_GROUP_LIST AGL
    ON GA.ACT_HIST2ACT_GRP = AGL.OBJID
    INNER JOIN RESULTS.ACTION_CONTROL_LIST ACL
    ON AGL.OBJID = ACL.ACT_CONTROL_LIST2ACT_GRP
    AND GA.ACT_SUBTYPE = GBST.GET_ELEMENT(ACL.ACT_SUBTYPE2GBST_ELM)
    AND GA.ACT_TYPE = GBST.GET_ELEMENT(ACL.ACT_TYPE2GBST_ELM)
    ACTCNTS AS --ACTIONS SUMMED UP
    (SELECT
    PART_DEALERID,
    SUM("H") AS "H", SUM("I") AS "I", SUM("J") AS "J", SUM("K") AS "K",
    SUM("L") AS "L", SUM("M") AS "M", SUM("N") AS "N", SUM("O") AS "O",
    SUM("H") + SUM("I") + SUM("J") + SUM("K") +
    SUM("L") + SUM("M") + SUM("N") + SUM("O") AS "P",
    SUM("Q") AS "Q", SUM("R") AS "R", SUM("S") AS "S", SUM("T") AS "T",
    SUM("T2") AS "T2", SUM("U") AS "U", SUM("V") AS "V", SUM("W") AS "W",
    SUM("Q") + SUM("R") + SUM("S") + SUM("T") +
    SUM("T2") + SUM("U") + SUM("V") + SUM("W") AS "X",
    SUM("Y") AS "Y", SUM("Z") AS "Z", SUM("AA") AS "AA",
    SUM("Y") + SUM("Z") + SUM("AA") AS "AB",
    SUM("AD") AS "AD", SUM("AE") AS "AE", SUM("AF") AS "AF", SUM("AG") AS "AG",
    SUM("AH") AS "AH", SUM("AI") AS "AI",
    SUM("AD") + SUM("AE") + SUM("AF") + SUM("AG") +
    SUM("AH") + SUM("AI") AS "AJ"
    FROM
    (SELECT
    PART_DEALERID AS "PART_DEALERID",
    CASE WHEN ACTION_GROUP = 'THANKS' AND ACTION_TYPE = 'LETTER' THEN
    CNT_ACTION ELSE 0 END AS "H",
    CASE WHEN ACTION_GROUP = 'VOW' AND ACTION_TYPE = 'LETTER' THEN
    CNT_ACTION ELSE 0 END AS "I",
    CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'LETTER'
    AND STAGE = 'Reminder' THEN CNT_ACTION ELSE 0 END AS "J",
    CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'LETTER'
    AND ACTION_SUBTYPE LIKE '%F/U%' AND
    (STAGE = 'Non-Responder' OR STAGE = 'Follow-Up') THEN
    CNT_ACTION ELSE 0 END AS "K",
    CASE WHEN (ACTION_GROUP = 'AFTER_SERVICE' OR ACTION_GROUP = 'DECL')
    AND ACTION_TYPE = 'LETTER' THEN
    CNT_ACTION ELSE 0 END AS "L",
    CASE WHEN ACTION_GROUP = 'SEASONAL' AND ACTION_TYPE = 'LETTER' THEN
    CNT_ACTION ELSE 0 END AS "M",
    CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'LETTER'
    AND STAGE = 'Bring-em-back' THEN CNT_ACTION ELSE 0 END AS "N",
    CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'LETTER'
    AND STAGE = 'Last Chance' THEN CNT_ACTION ELSE 0 END "O",
    CASE WHEN ACTION_GROUP = 'THANKS' AND ACTION_TYPE = 'EMAIL' THEN
    CNT_ACTION ELSE 0 END AS "Q",
    CASE WHEN ACTION_GROUP = 'VOW' AND ACTION_TYPE = 'EMAIL' THEN
    CNT_ACTION ELSE 0 END AS "R",
    CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'EMAIL'
    AND STAGE = 'Reminder' THEN CNT_ACTION ELSE 0 END AS "S",
    CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'EMAIL'
    AND ACTION_SUBTYPE LIKE '%F/U%' AND
    (STAGE = 'Non-Responder' OR STAGE = 'Follow-Up') THEN
    CNT_ACTION ELSE 0 END AS "T",
    CASE WHEN ACTION_GROUP = 'AFTER_SERVICE' AND ACTION_TYPE = 'EMAIL' THEN
    CNT_ACTION ELSE 0 END AS "T2",
    CASE WHEN ACTION_GROUP = 'SEASONAL' AND ACTION_TYPE = 'EMAIL' THEN
    CNT_ACTION ELSE 0 END AS "U",
    CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'EMAIL'
    AND STAGE = 'Bring-em-back' THEN CNT_ACTION ELSE 0 END AS "V",
    CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'EMAIL'
    AND STAGE = 'Last Chance' THEN CNT_ACTION ELSE 0 END "W",
    CASE WHEN ACTION_GROUP = 'MAINT' AND MEDIA_TYPE = 'Dynamic Message'
    AND STAGE = 'Pre-Reminder' THEN CNT_ACTION ELSE 0 END AS "Y",
    CASE WHEN ACTION_GROUP = 'THANKS' AND MEDIA_TYPE = 'Dynamic Message'
    AND ACTION_TYPE = 'PHONE' THEN CNT_ACTION ELSE 0 END AS "Z",
    CASE WHEN ACTION_GROUP = 'VOW' AND MEDIA_TYPE = 'Dynamic Message'
    AND ACTION_TYPE = 'PHONE' THEN CNT_ACTION ELSE 0 END AS "AA",
    CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'PHONE'
    AND STAGE = 'Reminder' THEN CNT_ACTION ELSE 0 END AS "AD",
    CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'PHONE'
    AND ACTION_SUBTYPE LIKE '%F/U%' AND
    (STAGE = 'Non-Responder' OR STAGE = 'Follow-Up') THEN
    CNT_ACTION ELSE 0 END AS "AE",
    CASE WHEN ACTION_GROUP = 'CSI_SALES' AND ACTION_TYPE = 'PHONE'
    AND ACTION_SUBTYPE = 'NEWVEH' THEN CNT_ACTION ELSE 0 END AS "AF",
    CASE WHEN ACTION_GROUP = 'VOW' AND ACTION_TYPE = 'PHONE'
    AND ACTION_SUBTYPE = 'VOW_SVY' THEN CNT_ACTION ELSE 0 END AS "AG",
    CASE WHEN ACTION_GROUP = 'CSI_SERVICE' AND ACTION_TYPE = 'PHONE'
    AND ACTION_SUBTYPE = 'CP' THEN CNT_ACTION ELSE 0 END AS "AH",
    CASE WHEN ACTION_GROUP = 'CSI_SERVICE' AND ACTION_TYPE = 'PHONE'
    AND ACTION_SUBTYPE = 'WAR' THEN CNT_ACTION ELSE 0 END AS "AI"
    FROM
    ACT_HIST
    GROUP BY PART_DEALERID
    SELECT
    BO.ORG_ID AS "E", --Dealer ID
    BO.X_NGR_MFG_DLR_CODE AS "F", --Mfg ID
    BO.NAME AS "G", --Dealer Name
    ACTCNTS."H" AS "H", --Thank You Mailers
    ACTCNTS."I" AS "I", --Visiting Owners Mailers
    ACTCNTS."J" AS "J", --Reminder Mailers
    ACTCNTS."K" AS "K", --Non-Responder Mailers
    ACTCNTS."L" AS "L", --ASTY Mailers
    ACTCNTS."M" AS "M", --Seasonal
    ACTCNTS."N" AS "N", --Bring-em-Back Mailers
    ACTCNTS."O" AS "O", --Chance Mailers
    ACTCNTS."P" AS "P", --Total Mailers
    ACTCNTS."Q" AS "Q", --Thank You Emails
    ACTCNTS."R" AS "R", --Visiting Owner Emails
    ACTCNTS."S" AS "S", --Reminder Emails
    ACTCNTS."T" AS "T", --Non-Responder Emails
    ACTCNTS."T2" AS "U", --ASTY Emails
    ACTCNTS."U" AS "V", --Seasonal Emails
    ACTCNTS."V" AS "W", --Bring-em Back Emails
    ACTCNTS."W" AS "X", --Chance Emails
    ACTCNTS."X" AS "Y", --Total Emails
    ACTCNTS."Y" AS "Z", --Pre-Reminder Dynamic Msg
    ACTCNTS."Z" AS "AA", --Thank You Dynamic Msg
    ACTCNTS."AA" AS "AB", --Visiting Owner Dynamic Msg
    ACTCNTS."AB" AS "AC", --Total Dynamic message
    ACTCNTS."AD" AS "AD", --Reminder Phone Contacts
    ACTCNTS."AE" AS "AE", --Non-Responder Phone Contacts
    ACTCNTS."AF" AS "AF", --New Vehicle Survey
    ACTCNTS."AG" AS "AG", --Visiting Owner Survey
    ACTCNTS."AH" AS "AH", --After Service CP Survey
    ACTCNTS."AI" AS "AI", --After Service WP Survey
    ACTCNTS."AJ" AS "AJ", --Total Count of Phone Contacts     
    SYSDATE
    FROM
    SA.TABLE_BUS_ORG BO
    LEFT OUTER JOIN ACTCNTS
    ON BO.ORG_ID = ACTCNTS.PART_DEALERID
    WHERE BO.ORG_ID = '00333'--(BO.ORG_ID = '{?Dealer}' or '{?Dealer}' = 'ALL')
    ORDER BY
    BO.ORG_ID;

    1 - This is not a free support forum (see 'Terms and conditions' at the bottom of each page)
    2 - In a forum of volunteers there is no such thing as 'urgent'. If it is really urgent visit My Oracle Support (paid service) and submit a SR
    3 - The code you posted is fully unreadable. You also didn't provide table definitions. The location of the ORA-1722 is unclear.
    Do you really think anyone is going to look at the junk you posted? If you think so, your expectations are incorrect.
    Sybrand Bakker
    Senior Oracle DBA

  • Is ORACLE SQL DEVELOPER up to other Tools?

    Hi Experts,
    Am new to Oracle SQL Developer Tool. Can anyone tell me what are the drawbacks of this ORACLE SQL DEVELOPER.
    Is SQL DEVELOPER up to other Tools?
    Thanks in Advance!
    Regards,
    Anup

    Anup wrote:
    Yah it's true... But I want to know is there any drawbacks in case of User Interface or Performance or any as compared to other Tools like SQL Navigator or Toad ?This is a wrong place for this question. You need to post it in SQL Developer Forum.
    SQL Developer

  • Problems when starting with oracle SQL developer

    Hello,
    I am very much new with oracle SQL developer. I use oracle 10g and have a database named 'pallabDB' with username: xxxxxx and paswd:yyyyyy. I have installed oracle SQL developer.But i am unable to start up.What i should do? If any body replies it will be a great help.Thanks in advance.

    But i am unable to
    start up.How to understand this sentence without confusion?
    Can you explain exactly what is your problem at start up of SQL Developer?

  • Oracle SQL Developer 1.0 is easy to install and use, and is portable

    I have tried the latest version of Oracle SQL Developer 1.0 and would like to share my experience of using it.
    Installation of Oracle SQL Developer 1.0
    Download from
    http://www.oracle.com/technology/software/products/sql/index.html?_template
    Unzip the Oracle SQL Developer for Windows (55.8 MB) to C:\sqldeveloper (103MB)
    Advantages: The unzip folder can be your removable disk and you can access Oracle
    anywhere provided that there is an Internet connection to Oracle Server.
    Unzip sqldeveloper-1557.zip to C:\ with folder name;
    double-click on sqldeveloper.exe in c:\sqldeveloper
    Click on [No]
    Tick all check boxes
    Click on [OK]
    Right-click on Connections, New
    Database Connection…
    Enter User name: SCOTT
    Password: TIGER
    Hostname: 127.0.0.1 (or IP of your Oracle Server on the Internet)
    SID: orcl
    If you want to connect to local Oracle user SYS,
    Enter User name: sys
    Password: ora10g_manager_password
    Hostname: 127.0.0.1
    SID: orcl
    Select Role: SYSDBA
    Click on [Connect]
    Right-click on Tables, Create Table
    Click on [Add Column]
    Select Type: NUMBER for COLUMN2
    Click on [OK]
    Table1 is created
    Click on TABLE1, click on “Data” tab
    Click on the “Green Plus” icon to insert record
    Click on “Commit Changes” icon
    Click on “DBConnection1” tab
    Enter: select * from table1;
    Click on “Execute Statement (F9)” icon
    To exit: Click on File, Exit

    Have you noticed that there's a forum dedicated to SQL Developer?
    C.

  • 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?

  • Oracle SQL Developer freezes and locks up computer randomly

    I attempted to find a solution to this before posting. I looked through the first 40 pages of this forum and on Google, through the Developer documentation, etc. with no luck.
    The problem: while using Oracle SQL Developer, the computer randomly freezes. Things work, but it hangs too often and for too long to use. This is random - it can happen every 10 seconds or every 2 minutes. The mouse will lock up, and the keyboard buffer will get all messed up. For instance, if it happens to freeze while I'm hitting "backspace", it will delete many lines of text (I've lost a bit of work because of this in the past). The freezing will last about 2 to 20 seconds, and the only way out of it is to ctrl+alt+delete and kill SQL Developer.
    If SQL Developer is running, and I'm in a different window - it will freeze the other windows as well. Again, it's impossible to use unfortunately. My coworker doesn't have the same problem, and he's connecting to the same database with the same version using Windows Vista. It must be something on this computer. I reformatted about 1 month ago, so it's a pretty fresh install and I haven't installed much of anything yet.
    I'm using Windows Vista Enterprise 32-bit w/SP1.
    This was occurring with older versions of SQL Developer (1.2). I'm using the newest install that included the Java JDK. I've completely removed Java, my Oracle installs, and a host of other attempts to fix this, and nothing changes. I've tried running the .exe in the bin directory as administrator as well.
    Currently using Oracle Developer 1.5.1.54.40.
    Any ideas?

    I tried dumping the contents, but the java dump wasn't showing anything at all, and it would never freeze while I had the console window in focus, so it wasn't very helpful unfortunately.
    I fixed this issue by uninstalling the Java runtime on this machine and installing the Java JDK 6 Update 7 from java.sun.com/javase/downloads . I then downloaded the SQL Developer 1.5.1 version without the Java runtime included, and pointed it to the Update 7 .exe file upon first load.
    I was using JDK 6 Update 6 previously, and it must have been behind the errors. Note that the Update 7 has to be downloaded from that website as it's a new version that hasn't been posted on the regular java.com site yet.
    Message was edited by:
    user645599

  • Oracle SQL Developer is out

    If you haven't been paying attention to early adopters of Project Raptor there it is - production release of Oracle SQL Developer, outstanding database development tool. It works very well with XE and if you're somehow reluctant to web interface or too ascetic sqlplus, you shall certainly like it. Very useful and at no charge.
    Oracle SQL Developer is a new, free graphical tool that enhances productivity and simplifies database development tasks. With SQL Developer, you can browse database objects, run SQL statements and SQL scripts, and edit and debug PL/SQL statements. You can also run any number of provided reports, as well as create and save your own.
    http://www.oracle.com/technology/products/database/sql_developer/index.html

    I use SQL Developer for SQL and PL/SQL and only use SQL*Plus for the few commands that don't work in SQL Developer.
    SQL Developer has a forum, too.

  • Developerday  VM Ora-12505 Getting Started with Oracle SQL Developer 3.0

    Just downloaded the VM , Started the tutorial Getting Started with Oracle SQL Developer 3.0
    As mentioned in tutorial , I was trying to make a new connection and I am getting following error
    Ora - 12505 : TNS Listener doesn't currently know of SID
    I gave SID as orcl, and seems to be working OK, can I use orcl for this tutorial
    Edited by: OrcArgusDev on Apr 13, 2012 9:01 AM
    Edited by: OrcArgusDev on Apr 13, 2012 9:11 AM

    Thanks, I'll survive. Just my luck, the first item I try to anon. debug didn't work! :)
    thanks, hopefully this problem will be few and far between

  • Oracle SQL Developer 1.1.1.25.14, I rror ORA-01722 Invalid Number

    I have installed the new version of Oracle SQL Developer 1.1.1.25.14, I use Oracle 9.2. When I browse in the tree of the stored procedures and compile I obtain Error ORA-01722 Invalid Number. The previous version does not give this error. I have tried to change the decimal separator to comma ',' and point '.' but this error always appears.

    create or replace
    PROCEDURE getAge (
    dtmDataStart_in IN DATE,
    dtmDataEnd_in IN DATE,
    intYears_out OUT NUMBER,
    intMonths_out OUT NUMBER,
    intDays_out OUT NUMBER) AS
    -- Calcola il numero di anni, mesi, giorni intercorsi
    -- dalla data iniziale alla data finale.
    -- Se la data iniziale è > della data finale, le due date
    -- vengono scambiate e le variabili di output vengono ritornate
    -- con segno negativo.
    --==================================================
    -- Data Ultima Modifica: 31/07/98
    -- Aggiunta procedura per il calcolo della differenza tra
    -- due date dello stesso anno.
    --==================================================
    -- DICHIARAZIONE VARIABILI INIZIO --------------------------------------------------------
    intYMDStart NUMBER(10);
    intYMDEnd NUMBER(10);
    intYMD NUMBER(10);
    intDiffAnni NUMBER(5);
    intDiffMesi NUMBER(5);
    intDiffGiorni NUMBER(5);
    intMeseStart NUMBER(5);
    intAnnoStart NUMBER(5);
    intTotGiorniMeseStart NUMBER(5);
    ysnNegativo NUMBER(5);
    -- DICHIARAZIONE VARIABILI FINE ----------------------------------------------------------
    BEGIN
    intYMDStart := TO_NUMBER( TO_CHAR(dtmDataStart_in,'YYYYMMDD'));
    intYMDEnd := TO_NUMBER( TO_CHAR(dtmDataEnd_in,'YYYYMMDD'));
    ysnNegativo := 0;
    IF intYMDStart = intYMDEnd THEN
    intYears_out := 0;
    intMonths_out := 0;
    intDays_out := 0 ;
    ELSE
    IF intYMDStart > intYMDEnd THEN
    intYMD := intYMDStart;
    intYMDStart := intYMDEnd;
    intYMDEnd := intYMD;
    ysnNegativo := -1;
    END IF;
    intDiffAnni := TO_NUMBER(TO_CHAR(dtmDataEnd_in,'YYYY')) - TO_NUMBER(TO_CHAR(dtmDataStart_in ,'YYYY'));
    intDiffMesi := TO_NUMBER(TO_CHAR(dtmDataEnd_in,'MM')) - TO_NUMBER(TO_CHAR(dtmDataStart_in ,'MM'));
    intDiffGiorni := TO_NUMBER(TO_CHAR(dtmDataEnd_in,'DD')) - TO_NUMBER(TO_CHAR(dtmDataStart_in ,'DD'));
    -- I valori cosi' calcolati di intDiffAnni, intDiffMesi e intDiffGiorni vanno bene
    -- ad eccezione dei seguenti casi:
    -- Sistemo intDiffAnni
    IF (intDiffMesi > 0 OR (intDiffMesi = 0 AND intDiffGiorni >= 0)) THEN
    -- intDiffAnni e' OK
    intDiffAnni := intDiffAnni;
    ELSE
    -- non e' ancora arrivato il giorno del compleanno
    intDiffAnni := intDiffAnni-1;
    END IF;
    -- Sistemo intDiffMesi
    IF (intDiffMesi > 0 AND intDiffGiorni < 0) THEN
    intDiffMesi := intDiffMesi-1;
    ELSIF (intDiffMesi < 0 ) THEN
         if(intDiffGiorni<0) THEN
         intDiffMesi := intDiffMesi+11;
    else
         intDiffMesi := intDiffMesi+12;
    END IF;
    ELSIF (intDiffMesi=0 AND intDiffGiorni<0) THEN
         intDiffMesi:=11;
    END IF;
    -- Sistemo intDiffGiorni
    -- Calcolo i giorni come (TotGiorniMeseIniziale - GiornoIniziale) + (GiornoFinale - 0)
    -- che e' uguale a fare TotGiorniMeseIniziale + (GiornoFinale-GiornoIniziale)
    IF intDiffGiorni < 0 THEN
    intMeseStart := TO_NUMBER(TO_CHAR(dtmDataStart_in ,'MM'));
    IF intMeseStart IN (1,3,5,7,8,10,12) THEN
    intTotGiorniMeseStart := 31;
    ELSIF intMeseStart = 2 THEN
    -- Da enciclopedia: sono bisestili gli anni multipli di 4
    -- esclusi i secoli che non sono multipli di 400 (Parte commentata).
    intAnnoStart := TO_NUMBER(TO_CHAR(dtmDataStart_in ,'YYYY'));
    if (intAnnoStart MOD 4) = 0
    -- AND NOT ((intAnnoStart MOD 100) = 0 AND (intAnnoStart MOD 400) <> 0)
    Then
    intTotGiorniMeseStart := 29;
    else
    intTotGiorniMeseStart := 28;
    end if;
    ELSIF intMeseStart IN (4,6,9,11) THEN
    intTotGiorniMeseStart := 30;
    END IF;
    intDiffGiorni := intDiffGiorni + intTotGiorniMeseStart;
    END IF;
    IF ysnNegativo = 0 THEN
    intDays_out := intDiffGiorni;
    intMonths_out := intDiffMesi;
    intYears_out := intDiffAnni;
    ELSE
    intDays_out := intDiffGiorni * (-1);
    intMonths_out := intDiffMesi * (-1);
    intYears_out := intDiffAnni * (-1);
    END IF;
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE;
    END getAge;
    The output result of compilation is "GETAGE Compiled", I think the 01722 error is not caused from an sql syntax error, but probably caused from an invalid or unsupported or 'strange' configuration on nationalization... the fact surprises me that the previous version did not give problems
    THANKS SO MUTCH
    */

  • Bug in Oracle SQL Developer

    I had Oracle SQL Developer 1.5.0.53 and when I did a "Check for Update" it said no updates found, even though SQL Developer 1.5.1 was released on June 9, 2008. So obviously this is a bug you need to fix.
    OK - So I downloaded the latest Oracle SQL Developer and installed it and when I opened it up, all my connections were gone!!!
    That's another bug you need to fix.

    See Does check for updates install 1.5.1 for some suggestions for Check for Update.
    For installing 1.5.1 and then losing your connections, did you install in a new directory or over the top of 1.5.0? If yes, then reinstall again into a new directory. If not, did migrate your settings from 1.5.0? Without doing that 1.5.1 won't find your existing connections.
    theFurryOne

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

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

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

Maybe you are looking for