Warning: in_array() expects parameter 2 to be array, bool given in /home/customer/www/groupby.org/public_html/wp-content/plugins/eventON/includes/calendar/class-calendar-event-structure.php on line 60
24may7:30 pm9:00 pmFinding and Fixing T-SQL Anti-Patterns with ScriptDOMMala Mahadevan
Quality code is free of things we call ‘anti-patterns’ – nolock hints, using SELECT *, queries without table aliases and so on. We may also need to enforce certains
Quality code is free of things we call ‘anti-patterns’ – nolock hints, using SELECT *, queries without table aliases and so on.
We may also need to enforce certains standards: naming conventions, ending statements with semicolons, indenting code the right way etc. Furthermore, we may need to apply specific configurations on database objects, such as to create tables on certain filegroups or use specific settings for indexes.
All of this may be easy with a small database and a small volume of code to handle, but what happens when we need to deal with a large volume of code? What if we inherit something full of these anti-patterns, and we just don’t have time to go through all of it manually and fix it? But suppose we had an automated utility that could do this for us? Even better, if we could integrate it in our Azure Devops pipelines?
ScriptDOM is a lesser-known free tool from SQL Server DacFx which has the ability to help with finding programmatic and stylistic errors (a.k.a linting) in T-SQL code.It can even fix some of these errors!
In this session we will learn about what it is, how we can harness its power to read code and tell us what it finds, and actually fix some of those anti-patterns.
Join us for this highly interactive and demo-packed session for great insights on how to improve the quality of your code. Basic knowledge of T-SQL and Powershell is recommended to get the most out of this session.
(Tuesday) 7:30 pm - 9:00 pm UTC