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
SQL Server DB Size.

SQL SERVER – Simple Query to List Size of the Table with Row Counts

May 25, 2017
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL System Table

A simple query I run at customer sites to list every table with its size in MB and Row Counts, including used and unused space.

Read More
SQL Server query properties.

SQL SERVER – How to Find Row Count of Every Table in Database Efficiently?

May 24, 2017
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, SQL System Table

How do you find the row count of every table in a database without a cursor? An interview question, answered with a fast query instead of a loop.

Read More
Different selectable gear arrangements sit within one unchanged outer housing.

SQL SERVER – How to Change Database Compatibility Level?

May 22, 2017
Pinal Dave
SQL Tips and Tricks
SQL Performance, SQL Scripts, SQL Server, SQL Server Configuration, SQL Upgrade

Compatibility Level controls selected query behavior within a database. I baseline the workload before changing it.

Read More
One ribbon recorder is active, a second is stopped, and a removed spool rests nearby

How to Find Running SQL Trace? – Interview Question of the Week #123

May 21, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Extended Events, SQL Scripts, SQL Server, SQL Trace

Question: How to Find Running SQL Trace? Once we know the trace exists, how to stop and delete them?

Read More
FIX: Msg 35250 error dialog in SQL Management Studio.

SQL SERVER – FIX: Msg 35250, Level 16, State 7 – The Connection to the Primary Replica is Not Active. The Command Cannot be Processed

May 18, 2017
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Error Messages, SQL High Availability, SQL Scripts, SQL Server

Joining a database to an availability group failed with Msg 35250: the connection to the Primary Replica is not active. Here is why and how to fix it.

Read More
SQL SERVER - Why We have Audit Trace in DATA Folder? What are These Files?

SQL SERVER – Why We have Audit Trace in DATA Folder? What are These Files?

May 15, 2017
Pinal Dave
SQL Puzzle
File format, SQL Audit, SQL Scripts, SQL Server

The DATA drive filled up with thousands of audittrace .trc files. Here is why SQL Server writes audit trace files there and how to stop them.

Read More
Two wood pieces joined using a physical joinery jig

What is the Difference Between Physical and Logical Operation in SQL Server Execution Plan? – Interview Question of the Week #122

May 14, 2017
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Joins, SQL Scripts, SQL Server

Question: What is the Difference Between Physical and Logical Operation in SQL Server Execution Plan?

Read More
Previous 1 … 128 129 130 131 132 133 134 … 366 Next
  • Books
  • Testimonials
  • Privacy Policy

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