Printing SQL statements, execution plans, and result sets

You can print the contents of the SQL Statements pane or query results by:

  • Pressing Ctrl+P

  • Choosing File » Print.

You can print a plan in the Plan Viewer by:

  • Clicking Print.

  • Right-clicking the plan, and choosing Print.

You can also add a header or footer and configure other formatting options in the Interactive SQL Options window.

 To add a header
  1. Open the Interactive SQL Options window.

    Choose Tools » Options.

  2. On the Editor page click the Print tab.

  3. In the Header field, specify the text that you want to appear in the header. You can also click the right arrow and choose items to include in the header.