I have an issue where the an OUTER APPLY is causing odd formatting. With the OUTER APPLY the query formats like this
Remove the OUTER APPLY and it looks like (which is more what we are looking for)
Essentially the OUTER APPLY is causing the columns to align with the function's name except the everything after the first condition in the WHERE clause
Anyone find a way to stop/prevent the function from messing up the alignment of fields?
Formating query with OUTER APPLY to a function causes alignment issues
Comments
1 comment
-
Good Afternoon Wayne Francis,
Thanks for reaching out to Redgate with your Formatting Style inquiry. In order for me to get an exact 1:1 of what you are experiencing, can you let me know which version of SQL Prompt you are utilizing? Additionally, could I kindly request that you provide me with your formatting style that you are testing with? You can locate your custom styles in the following directory C:\Users\<YOURUSER>\AppData\Local\Red Gate\SQL Prompt 10\Styles and attach it here.
I can then test this locally and see if I can provide you with a solution that fits your style.
Add comment
Please sign in to leave a comment.