SQL Query Analyzer Help
Editing SQL Statements
The Editor pane in SQL Query Analyzer provides various tools to help you create and edit SQL statements, including the standard editing commands: Undo, Cut, Copy, Paste, and Select All.
You can also find and replace text, move the input cursor to a particular line, insert and remove indentation, force case, and insert and remove comment marks.
In addition, you can view Transact-SQL Reference topics from Microsoft SQL Server Books Online and copy the syntax into the Editor pane.