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
SELECT statement for object_id.

SQL SERVER – How to Build Three Part Name from Object_ID – Part 2?

August 8, 2017
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, System Object

Rin Sitah replied to my interview question with a neat alternative way to build three part name from Object_ID using sys.objects and sys.schemas.

Read More
Convert CollationID to Collation Name.

SQL SERVER – How to Convert CollationID to Collation Name?

August 7, 2017
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Scripts, SQL Server

A reader with only MDF files and no backups got a CollationID from DBCC CHECKPRIMARYFILE. Here is how to convert that CollationID to a Collation Name.

Read More
A brass object sits in a smaller case inside a selected large chest

How to Build Three Part Name from Object_ID? – Interview Question of the Week #134

August 6, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Scripts, SQL Server, System Object

If you only have an object_id, can you get the database, schema and object name? Here is a simple script that builds the Three Part Name from Object_ID.

Read More
SQL SERVER - FIX: The Log for Database Cannot be Shrunk Until All Secondaries Have Moved Past the Point Where the Log was Added

SQL SERVER – FIX: The Log for Database Cannot be Shrunk Until All Secondaries Have Moved Past the Point Where the Log was Added

August 5, 2017
Pinal Dave
SQL Tips and Tricks
AlwaysOn, Shrinking Database, SQL Error Messages, SQL Replication, SQL Server, Transaction Log

Shrinking a bloated AlwaysOn log gave me: the log cannot be shrunk until All Secondaries have moved past the point where the log was added. Here is the fix.

Read More
Add node wizard checkbox.

SQL SERVER – Caution: Adding Node in AlwaysOn Availability Group

August 4, 2017
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL High Availability, SQL Server

Three clients hit the same issue after adding node at a DR site to an AlwaysOn cluster: disks on the original servers went offline. Here is what to watch for.

Read More
A wooden staircase whose cream carpet runner is worn thin in a clear track, a red slipper below.

Auto-Created Statistics: What the _WA_Sys Names Tell You

August 3, 2017
Pinal Dave
SQL Performance
SQL Performance, SQL Server, SQL Statistics

Read auto-created statistics through sys.stats and sys.stats_columns, then use their columns as clues for better query tuning.

Read More
An unfinished woven panel remains on its loom beside a removable stop.

SQL SERVER – How to Abort Index Rebuilding After Specific Time?

August 2, 2017
Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Server

An index rebuilding limit can control lock waiting or a resumable execution interval. I decide which behavior the maintenance window needs.

Read More
Previous 1 … 160 161 162 163 164 165 166 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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