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