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
Diagram of database mirroring between workgroup machines: the principal sends data to the mirror, and the connections to the witness fail because the witness endpoint gives the login_mirroring login no CONNECT permission, with the GRANT CONNECT fix

Mirroring Endpoint Permission: Fixing Connection Handshake Failed

January 6, 2017
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL Mirroring, SQL Scripts, SQL Server

A friend using certificates on workgroup machines saw Connection Handshake Failed on every mirroring login attempt. The witness ERRORLOG showed a missing mirroring endpoint permission, and one GRANT statement fixed it.

Read More
SQL SERVER - SSMS - Script Out Multiple Objects

SQL SERVER – SSMS – Script Out Multiple Objects

January 5, 2017
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Management Studio

Do you script objects one at a time in SSMS out of habit? There is a quicker way to script out multiple objects in one go, and here is how.

Read More
A padlocked iron gate across a loading bay lit by one amber wall lamp

SQL SERVER – Installation Error – [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

January 4, 2017
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL Error Messages, SQL Server

Patching SQL Server 2005 on a cluster failed with ‘Data source name not found and no default driver specified’. What caused it for a reader and the fix.

Read More
A concertina file of folded papers on a desk with one sheet folded the wrong way so the file cannot close.

SQL SERVER – Fix Error Msg 13603 working with JSON documents

January 3, 2017
Pinal Dave
SQL Tips and Tricks
JSON, SQL Error Messages, SQL Scripts, SQL Server

Msg 13603 appeared when I used a custom path with FOR JSON PATH, because the column alias had an invalid character. Here is how to fix it.

Read More
Rain boots with an attached strap beside boots without a strap

Nullable Foreign Keys: Optional Relationships and Outer Joins

January 2, 2017
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Joins, SQL Server

A nullable foreign key lets a row say no relationship yet. I show what the constraint checks, why an inner join drops those rows, and where WHERE bites.

Read More
SELECT Cast As Date.

SQL SERVER Puzzle – Conversion with Date Data Types

January 1, 2017
Pinal Dave
SQL Puzzle
SQL DateTime, SQL Scripts, SQL Server

Converting values with CAST can round in ways you don’t expect. A puzzle on Date Data Types: guess the output of each query before you run it.

Read More
A brass hose coupling of the wrong size lying on a concrete floor beside a pipe end it will not fit.

SQL SERVER – Cannot initialize the data source object of OLE DB provider “Microsoft.ACE.OLEDB.12.0” for linked server

December 31, 2016
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL Error Messages, SQL Scripts, SQL Server

Cannot initialize the data source object of OLE DB provider Microsoft.ACE.OLEDB.12.0 showed up only from the client machine. Here is why and the fix.

Read More
Previous 1 … 287 288 289 290 291 292 293 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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