You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a SQL Server dba, I'd like to see the option to tweak how the T-SQL code is formatted. Things like:
Tabs instead of spaces
Ability to choose where line breaks occur
Brackets around table names, like [dbo].[table_name]
Currently, this is the output:
SELECT
field1,
field2,
field3
FROM
my_table
...
But I might want to format it like this, depending on the situation:
SELECT [field1], [field2], [field3]
FROM [my_table]
There's not one single way that I would format code; it depends on how long the script is, so sometimes I would want the columns in a single string (one row) whereas other times, if I have like 100 columns, then I would want them showing in a vertical list with one table column per row.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
As a SQL Server dba, I'd like to see the option to tweak how the T-SQL code is formatted. Things like:
Currently, this is the output:
But I might want to format it like this, depending on the situation:
There's not one single way that I would format code; it depends on how long the script is, so sometimes I would want the columns in a single string (one row) whereas other times, if I have like 100 columns, then I would want them showing in a vertical list with one table column per row.
Beta Was this translation helpful? Give feedback.
All reactions