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 torch beam lighting fine scratches around a brass keyhole on a front door at night, a key on the mat

Auditing Failed Logins With the Error Log and Extended Events

September 15, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL Audit, SQL Extended Events, SQL Login, SQL Server Security

Investigate failed logins with the SQL Server error log and a focused Extended Events session, then group attempts and decide what to do.

Read More
An open cottage door painted green outside, still red on the inside.

Renaming the Windows Server Under SQL Server: Fixing @@SERVERNAME

September 14, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL Server Configuration, SQL Server Installation, Windows

After renaming the Windows server, repair SQL Server’s local name with sp_dropserver and sp_addserver, then verify dependent services.

Read More
A hand holding a red striped feather above scattered feathers, the two most similar lying closest

Vector Search in SQL Server 2025 With VECTOR_DISTANCE

September 13, 2013
Pinal Dave
SQL Tips and Tricks
AI, SQL Function, SQL Search, SQL Server

Use VECTOR_DISTANCE in SQL Server 2025 to rank small example vectors, compare cosine and euclidean distance, and plan larger searches.

Read More
Administrator Command Prompt window.

SQL SERVER – Automatically Store Results of Query to File with sqlcmd

September 12, 2013
Pinal Dave
SQL Tips and Tricks
sqlcmd

Want to store results of query to file automatically without SSMS? Here is how to do it with sqlcmd and its -o option, step by step.

Read More
SQL SERVER - Simple Puzzle with UNION - Part 5

SQL SERVER – Simple Puzzle with UNION Part 5

September 11, 2013
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Union clause

In Puzzle with UNION Part 5, the final part, two almost identical queries return the same answer, yet their execution plans are very different. Why?

Read More
Sql server execution plan.

SQL SERVER – Simple Puzzle with UNION Part 4

September 10, 2013
Pinal Dave
SQL Tips and Tricks
SQL Union clause

Puzzle with UNION Part 4 is for readers who want to think: three queries using UNION, a subquery and NOT EQUAL TO return the same result. Compare their plans.

Read More
SQL SERVER - Simple Puzzle with UNION - Part 3

SQL SERVER – Simple Puzzle with UNION Part 3

September 9, 2013
Pinal Dave
SQL Tips and Tricks
SQL Union clause

Simple Puzzle with UNION Part 3 has three T-SQL scripts on the UNION clause, and only one is correct. Can you spot it without running them in Management Studio?

Read More
Previous 1 … 311 312 313 314 315 316 317 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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