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
A screenshot of an SQL query window.

SQL SERVER – Using dm_db_stats_properties With InMemory OLTP Tables

January 26, 2017
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, SQL DMV, SQL Memory, SQL Server

Does sys.dm_db_stats_properties show modified rows for InMemory OLTP tables? I tested it, and memory-optimized tables are now covered. Here is what I found.

Read More
Gouache painting of a garden path with a red rake lying tines up, a loose stone and a puddle

SQL Server Performance Mistakes: Three Checks to Run Today

January 25, 2017
Pinal Dave
SQL Performance
SQL Index, SQL Performance, SQL Server, SQL Server Configuration

SQL Server performance mistakes hide in the settings, the files and the code. This post checks four server settings, shows poor file growth and its fix, and measures two code mistakes, a function on an indexed column and a data type mismatch, in logical reads.

Read More
A dress with a spare button sewn in its hem, hanging beside an entire identical spare dress never worn.

Do You Need an Availability Group? Matching RPO and RTO to a Feature

January 24, 2017
Pinal Dave
SQL Tips and Tricks
AlwaysOn, DBA, Log Shipping, SQL Backup and Restore, SQL High Availability

Match RPO and RTO to backups, log shipping, failover clusters, or availability groups, then test the full service recovery path.

Read More
A wooden ladder leaning against a whitewashed wall with one rung missing near the top.

SQL SERVER – Script level upgrade for database ‘master’ failed – There is already an object named ‘DatabaseMailUserRole’ in the database

January 23, 2017
Pinal Dave
SQL Tips and Tricks
Database Mail, SQL Error Messages, SQL Scripts, SQL Server, Starting SQL

After patching, script level Upgrade for master failed: there is already an object named ‘DatabaseMailUserRole’. Here is what caused it and how to fix it.

Read More
A freshly sealed reserve barrel stands in front of older stored copies

When was Database Last Backed Up in SQL Server? – Interview Question of the Week #107

January 22, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Backup and Restore, SQL Scripts, SQL Server

When was each database last backed up? Here is the script I share in training that lists full, differential and log backup history for your server.

Read More
Incense censer retaining earlier ash beside an older fragment and a fresh coil

Currency Rates by Effective Date: Designing the Lookup Table

January 21, 2017
Pinal Dave
SQL Tips and Tricks
SQL System Table, SQL Table Operation, Table Partitioning, Temp Table

Why did last quarter’s invoices change overnight? Probably because the rate table had no dates. Here is a lookup that remembers.

Read More
Three intact oboe reeds with one subtly different tip opening

Spotting Definition Drift With HASHBYTES on Module Code

January 20, 2017
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

Did someone change a production procedure and forget to tell you? Hash the module text, compare it with a baseline, and let SQL Server point at the culprit.

Read More
Previous 1 … 284 285 286 287 288 289 290 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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