To enable word wrap in the Query Analyzer:

Options => Text Editor => Transact SQL => General = > Word Wrap