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
Gouache painting of a new rowing boat with wide oarlocks and two old oars against the wall, one painted red

Deprecated Features and Breaking Changes: Plan Your Upgrade

May 18, 2012
Pinal Dave
SQL Tips and Tricks
Compatibility Level, SQL Deprecated Feature, SQL Upgrade

Breaking Changes are only one of four kinds of change that an upgrade brings. This guest post by Nakul Vachhrajani explains the four kinds, how to find deprecated feature use with Extended Events and the Deprecated Features counters, and a checklist for planning the upgrade.

Read More
A finished stone bridge beside an old wooden bridge over a river, workers placing the last span to meet the road

Upgrading With Log Shipping for a Short Cutover

May 17, 2012
Pinal Dave
SQL Tips and Tricks
DBA, Log Shipping, SQL Backup and Restore, SQL Upgrade

Upgrading with log shipping stages a newer secondary with NORECOVERY, applies logs in order, and leaves a short, rehearsed final cutover.

Read More
Five lesson rows with their results: error 2627 caught and thrown again, a procedure that returned 11,200.00 while a direct SELECT failed with 229, tea found on slips 1 and 3, the breadcrumb Library > Garden > Herbs > Basil, and a hint that cut reads from 5,740 to 318

SQL Server Lessons: Five Short Scripts You Can Run in a Minute

May 16, 2012
Pinal Dave
SQL Tips and Tricks
CTE, Query Hint, SQL Server Security, SQL XML

SQL Server lessons stick when you can run them in a minute. This page covers errors, security, XML, hierarchies and query hints. Each lesson asks one question and answers it with a short script. Every result comes from SQL Server 2025.

Read More
SQL SERVER - Get Schema Name from Object ID using OBJECT_SCHEMA_NAME

SQL SERVER – Get Schema Name from Object ID using OBJECT_SCHEMA_NAME

May 15, 2012
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL System Table

Many people join sys.tables and sys.schemas to get a schema name from an object ID. The OBJECT_SCHEMA_NAME function does it in one simple call.

Read More
An adjustable curtain rod aligns repeated mounting holes before the curtains are fitted

Filling Template Parameters in SSMS With Ctrl+Shift+M

May 12, 2012
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server Management Studio, SQL Shortcut, SQL Variable

Template parameters save you from typing one value in four places, but they only paste text. Here is what that means in practice.

Read More
A pottery rib shapes a clay vessel beside a trimmed clay strip and a newly attached clay handle

XML modify(): Inserting, Replacing and Deleting Nodes

May 11, 2012
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Table Operation, SQL Variable, SQL XML

The modify() method edits XML in place, but a path that matches nothing changes nothing and says nothing. Here is how to stay in control.

Read More
A seam ripper rests at an interrupted line of stitching with loose thread and unfinished cloth

Timed-Out Queries in Query Store: Finding Aborted Executions

May 10, 2012
Pinal Dave
SQL Tips and Tricks
Query Store, SQL DMV, SQL Error Messages, SQL Monitoring

An aborted row is a clue, not a verdict. Here is how to read Query Store execution types and match them with what the caller saw.

Read More
Previous 1 … 363 364 365 366 367 368 369 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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