SQL Developer Tool Throws error on "/"

I am executing a script which is creating a view using sql developer. The script at the end has a "/" but before the / there is a blank line on top. and another view does not have a blank line but has a few spaces before "/" both the cases the sql developer throws compilation error.
there are other parts of the code which does have lot of balnk lines above eg in procedure & trgger (not views) and they compile perfect.
When i run the same script in sql plus or command line sql plus both have no issues. Its only the tool which is behaving like this.
Is this a known issue?

Example 1:
CREATE OR REPLACE VIEW x AS
SELECT abc from A where (abc=3) AND (xyz,6)
plz note two blank likes above /
Example 2:
CREATE OR REPLACE VIEW x AS
SELECT abc from A where (abc=3) AND (xyz,6)
plz note few spaces before the /
error says command not ended properly.
this works in sql plus

Similar Messages

  • SQL Developer tool giving error Network Adapter could not establish

    Hello,
    I installed oracle 11.2 client on my windows 7 machine.
    When i connect sql developer, i get the below error.
    status : Failure - Test failed : The network Adapter could not establish the connection
    I am using network Alias to select SID name.
    I am able to connect the same database through sqlplus. I am able to ping the tnsname. I am able to telent the server for 1521 port.
    What else could be the issue?
    Any help is appreciated.

    You'll probably want to post this in the SQL Developer forum.. SQL Developer
    Greg

  • Sql Developer Tool Error

    Hi,
    When our i'm starting Sql developer tool he say's some error that error is below:
    Sequence : 93
    Source : o.jdbc.driver.OracleDriver
    Message : Error While registering Oracle JDBC Diagnosability MBean
    What Can u do this.
    Any one Help me Thanks for ur Reply.
    Regards,
    Suresh Kumar

    Can you connect?
    It can be ignored..May be next release will not have this error
    Re: Error while registering Oracle JDBC Diagnosability MBean - version 1.2.1

  • Oracle SQL Developer Tool Error:

    Hi,
    i have installled Oracle 11g in Win2003 Server. When create new connection in Oracle SQL Developer its throwing following error
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor. The Connection Descriptor used by the client was localhost:1521/orcl
    listener.ora:
    # This is a sample listener.ora that contains the NET8 parameters that are
    # needed to connect to an HS Agent
    LISTENER =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=dg4odbc)
    (ORACLE_HOME=E:\app\XXXXX\product\11.2.0\dbhome_1)
    (PROGRAM=dg4odbc)
    #CONNECT_TIMEOUT_LISTENER = 0
    can any one help me ASAP.
    Thanks!

    933663 wrote:
    Hi,
    tnsnames.ora
    %s_gtwSID% =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (CONNECT_DATA=(SID=%s_gtwSID%))
    (HS=OK)
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
    Start Date 13-JUL-2012 17:46:51
    Uptime 0 days 0 hr. 29 min. 1 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File e:\app\XXXXXXX\diag\tnslsnr\YYYYYYYY\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mysystemname)(PORT=1522)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl.mysystemname" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.mysystemname" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Thanks!you listener port on 1522 , but on your tnsnames.ora on 1521
    Check your hostname on listener and tnsnames.ora
    after do this changes please reload the listener
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding

  • Cannot login to XE using PL/SQL Developer Tool

    Hi,
    I have problem using PL/SQL Developer with XE. Whenever I try to use PL/SQL Developer to connect to the XE, I am getting this error message from PL/SQL Developer:
    Initialization error: SQL*Net not properly installed.
    OracleHomeKey: SOFTWARE\ORACLE
    OracleHomeDir:
    Both the PL/SQL Developer and XE are installed on a same laptop which is having XP with SP2 and its firewall disabled.
    My "sqlnet.ora" reads the following:
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES = (NTS).
    Any help would be much appreciated.
    Regards,
    Abdiqadir.

    Had the same problem myself. I tried this and it worked. Mind you, BOTH Oracle XE and PL/SQL Developer have to be on same machines. I have WinXPSP2. Change the installation paths as per your settings in the examples below.
    In PL/SQL Developer:
    - Tools-->Preferences-->Options Tab-->
    ---- Oracle Home (empty is autodected): enter this value: C:\oraclexe\app\oracle\product\10.2.0\server
    ---- OCI Library (empty is autodected): enter this value:
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN\ociw32.dll
    That's it. It worked for me.

  • SQL Developer tool question

    Hi Folks
    I am using SQL Developer tool. I have a procedure with compilation errors so i can see that procedure with red X mark in SQL Developer tool.
    When am clicking on the procedure it is going to the editor there i can see "code"."grants","dependencies","references","details","profiles".
    But i can't able to see "Errors" tab in the editor. And main thing is i didnt see any red lines in the editor for the invalid procedure
    And when i recompiled that procedure it got recompiled successfully and that red x mark is vanished.
    Here my question is the "Errors" tab is only appears when the procedure/function/package has errors and surprisingly i didnt see any red lines in the editor for invalid procedure (may be my proc has no errors).
    Thanks

    Hello,
    maybe your procedure has been invalidated by some DDL, e.g. a new column has been added to a table that is referenced in your procedure. The status will be INVALID until you recompile it or until you call the procedure, then it will be recompiled automatically.
    (may be my proc has no errors).Very likely.
    Regards
    Marcus

  • Issue when connecting to database from SQL Developer tool

    Hi,
    I was trying to connect to a remote oracle database 10.2.0.5 (hosted at window 2008 R2 server) from my local SQL Developer tool.
    When setting up connection in SQL Developer tool, I was able to connect to the database by selecting TNS (Network Allias).
    However, it does not work when I choose Basic type with the same information (HOST, PORT, SID).
    What is the difference between TNS and Basic setting option? Please advise and assist.
    Thanks.
    Regards,
    Jia

    Hi JimSmith,
    Thanks for reply.
    TNS entry as below:
    ORCL_DB =
    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 91.198.252.83)(PORT = 1521)) )
    (CONNECT_DATA = (SID = orcl) (SERVER = DEDICATED) ) )
    It works fine if I choose TNS (Network Allias: ORCL_DB).
    For the Basic setting:
    Hostname = 91.198.252.83
    Port = 1521
    SID = orcl
    The error I received when connecting to db based on Basic option is Failure -Io exception: The Network Adapter could not establish the connection.
    Below are the entries of SQLnet.ora. Any entry should I add into sqlnet.ora?
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    Appreciate your comment.
    Thanks.
    Regards,
    Jia

  • Explain Plan in Pl/SQL developer tool

    How to get the explain plan result of a query in PL/SQL developer tool which has a database link ?
    Also, please suggest the min and max Cost, Cardinality and byte values
    Thanks

    859486 wrote:
    How to get the explain plan result of a query in PL/SQL developer tool which has a database link ?PL/SQL Developer is a tool written by allround automations.
    I suggest you ask how to use that tool vie the support option on their own website/forums:
    http://www.allroundautomations.com/plsqldev.html
    Also, please suggest the min and max Cost, Cardinality and byte valuesmin cost would be 0
    max cost could be anything
    cardinality is http://en.wikipedia.org/wiki/Cardinality_%28SQL_statements%29
    bytes are the number of estimated bytes involved in the data retrieved/processed.

  • How to view execution history for any date in oracle SQL developer tool ?

    hi, i want to view some executed queries(2 months before) in oracle SQL Developer. if i press F8 it shows execution history for only last 30 days. is there any option(query) or something to view execution history for specific date ? i want to see some queries, which is executed before 2 months in my oracle SQL developer tool. Pls help me out.

    sb92075 wrote:
    943838 wrote:
    hi, i want to view some executed queries(2 months before) in oracle SQL Developer. if i press F8 it shows execution history for only last 30 days. is there any option(query) or something to view execution history for specific date ? i want to see some queries, which is executed before 2 months in my oracle SQL developer tool. Pls help me out.it will never occurWhy not? Are you a member of the product team that develops SQL Developer?
    To the OP, there is a forum for SQL Developer
    SQL Developer
    And there's also a sticky on the forum for product enhancement requests
    "Feature Requests, Extensions and General Collateral "
    Cheers,

  • Oracle SQL developer tool vs toad

    Hi - I am trying to do a feature comparison on these 2 tools and am not very familiar with them could someone please tell me if Oracle SQL developer tool has these features:
    Project Manager
    Result Set Compare
    Chart Designer
    Toad Report Wizard
    Pivot & Chart
    Data Compare and Synch
    Automation
    Simple Cross-Platform Queries
    Advanced Cros-Platform Queries
    Local Data Storage
    Data Transformation and Cleansing
    Data Browser
    ER Diagrammer
    Charts & Pivot Table Reports
    Automation & Scheduling Engine
    Data Compare & Sync
    Cross-connection Query

    Hi!
    I have worked with several Oracle IDE's in the past:
    * TOAD
    * PL/SQL Developer
    * Navigator
    * SQL/Developer
    Right now I tend to do most of my work with SQL-Developer and only some tasks with TOAD.
    SQL-Developer feels faster and has a cleaner interface than TOAD, while TOAD has better tools.
    Im currently publishing a series of tips for SQL-Developer in my blog:
    http://oracledeli.wordpress.com/
    Some of the posts are focussing on overcomming SQL-developers disadvantages versus TOAD:
    * SQL-Developer: Using macros http://oracledeli.wordpress.com/2011/09/28/sql-developer_using_macros/
    * Execute current worksheet file via SQL*Plus (external tools) http://oracledeli.wordpress.com/2011/09/23/sql-developer_execute_via_sqlplus/
    Best regards,
    Matt
    Best regards,
    Matt

  • Scheduler for Export Table utility using PL/SQL developer Tool

    Hi,
    Is there any way by which i can schedule manually export tables from a user using PL/SQL developer tool 'Export Tables' utility.
    As i have lot many schema a for each i have to manually exporting all tables using this utility.
    Please suggest.
    Thanks,

    Hello,
    do you mean PL/SQL developer from Allroundautomation? Then this is the wrong forum.
    Do you mean the export feature from SQL Developer, that you can invoke on right click in a result pane? You cannot automate it.
    But if you tell us more about your requirements we might be able to find a good solution for you. Yet this is a question for the {forum:id=75} forum. There is a FAQ {message:id=9360007}. This combined with dbms_scheduler or a scheduled job on your computer might solve the problem.
    Regards
    Marcus

  • Syntax highlighting not working on PL/SQL developer tool

    Hello,
    Syntax highlighting is not working on PL/SQL developer tool using the beautifier. When I go set Syntax highlighting parameters (fromĀ  EDIT>PL/SQL Developer Beautifier Options > User Interface> Editor> Syntax Highlighting ) and click apply, the changes are not reflected in SQL code in the SQL window. Other feautures in the beautifier such as Fonts, Window types are working fine.
    Please help me with this issue.
    Thanks!!
    Shreejit

    As this is not an Oracle related question (let alone Oracle SQL or PL/SQL), and as you've been given a link to the relevant website... I'll now lock this thread.

  • Free PL/SQL developer tool

    Can I have some advise on what would be the best free PL/SQL developer tools available?

    http://www.toadsoft.com/lic_agree.html - it runs under Windows only, but is
    slick.
    You could also look at Pl/Sql Developer from www.allroundautomations.com,You could also check out
    http://sqlworksheet.googlepages.com/
    and
    http://www.sqltools-plusplus.org:7676/
    and
    http://www.sqltools.net/ (appears to be deceased!)
    Happy hunting.
    Of course, Tom Kyte would argue that the best (and indeed only) PL/SQL
    developer tool that one should use is totally free and unhindered by overcomplicated
    graphical interfaces or RAM-gobbling features and overhead, its name - SQLPlus!!!*
    8-)
    Paul...
    Paul...

  • Which PL/SQL developer tool is best to develop the PL/SQL program?

    Hi, all, who know which PL/SQL developer tool is best to develop the PL/SQL program? it is jdeveloper or designer or third party developer tool? please let me know, Thanks!

    To be honest , I have been using only Notepad or
    a simple Textpad ..to this date.
    While these tools may be of help in indenting and beautification of code, I feel you lose your debugging skills and forget the SQL-PL/SQL syntax with them.
    Cheers
    Ashwin N.

  • SQL Developer tool sometimes does not display data with date type

    run the following query using the sql developer tool -
    select effective_date from table1 where id = 123;
    (the effective_date is stored in the database as date.)
    one record is returned with no date in the filed.
    However, if I change the query to
    select to_char(effective_date, 'mm/dd/yyyy') from table1 where id = 123;
    one record is returned with effective date.
    Why?
    Thanks for your help.

    First off, there is a dedicated SQL Developer forum where lots of the developers hang out. Those folks are way more knowledgable that we are about the tool.
    That said, I have no problem displaying dates. Do you just have a problem with this particular query/ field/ table? Or does it affect all dates? What version of SQL Developer are you using? 1.1 is out now.
    Justin

