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 brass nameplate on an office door, unscrewed at one corner and hanging crooked.

SQL SERVER – Fix @@ServerName Property Value When Incorrect

August 24, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Function

A colleague’s @@ServerName returned NULL instead of the server name. Here is why the value can be wrong and how to fix the @@ServerName property.

Read More
SQL SERVER - DBCC CHECKDB errors - Msg 2520 during executions

SQL SERVER – DBCC CHECKDB errors – Msg 2520 during executions

August 21, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Running DBCC CHECKDB on ResourceDB returns Msg 2520. I explain why CHECKDB cannot run on the hidden resource database and what you can do instead.

Read More
A compass on an antique world map.

SQL SERVER – Rewriting Database History – Notes from the Field #094

August 20, 2015
Pinal Dave
SQL Tips and Tricks
Notes from the Field

Kevin Hazzard tells the story of rewriting database history, a journey that starts and ends with ORM, in Notes from the Field #094.

Read More
A turnstile in a dim marble lobby with a chain looped through its arms, one red bulb burning above it.

SQL SERVER – Login failed for user . Reason: Token-based server access validation failed

August 19, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Login, SQL Scripts, SQL Server

Login failed for user. Reason: Token-based server access validation failed. Here is how the state of error 18456 in the ERRORLOG shows the cause and fix.

Read More
SQL SERVER - How to Migrate Existing Database to Contained Databases

SQL SERVER – How to Migrate Existing Database to Contained Databases

August 18, 2015
Pinal Dave
SQL Tips and Tricks
SQL Scripts

How do you convert an existing database to contained databases? I walk through the planning and use the DMV and XEvent that flag containment breaches.

Read More
SQL SERVER - PowerShell - Knowing SQL Server Information

SQL SERVER – PowerShell – Knowing SQL Server Information

August 17, 2015
Pinal Dave
SQL Tips and Tricks
PowerShell

A PowerShell script that reads SQL Server information from my localhost using SMO and writes it to a simple HTML page you can open in any browser.

Read More
Person table with data.

SQL SERVER – How to Identify Locked Table in SQL Server?

August 15, 2015
Pinal Dave
SQL Tips and Tricks

Here is a quick script using sys.dm_tran_locks and sys.partitions to identify locked table names in SQL Server along with the lock type on each.

Read More
Previous 1 … 224 225 226 227 228 229 230 … 571 Next
  • Books
  • Testimonials
  • Privacy Policy

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