Download presentation
Presentation is loading. Please wait.
Published byDonavan Walmer Modified over 9 years ago
1
Jen McCown, Jen@MidnightDBA.comJen@MidnightDBA.com SQLSaturday #223 Oklahoma | 8/24/2013
2
* Microsoft SQL Server MVP & DBA * MidnightDBA.com Email: Jen@MidnightDBA.comJen@MidnightDBA.com Blog: MidnightDBA.com/JenMidnightDBA.com/Jen Twitter: @MidnightDBA Webshow: DBAs@Midnight Fridays 11pm CST * DBARoadmap.com * MidnightSQL Consulting Jen McCown | Unraveling Tangled Code SQLSaturday #223 Oklahoma | 8/24/2013
3
Jen McCown, Jen@MidnightDBA.comJen@MidnightDBA.com 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
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
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: * Jen@MidnightDBA.com Jen@MidnightDBA.com * 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
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.