Maybe you are looking for

  • New Infinity User/Speed Question

    Hi All, I`m another newbie in here and also to the Infinity BB as well. So Hello and Good Evening to you all. :-) I had my Infinity installed on Monday Afternoon without a hitch I am pleased to say and I have been lurking on the forums reading up ove

  • Cannot find symbol class ParseException

    I have this in my code how ever DateFormat formatter = new SimpleDateFormat("ddMMyyyy"); dDateStamp = (Date)formatter.parse(dateStamp); When I pass in say dateStamp=safsadssad sa; I get an error which is fine. I can not seem to catch this error with

  • Partitions on raid-array not recognized on boot

    Hey there, I already had my share of problems with my raid setup and kernel/udev updates, but this one is new: I have a raid1 setup with several partitions on the array which get recognized as /dev/md0p1, /dev/md0p2, etc. My root-device is on /dev/md

  • Can any body explain me JSF Page Life Cycle?

    Hello All Can any body explain me JSF Page Life Cycle? I wanted to know basically following few things 1. how the JSF component will be rendered to html 2. How the ValueBinding and MethodBinding mechanish works 3. On conditional situation, if we need

  • KM content, Collaboration in 7.1 CE?

    Hi, The KM content, Collaboration is not seen in 7.1 CE unlike the 7.0. Do I need to install these components separately? How? Thanks in advance, Naveen