3 Replies Latest reply on Apr 26, 2017 1:44 PM by p40eagle

    SQL Developer Version 4.2.0.17.089 -  Commented line containing semicolon invalid query

    user5781281

      In SQL Developer Version 4.2.0.17.089 this query:

       

      SELECT *

        FROM USER_OBJECTS

      --WHERE OBJECT_NAME = 'TEST';

      WHERE OBJECT_NAME = 'TEST2';

       

      Returns:

       

      Error starting at line : 9 in command -

      WHERE OBJECT_NAME = 'TEST2'

      Error report -

      Unknown Command

      -----------------------------------------------------------------------------

      And this query (without semicolon on commented line):

       

      SELECT *

        FROM USER_OBJECTS

      --WHERE OBJECT_NAME = 'TEST'

      WHERE OBJECT_NAME = 'TEST2';

       

      Return OK!

      ----------------------------------------------------------------------------

       

      Why ?