Reasons for Queries with Multiple Execution Plans and How to Find Them SQL Server Performance Tuning often involves identifying and optimizing problematic queries. One common issue that can impact performance is when a single query generates multiple execution plans. Understanding why this happens and how to detect these queries can significantly improve your database performance. Let’s delve into the reasons behind multiple execution plans, including the impact of non-parameterized queries, and the methods to identify them. Why Do Queries Generate …

Multiple Plans and How to Find Them Read more »

User-defined assemblies (UDAs) in SQL Server provide a powerful way to extend the capabilities of your database. However, they also introduce potential issues and security risks that must be carefully managed. This help page aims to elucidate why UDAs can cause problems and pose security risks. What are User-Defined Assemblies? User-defined assemblies are custom code written in .NET languages like C# or VB.NET, which are then compiled into assemblies and loaded into SQL Server. These assemblies can perform tasks that …

Understanding the Risks of User-Defined Assemblies in SQL Server Read more »