Formatting ALTER TABLE

Answered

The following statement will always be broken to two lines:

ALTER TABLE SAMPLETABLE ADD CONSTRAINT SAMPLETABLE_PK PRIMARY KEY (ID);

->

ALTER TABLE SAMPLETABLE

   ADD CONSTRAINT SAMPLETABLE_PK PRIMARY KEY (ID);

Is there any way to prevent this when formatting?

Thank you

0
2 comments

The same occurs with

CREATE INDEX NAME_X1

   ON ...

0

Hello Oliver,

I reported an issue to YouTrack: https://youtrack.jetbrains.com/issue/DBE-4180.

Please start following it to receive automatic notifications from YouTrack when the issue is updated.
See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications   if you are not familiar with YouTrack.

 

0

Please sign in to leave a comment.