SQL LocalDB: Upgrade to 2022 (15.0.2000)
For me it was quite confusing to find the 2022 version of LocalDB and it is not a streamline process to upgrade your local default instance. The easiest…
Topic · 10 articles
For me it was quite confusing to find the 2022 version of LocalDB and it is not a streamline process to upgrade your local default instance. The easiest…
For me it was quite confusing to find the 2019 version of LocalDB and it is not a streamline process to upgrade your local default instance. The easiest…
Simple query can help you get basic insights on when the index statistics where updated: [code lang=”sql” light=”true”] SELECT o.name AS TableName, i.name AS IndexName, STATS_DATE(i.object_id, i.index_id) AS…
For me it was quite confusing to find the 2017 version of LocalDB and it is not a streamline process to upgrade your local default instance. The link…
On one of the projects I’m involved in, whatever we wanted to do with our Azure SQL DB (V12), we got this error: The database ‘tempdb’ has reached…
If you work with Azure SQL or Microsoft SQL Server 2016+, one of the new features there is the Query Store. It stores useful statistics on queries executed,…
Developers sometimes ask me about “database is not currently available” error when using Azure SQL and Entity Framework 6. In this article I explain why happens this error…
LogParser (download) is a command line tool from Microsoft which allows you to query any text-based log file using SQL-like syntax. The basic list of supported formats is quite…
You might find a better way, but how about: [code language=”sql” light=”true”] = REPLACE(STR(15, 5, 0), ‘ ‘, ‘0’) [/code] STR(num, length, decimals) function converts the number to…
Database Management Views and their usage in SQL performance tuning scenarios are well known. There are plenty posts with many different versions of the Most Expensive Queries query.…