This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
Illustrated cover: Implicit Conversion

SQL SERVER – How to Fix CONVERT_IMPLICIT Warnings?

June 11, 2018
Pinal Dave
SQL Performance
SQL Function, SQL Scripts, SQL Server

CONVERT_IMPLICIT warnings are one of the most common performance issues I find in health checks. Here is how to find them in your queries and how to fix them.

Read More
Several similar sparrows and one different bird gather at a feeder

How to Find Cardinality or Uniqueness for any Column? – Interview Question of the Week #177

June 10, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Index, SQL Performance, SQL Scripts, SQL Server

What is Cardinality, and how do you find it for a column? This simple script shows the percentage of unique values, using an AdventureWorks table.

Read More
Gouache painting of five glasses of water at different levels with the fullest one rimmed in vermilion

Find Memory Used by Each Database in SQL Server

June 9, 2018
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Memory, SQL Scripts, SQL Server

To see the memory used by each database, count its pages in the buffer pool with sys.dm_os_buffer_descriptors. This post builds a small demo database, shows buffer and dirty page sizes before and after a checkpoint, explains the row with no name, and covers what the buffer pool numbers leave out, such as the plan cache.

Read More
SQL Server query plan.

SQL SERVER – How to Know Transaction Isolation Level for Each Session?

June 7, 2018
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Performance, SQL Scripts, SQL Server, Transaction Isolation

An outsourced app had teams using different coding standards, and performance suffered. Here is how to find the transaction isolation level of each session.

Read More
Upgrade Error Dialog.

SQL SERVER – Upgrade Error – Upgrading Subscription Settings and System Objects in Database [DBName].

May 29, 2018
Pinal Dave
SQL Tips and Tricks
SQL Command, SQL Error Messages, SQL Log, SQL Replication, SQL Scripts, SQL Server, SQL System Table

A patch failed at “Upgrading subscription settings and system objects in database” with invalid object MSreplication_subscriptions. Here is the fix.

Read More
Seed clusters grow outward into a cumulative spiral

How to Generate Fibonacci Series for the First 1000 Values? – Interview Question of the Week #174

May 20, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Scripts, SQL Server

How to generate Fibonacci series for the first 1000 values? Most answers online stop near 70 or 80 values because the numbers get too big. Here is mine.

Read More
Gouache painting of a train siding with a long loaded flatcar blocking a waiting vermilion wagon

How an Open Transaction Uses Free Log Space

May 18, 2018
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, Transaction Log

An open transaction holds free log space hostage. This post runs one transaction in a SIMPLE recovery database and reads the log after the load and after the commit. It explains why the log grows before COMMIT, what ACTIVE_TRANSACTION means, and why a new FULL recovery database behaves like SIMPLE until its first full backup.

Read More
Previous 1 … 98 99 100 101 102 103 104 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com