How to word wrap in SQL Server Management Studio

How do I enable word wrap for SQL Server Management Studio 2008's query editor?

79828 次浏览

Tools - Options - Text Editor - Transact-SQL - Word wrap

Just enable it through the options.

  • Tools
  • Options
  • Text Editor
  • All Languages
  • Settings - Check Word Wrap

you can add it to your tool bar.

  1. tool bar(right click)
  2. customize
  3. commands tab
  4. choose the toolbar you want to add it to (2nd radio button)
  5. press 'add command'
  6. from categories 'edit' choose 'toggle word wrap'
  7. press 'ok'

Goto: 1.Tools 2.Options 3.Text Editor 4.All Languages 5.General 6.Word wrap