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 courtyard passage returns to a second entrance of the same building beside a separate key.

SQL SERVER – Loopback Linked Servers and OPENQUERY with Current Drivers

June 8, 2017
Pinal Dave
SQL Tips and Tricks
Linked Server, SQL Scripts, SQL Server

A LoopBack Linked Server connects back to the same SQL Server instance. I review its provider, identity and transaction restrictions first.

Read More
Two separate folio covers are held beneath one shared press restraint.

SQL SERVER – How to Update Two Tables in One Statement?

June 6, 2017
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Transactions

One Statement normally updates one target table in SQL Server. I use a transaction when two changes must succeed together.

Read More
Error dialog with error code 42000.

SQL SERVER – sp_server_diagnostics – The User Does Not Have Permission to Perform this Action. (297)

June 5, 2017
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Error Messages, SQL Scripts, SQL Server, SQL Server Cluster

An AlwaysOn resource would not come online, and the cluster log showed sp_server_diagnostics failing with error 297, no permission. Here is the fix.

Read More
Three wooden gauge blocks fall below, meet, and rise above a measuring thread

How to Round Up or Round Down Number in SQL Server? – Interview Question of the Week #125

June 4, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Datatype, SQL Function, SQL Scripts, SQL Server

How do you round up or round down a number in SQL Server? A quick answer using ROUND, CEILING and FLOOR, and how each one behaves.

Read More
SQL SERVER - AlwaysOn Join Error - Msg 1408, Level 16 - The Remote Copy of Database "SQLAUTH" is Not Recovered Far Enough to Enable Database Mirroring or to Join it to the Availability Group

SQL SERVER – AlwaysOn Join Error – Msg 1408, Level 16 – The Remote Copy of Database “SQLAUTH” is Not Recovered Far Enough to Enable Database Mirroring or to Join it to the Availability Group

June 3, 2017
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Error Messages, SQL High Availability, SQL Mirroring, SQL Server

I do provide consultancy services for deployments, including AlwaysOn availability group deployments. AlwaysOn Join Error.

Read More
Two complementary ceramic components fit together into one complete tile.

SQL SERVER – Alternate to AGENT_DATETIME Function

June 2, 2017
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Server

This Alternate to AGENT_DATETIME converts integer date and time values without calling an msdb function. I preserve leading zeros in the time.

Read More
SQL SERVER - Master Database in Single User Mode - A Serious Issue

SQL SERVER – Master Database in Single User Mode – A Serious Issue

June 1, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, System Database

A client found the master database in single user mode, yet everything worked and switching back to MULTI_USER failed with Msg 5058. Here is the story.

Read More
Previous 1 … 163 164 165 166 167 168 169 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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