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 dusty high kitchen shelf of forgotten appliances, a hand lifting a red fondue pot down into a box.

Finding Dead Code: Stored Procedures Nobody Calls

December 8, 2015
Pinal Dave
SQL Tips and Tricks
DBA, SQL Dependency, SQL DMV, SQL Stored Procedure

Investigate dead code with cached procedure statistics, dependency checks and retained snapshots, then quarantine candidates before removal.

Read More
Aligned asparagus stems entering a mechanical peeler beside crossed stems

BULK INSERT ORDER Hint: Loading Pre-Sorted Files Without a Sort

December 7, 2015
Pinal Dave
SQL Tips and Tricks
Query Hint, SQL Order By, SQL Server

The ORDER hint does not sort anything. It is a promise about your file, and SQL Server checks it. Here is what happens when you break it.

Read More
SQL SERVER - Resource Governor and Database Mapping

SQL SERVER – Resource Governor and Database Mapping

December 5, 2015
Pinal Dave
SQL Tips and Tricks
Resource Governor

At SQLPass, an attendee asked how InMemory databases use memory. I show how Resource Governor and database mapping let you bind a database to a resource pool.

Read More
SQL Server OPENJSON query results.

SQL SERVER – 2016 – Opening JSON with OPENJSON()

December 4, 2015
Pinal Dave
SQL Tips and Tricks
JSON

The next step with JSON in SQL Server 2016 is reading it. OPENJSON parses JSON text and returns properties as rows. A simple example with the default schema.

Read More
SQL SERVER - Could Not Register Service Principal Name Persists - Notes from the Field #105

SQL SERVER – Could Not Register Service Principal Name Persists – Notes from the Field #105

December 3, 2015
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Error Messages, SQL Function, SQL Server

Seeing ‘Could not register the Service Principal Name’ in your SQL Server log at startup? In Notes from the Field #105, Ryan Adams explains why and what to do.

Read More
Global Fields (Actions).

SQL SERVER – XEvents to Find Cardinality Estimation Issues

December 2, 2015
Pinal Dave
SQL Tips and Tricks
SQL Extended Events

Is there a way to find cardinality estimation issues? I use the query_optimizer_estimate_cardinality XEvent to see how each operator’s estimate is derived.

Read More
SQL Server - T-SQL Enhancement "Drop if Exists" clause

SQL Server – T-SQL Enhancement “Drop if Exists” clause

December 1, 2015
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server 2016

Tired of IF OBJECT_ID checks before every DROP? SQL Server 2016 adds a T-SQL enhancement I wanted for years, the DROP IF EXISTS clause. Here is how it works.

Read More
Previous 1 … 212 213 214 215 216 217 218 … 571 Next
  • Books
  • Testimonials
  • Privacy Policy

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