2

In SSMS query editor, I see these arrows,dots and square whereever I hit TAB,SPACE and ENTER keys respectively. I have attached the image to be more clear in my question. Can anyone please suggest me a way to remove this and get back to the normal view in sql server? Sorry if this is a repeat question as I am not aware of the appropriate term to search for these special characters

Steffi Keran Rani J
  • 3,667
  • 4
  • 34
  • 56
ze-corps
  • 65
  • 1
  • 9

2 Answers2

2

While your cursor is in the edit window, open menu Edit/Advanced/View White Space - this option toggles showing white-space characters (tabs, spaces, etc.) as shown in your image.

otto-null
  • 593
  • 3
  • 15
0

Those characters don't actually exist in your code - they're indicators of whitespace. The arrows represent tabs, the dots spaces.

However, this is not a "native" SSMS configuration option. It's not an option you can enable through SSMS's menus or settings dialog. You may have it switched on via a registry setting, or perhaps you have an third-party add-in/plugin installed which is showing it. If that's the case, you'll have to check the options of that add-in.

alroc
  • 27,574
  • 6
  • 51
  • 97