Presentation is loading. Please wait.

Presentation is loading. Please wait.

Jen McCown, SQLSaturday #223 Oklahoma | 8/24/2013.

Similar presentations


Presentation on theme: "Jen McCown, SQLSaturday #223 Oklahoma | 8/24/2013."— Presentation transcript:

1 Jen McCown, SQLSaturday #223 Oklahoma | 8/24/2013

2 * Microsoft SQL Server MVP & DBA * MidnightDBA.com Blog: MidnightDBA.com/JenMidnightDBA.com/Jen Webshow: Fridays 11pm CST * DBARoadmap.com * MidnightSQL Consulting Jen McCown | Unraveling Tangled Code SQLSaturday #223 Oklahoma | 8/24/2013

3 Jen McCown, SQLSaturday #223 Oklahoma | 8/24/2013

4 * Organize * Breakdown * Streamline Jen McCown | Unraveling Tangled Code SQLSaturday #223 Oklahoma | 8/24/2013

5 * Format * Comment Jen McCown | Unraveling Tangled Code SQLSaturday #223 Oklahoma | 8/24/2013

6 * Pseudocode * Structure and Plan of Attack * Columns and Returned Data * Table Sketch and Re- Engineering Jen McCown | Unraveling Tangled Code SQLSaturday #223 Oklahoma | 8/24/2013

7 * Pseudocode * Structure and Plan of Attack * Columns and Returned Data * Table Sketch and Re- Engineering Jen McCown | Unraveling Tangled Code SQLSaturday #223 Oklahoma | 8/24/2013

8 Jen McCown | Tangled Code| July 2011

9

10

11 * Pseudocode * Structure and Plan of Attack * Columns and Returned Data * Table Sketch and Re- Engineering Jen McCown | Unraveling Tangled Code SQLSaturday #223 Oklahoma | 8/24/2013

12 * Pseudocode * Structure and Plan of Attack * Columns and Returned Data * Table Sketch and Re- Engineering Jen McCown | Unraveling Tangled Code SQLSaturday #223 Oklahoma | 8/24/2013

13 Jen McCown | Tangled Code| July 2011

14

15 * Obvious Issues * Extra rows or columns * Unnecessary work * NonSARGable WHERE clauses * Streamline JOINs * Similar Subqueries * Other

16 * Format and comment code * Breakdown * Pseudocode * Structure and Plan of Attack * Columns Returned Data * Table Sketch and Re-Engineering * Streamline Jen McCown | Unraveling Tangled Code SQLSaturday #223 Oklahoma | 8/24/2013

17 * All session materials and recording will be available at MidnightDBA.com/JenMidnightDBA.com/Jen * Contact me: * * Twitter.com/MidnightDBA Twitter.com/MidnightDBA * Other resources: MidnightDBA.com SQLServerSamples.codeplex.com (AdventureWorks) SQLServerSamples.codeplex.com SSMSToolsPack.com Redgate.com SQLSentry.net/plan-explorer/ Jen McCown | Unraveling Tangled Code SQLSaturday #223 Oklahoma | 8/24/2013


Download ppt "Jen McCown, SQLSaturday #223 Oklahoma | 8/24/2013."

Similar presentations


Ads by Google