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!

Forward slash in SQL Developer

2844885Jan 26 2015 — edited Jan 27 2015

Hi,

I'm a bit puzzled by the fact that the forward slash does not raise an error in a SQL Developer script.

For instance:

select * from dual;

/

would result in that select being executed twice if executed from SQL Plus, but only once when executed from SQL Developer.

I would think that the forward slash is considered as a comment sign, given the fact that

select * from dual;

/ this should not be a comment

select * from dual;

works totally fine from SQL Developer.

IMHO either it should take the "/" as SQL Plus (recall last executed command) or just throw an error. Ignoring it can lead to confusion.

Regards,

Roberto

This post has been answered by thatJeffSmith-Oracle on Jan 26 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 24 2015
Added on Jan 26 2015
9 comments
2,998 views