Printing SQL statements, execution plans, and result sets in Interactive SQL

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

  • Pressing Ctrl+P

  • Clicking File » Print.

You can print a plan in the Plan Viewer by:

  • Clicking Print.

  • Right-clicking the plan, and clicking Print.

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

 Add a header
  1. Open the Interactive SQL Options window.

    Click 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.