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 luthier's hands checking a violin's slightly leaning bridge with a small gauge on a padded workbench.

Finding Misconfigurations With One Script

September 11, 2010
Pinal Dave
SQL Tips and Tricks
Best Practices, DBA, MAXDOP, SQL Scripts, SQL Server Configuration

Finding misconfigurations With One Script checks SQL Server settings that deserve a review, with recommendations tied to workload and evidence.

Read More
SQL SERVER - Find Automatically Created Statistics - T-SQL

SQL SERVER – Find Automatically Created Statistics – T-SQL

September 10, 2010
Pinal Dave
SQL Performance
SQL Scripts, SQL Statistics

Ad-hoc queries on a production server left many useless automatically created statistics. Here is a T-SQL script to find them so you can clean them up.

Read More
Database Browser.

SQL SERVER – Find Row Count in Table – Find Largest Table in Database – Part 2

September 8, 2010
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts

An improved script to find row count in table for every table and spot the largest table in the database, now with the schema name, thanks to Ameena.

Read More
Operation Delete and Delete Operation.

SQL SERVER – Index Levels and Delete Operations – Page Level Observation

September 7, 2010
Pinal Dave
SQL Interview Questions and Answers
SQL Index, SQL Scripts

When you delete data from a table, does SQL Server reduce its size? A page level look at index levels and delete operations, corrected with Hrvoje’s help.

Read More
SQL SERVER - Index Created on View not Used Often - Limitation of the View 3

SQL SERVER – Index Created on View not Used Often – Limitation of the View 3

September 6, 2010
Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL View

An Index Created on a view does not always stop queries from reading the base table. Limitation 3 of views, shown with a simple example.

Read More
Gouache painting: three young apple trees stand in a row in a grassy orchard

FOR JSON PATH: Choose Whether NULL Properties Appear

September 5, 2010
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts

FOR JSON PATH omits NULL properties by default. Compare INCLUDE_NULL_VALUES with missing properties and empty strings in a complete output example.

Read More
A crate of blue ceramic bowls, a separate sample bowl and a clay inspection token.

Return Codes: Keep Procedure Status Separate From Data

August 30, 2010
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Stored Procedure

Return codes carry procedure status separately from application values. This private demonstration compares result sets, captured output and omitted OUTPUT. It also separates an optional no-work request from a genuine raised error.

Read More
Previous 1 … 251 252 253 254 255 256 257 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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