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
SQL SERVER - Column Alias and Usage in Where Clause

SQL SERVER – Column Alias and Usage in Where Clause

September 8, 2015
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server

You can ORDER BY a column alias, so why not use it in WHERE? A simple example that shows how SQL Server assigns a Column Alias and where it is in scope.

Read More
SQL SERVER – SPID is KILLED/ROLLBACK state. What to Do Next?

SQL SERVER – SPID is KILLED/ROLLBACK state. What to Do Next?

August 31, 2015
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Security

Your SPID shows KILLED/ROLLBACK and never seems to finish. Here is what that state means, why SQL Server sometimes cannot undo the work and what to do next.

Read More
SQL SERVER - Database Mirroring login attempt failed - Connection handshake failed

SQL SERVER – Database Mirroring login attempt failed – Connection handshake failed

August 25, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Mirroring, SQL Scripts, SQL Server

While building an AlwaysOn demo I hit the Database Mirroring login attempt failed error with a connection handshake failure. Here is how I fixed it.

Read More
A brush clears material from a stone bowl

Interview Question of the Week #033 – How to Invalidate Procedure Cache of SQL Server?

August 23, 2015
Pinal Dave
SQL Interview Questions and Answers
SQL Server, SQL Server DBCC, SQL Stored Procedure

Clear procedure cache at the narrowest useful scope, remove one plan handle, and compare sp_recompile with statement recompilation.

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
Node A, Node B.

SQL SERVER – Unable to Bring SQL Cluster Resource Online – Online Pending and then Failed

August 14, 2015
Pinal Dave
SQL Tips and Tricks
SQL High Availability, SQL Server, SQL Server Cluster

A SQL Cluster Resource started from services.msc but sat in Online Pending and then failed in Failover Cluster Manager. Here is how I tracked down the cause.

Read More
Truncate Log File

SQL SERVER – Understanding the Basics of Write Ahead Logging (WAL) Protocol

August 12, 2015
Pinal Dave
SQL Tips and Tricks
SQL Server, Transaction Log

Doing the basics right matters. Here is a simple, story-driven explanation of the Write Ahead Logging (WAL) protocol that keeps SQL Server transactions safe.

Read More
Previous 1 … 236 237 238 239 240 241 242 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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