Comments
3 comments
-
Hi @torsten.strauss !
It looks like this is mainly due to the wrapping option in your Style settings.
Global>Whitespace>Wrapping>"Wrap lines longer than"
Can you kindly try increasing the value of this, or disabling it?
-
This will lead to something like this:
EXEC sys.sp_addextendedproperty @name = N'MS_Description', @value = N'Table to save the MDS synchronization status', @level0type = N'SCHEMA', @level0name = N'mdm', @level1type = N'TABLE', @level1name = N'Synchronization_Status';
GOALTER TABLE mdm.Synchronization_Status
ADD CONSTRAINT CHK_Synchronization_Status_status CHECK ( status IN
(
'R', 'S', 'F'
)
);
GOWhich even looks worse comparing to the first issue ...
-
Hi @....strauss!
Enabling Statements> Schema(DDL) > Place constraints on new lines should get them on individual lines- could you kindly give this a try?
Add comment
Please sign in to leave a comment.
ADD
CONSTRAINT PKCL_Synchronization_Status_synchronization_timestamp PRIMARY KEY
( synchronization_timestamp ) WITH ( FILLFACTOR = 100 ) ON [DEFAULT];
GO
ADD
CONSTRAINT CHK_Synchronization_Status_status CHECK ( status IN ('R', 'S'
, 'F'
)
);
GO
Torsten