How can we help you today? How can we help you today?

TSQL Format of Extended Event leads to syntax error

Hi,

Currently trying to format code like
ALTER EVENT SESSION [QuickCapture_BatchCompleted] ON SERVER
STATE = START
or like
ALTER EVENT SESSION [QuickCapture_BatchCompleted] ON SERVER STATE = START
by pressing Ctrl+K, Ctrl+Y

results in
ALTER EVENT SESSION [QuickCapture_BatchCompleted] ON SERVER;
STATE = START
or
ALTER EVENT SESSION [QuickCapture_BatchCompleted] ON SERVER; STATE = START
which isn't valid syntax.

The result should be
ALTER EVENT SESSION [QuickCapture_BatchCompleted] ON SERVER
STATE = START;
or
ALTER EVENT SESSION [QuickCapture_BatchCompleted] ON SERVER STATE = START;

SQL Prompt version 8.0.9.2226
Fatherjack
0

Comments

1 comment

  • James R
    Hi @Fatherjack, thanks for the post!

    I've reproduced this issue locally, I'll log a ticket and we'll get a fix out soon :)

    Thanks!

    James
    James R
    0

Add comment

Please sign in to leave a comment.