Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SQL Developer Missing Parenthesis Check

47935Jan 12 2007 — edited Jan 15 2007
I have noticed that if you execute a statement that is missing a right parenthesis using the SQL Worksheet in SQL Developer, SQL Developer does not pick up the invalid SQL -- it attempts to run the statement.

Consider the following example:

SELECT *
FROM v$session
WHERE status IN ('ACTIVE', 'INACTIVE'
/

The statement is missing the right parenthesis. It should not be allowed to be executed as it contains invalid SQL. SQL Developer is still allowing it to run.

In the above case, no results are returned (which isn't such a bad thing), however this situation can cause an infinite loop in certain cases where an UPDATE statement is involved.

Is there a way to have SQL Developer not execute statements with invalid SQL?

Thanks,


neil
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 12 2007
Added on Jan 12 2007
14 comments
1,910 views