How to Use TRY CATCH in SQL Server

When working with Microsoft SQL Server, things don’t always go as planned. Maybe a query fails because of a constraint, a divide-by-zero error, or a...

App Insights Telemetry for D365F&O

In the past few months, many people have asked me how they can prepare for Microsoft’s upcoming license enforcement in Dynamics 365 Finance and Operations...

Transaction Handling in SQL Server

When working with Microsoft SQL Server, it’s important to understand how transactions work. Transactions are the foundation of safe and reliable database operations. They ensure...

What Are Stored Procedures Used For in SQL

In my previous tutorial, we talked about SQL Server views, how they work, how to create them, and why they’re useful for simplifying complex queries....