Comments
2 comments
-
You're right, it doesn't seem to like CTEs written like that at all. If you omit the column list and write it like
WITH [DAN_Decision_v4_data] AS ( SELECT i.[ID] AS [ID] , i.[Decision_ID] AS [Decision_ID] )
then it seems to format OK - would that work for you in this case? I'll log the inconsistent behaviour with column lists as a bug. -
Thanks Andy, that works fineandy.campbell.smith wrote:You're right, it doesn't seem to like CTEs written like that at all. If you omit the column list and write it like
WITH [DAN_Decision_v4_data] AS ( SELECT i.[ID] AS [ID] , i.[Decision_ID] AS [Decision_ID] )
then it seems to format OK - would that work for you in this case? I'll log the inconsistent behaviour with column lists as a bug.
Add comment
Please sign in to leave a comment.
I've got one like so ...
and no matter the Wrap Text setting, it's always reformatted to a single very long line
This is with version 5.3.2.2 of SQL Prompt