Skip to Main Content

SQL Developer for VS Code

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!

DEFINE with comment leads to script error

Bernd Mainz2 days ago

Executing an DEFINE with a trailing comment

DEFINE c_version = "25.3.0" -- Version

produces an error:

[10/08/25, 14:29:07.565] [Worksheet ] [ERROR] An error occurred while running the script
[10/08/25, 14:29:07.566] [DBToolsServerApp(456)] [ERROR] 2025-10-08T12:29:07.562Z ERROR Error for: POST /20221610/databases/connections/sessions/Je8eXSHDMvwofSjG1jseFQ/actions/prepare
Unexpected token: ; at offset: 28 expected one of: [WORD]
DBTU-02500: An unexpected condition occurred that prevented the request from being fulfilled. An unexpected error with the following message occurred: Unexpected token: ; at offset: 28 expected one of: [WORD]. Retry the request, if the issue persists, report it to product support

“Complete” Error-Message attached as “define_error.log”

Executed without comment produces no error.

Working in previous version as expected:

With and without comment.

Best wishes
Bernd

define_error.log

Comments
Post Details
Added 2 days ago
0 comments
20 views