Download presentation
Presentation is loading. Please wait.
1
Crash course on Better SQL Development
Vladimir Oselsky Crash course on Better SQL Development
2
About the Speaker Vladimir Oselsky (Vlady)
New Development Manager at Civica CMI @VladyOselsky (Twitter), voselsky (LinkedIn) Born and raised in Siberia (it does get cold, and sometimes hot) B.S. Software Engineering Technology (I know some .NET) Various IT Jobs since 1998. Starting in 2010 worked with SQL Server and Oracle.
3
Agenda Road to better development Understand platform
Use the right tools Learn from other people and your own mistakes It depends! T-SQL code, DBCCCP CTE, Derived Tables, Table Variables, Temp Tables Stored Procedure design, single value vs set approach Cursor – not a Curse Error Handling Execution Plans Tools SSMS SentryOne Plan Explorer LINQPad
4
Road to better development
Understanding platform What is available in SQL Server? Data types (Geography and Geometry) User-Defined Table Types CLR In-Memory programming Using right tools (what works best for you) SSMS vs Visual Studio vs LINQPad SSMS vs SQL Sentry Plan Explorer
5
T-SQL code CTE, Derived Tables, Table Variables, Temp Tables Scope
Limitations Data Size Performance Overhead Stored Procedure design, single value vs set approach Using User Defined Types for passing set of values instead of single one Cursor – not a Curse Why not use default options (Aaron Bertrand)
6
Tools SSDT https://msdn.microsoft.com/en-us/library/mt204009.aspx
LINQPad 5 SentryOne Plan Explorer #SQLHelp Use it for help from other people in industry Visual Studio Community Edition SQL Server 2016 Developer Edition
7
Demo
8
Q&A Send questions to: vlady.oselsky@gmail.com
Blog: Thank you
9
Presentation has ended. Error code #01012017
If you like to know more, feel free to questions to: NOTE: All communication sent to incorrect address will be ignored.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.