30.06.2013 Views

SQL Server Execution Plans - Red Gate Software

SQL Server Execution Plans - Red Gate Software

SQL Server Execution Plans - Red Gate Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 6: Cursor Operations<br />

the cursor can change over the life of the cursor. For example, if data in the table is<br />

modified before it has been passed through the cursor, the modified data will be picked up<br />

by the cursor. This time, the ToolTip shows some slightly different, more detailed and<br />

useful information.<br />

Figure 6.8<br />

We see a view of the direct T-<strong>SQL</strong> that defines the cursor.<br />

Cursor Catchall<br />

The next five sections of our execution plan, from Figure 6.2, all feature a generic icon<br />

known as the Cursor Catchall. In general, a catchall icon covers for operations that<br />

Microsoft determined didn't need their own special graphic.<br />

In Query 2 and Query 3, we see catchall icons for the Open Cursor operation and the<br />

Fetch Cursor operation.<br />

234

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!