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 - Query to Get the List of Logins Having System Admin (sysadmin) Permission

SQL SERVER – Query to Get the List of Logins Having System Admin (sysadmin) Permission

January 11, 2017
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Security

Many scripts online miss logins when listing sysadmin members. Why the common query is wrong, plus a correct one for logins with System Admin permission.

Read More
Results from sql server database.

SQL SERVER – TDE Effects on TempDB’s Slow Performance

January 10, 2017
Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL Server Encryption, SQL Server Security, SQL TempDB

A client had slow performance out of nowhere. The cause was TDE effects on TempDB after someone tested encryption on production. Here is what I learned.

Read More
System Health Extended Events.

SQL SERVER – How to get historical deadlock Information from System Health Extended Events?

January 9, 2017
Pinal Dave
SQL Tips and Tricks
Deadlock, SQL Error Messages, SQL Extended Events, SQL Scripts, SQL Server

Let me start off by asking a simple question. How many of you have seen this error about historical deadlock information earlier?

Read More
Unmarked tokens tumble from a wooden raffle drum

How to Get Random Records from Table? – Interview Question of the Week #105

January 8, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Random, SQL Scripts, SQL Server

How do you get random records from a table? This interview question never gets old. Here is the ORDER BY method I use because its syntax is easy to remember.

Read More
Sql server management studio.

SQL SERVER – Unable to Start SQL Service – Server TCP provider failed to listen on [‘any’ 1433]. Tcp port is already in use.

January 7, 2017
Pinal Dave
SQL Tips and Tricks
Computer Network, SQL Error Messages, SQL Server

One of my SQL instances would not start: Server TCP provider failed to listen on port 1433, TCP port is already in use. How I found what held the port.

Read More
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
Previous 1 … 181 182 183 184 185 186 187 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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