How to word wrap in SQL Server Management Studio
72,736
Solution 1
Just enable it through the options.
- Tools
- Options
- Text Editor
- All Languages
- Settings - Check Word Wrap
Solution 2
Tools - Options - Text Editor - Transact-SQL - Word wrap
Solution 3
you can add it to your tool bar.
- tool bar(right click)
- customize
- commands tab
- choose the toolbar you want to add it to (2nd radio button)
- press 'add command'
- from categories 'edit' choose 'toggle word wrap'
- press 'ok'
Solution 4
Goto:
1.Tools
2.Options
3.Text Editor
4.All Languages
5.General
6.Word wrap
![aslisabanci](https://i.stack.imgur.com/HgD4i.jpg?s=256&g=1)
Comments
-
aslisabanci almost 2 years
How do I enable word wrap for SQL Server Management Studio 2008's query editor?
-
User5590 about 7 yearsThanks for the answer
-
nvoigt almost 5 yearsDo you know why your answer is slightly different than the 9 year old accepted answer? Is it because of a new version or different language pack?
-
Fabulous almost 5 yearsYou might need to provide a some context to your answer for it to be more meaningful and easier to understand. Considering @nvoigt had a question about why it is slightly different, you need to explain why you are doing it this way otherwise you'll add to the confusion instead of adding clarity.
-
Tahir77667 almost 5 yearsOver the years various upgrades(both major & minor) have been done on SSMS giving developers more control over the functionalities with each release. The above answer has been posted with reference to SSMS vs 18.2 wherein several bug fixes have been made in the area "SSMS options"
-
Ronen Ariely almost 3 yearsIt is very good answer, but I prefer the option of adding "toggle word wrap" button and not change the editor default.