jerone
  • Posts: 1
  • Joined: 6/22/2020
SSMS adds square brackets [ ] to every statement in SQL. The brackets are required if you use keywords or special chars in the column names or identifiers.
I would like that option too when formatting code, also for consistency.


SELECT COUNT(*) AS [Row count],
	   [Column1]
FROM
	[dbo].[Table]
WHERE
	[Column1] = 'value'
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.