confusing error- indication in SQL Window

fraenkg

Member³
Hi,
I've realised, that error- indication is not always set to the correct position within a erroneous statement in SQL Window.
This reults in some confusion especially when handling with complex selects.

Because it's a bit difficult to explain I'll give a simple example:

I wrote a short script in SQL Window. Eache statement is terminated by semicolon. The first 4 statements only exists to create well-defined enviroment for test.
I execute these statements eache by position cursor and . Then position cursor within the select- union statement and execute statement.
The errorbox show ORA-00904 as expected - . The statement is highlighted, error- position is shown correct and cursor is just before.
pls_t2_2.gif


I do nothing but again execute statement. Errorbox show ORA-00904. Select statement is still highlighted but the error- position is outside in the following comment -and also cursor.
pls_t2_3.gif


When hitting again, the comment will be highlighted.
pls_t2_4.gif


And what about once again? Errorbox- ok. Now select statement is highlighted and error- position is shown correct. But I see 5 tabs in the result section?
pls_t2_5.gif


I use version 7.0.0.1050. In prefernces for SQL Window "AutoExecute queries" and "AutoSelect statement" are checked.

Hope you understand my problem.

Frank
 
Indication is always not set to the correct position within an error statement in Sql Window
I use version 7.1.5.1397. I had this bug from 6.0 version. Only in old Plsql 5.1.4. this feature work correctly.
 
Back
Top